VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: zamiel on August 27, 2013, 21:59:53 PM

Title: ReCaptcha-Captcha for the "Ask A Question" form
Post by: zamiel on August 27, 2013, 21:59:53 PM
I've been searching around for a while and, since I didn't find anything to help with this, I attacked it on my own.

I've documented it on my site at: http://zaxa.ca/blog/58-recaptcha-in-virtuemart-2x (http://zaxa.ca/blog/58-recaptcha-in-virtuemart-2x)

I'll be ckecking back here for the next few weeks in case anyone has questions.

Cheers!
Title: Re: ReCaptcha-Captcha for the "Ask A Question" form
Post by: illing on September 04, 2013, 22:11:31 PM
I have a problem with the step 6) line of code:
$resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], recaptcha_response_field"]);

When this line is inserted in productdetail.php as specified, the product detail page does not load but is completely white.

Is it because this line always returns an error code, so that the next if statement makes the page die?
Title: Re: ReCaptcha-Captcha for the "Ask A Question" form
Post by: Maxim Pishnyak on September 04, 2013, 22:25:54 PM
Isn't Easy Calc Check Plus captcha more user friendly and accumulate wide range of antispam services in it?