Install the reCaptcha widget code into the <head> section of your page:
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
Display the reCaptcha widget in your HTML (just before your submit button, for example):
<div class="g-recaptcha" data-sitekey="your_site_key"></div>
Replace your_site_key with your reCaptcha site key (this is not the secret key; it's the other one.)
<input type="hidden" name="derive_fields"
value="imgverify=g-recaptcha-response" />You need to set the RECAPTCHA_PRIVATE_KEY setting in FormMail. For example:
$RECAPTCHA_PRIVATE_KEY = "6LgQQgATAAAAALWHy4k0uPSmnr7chET_T74cvzqZ";Use the REQUIRE_CAPTCHA feature to enforce reCaptcha validation:
$REQUIRE_CAPTCHA = "Confirm you are not a robot.";I've tried to follow the instructions to integrate reCaptcha v2 into the current version of Tectite's FormMail. I keep getting a 'verification' failed error. I've followed the directions very carefully but still get the error. The Widget shows up ok but, as I say, verification fails.
| I emailed suppor...@tectite.com. Strangely enough, I just noticed that the response came from sup...@recaptcha.net and that's who I actually responded to. |
--
You received this message because you are subscribed to a topic in the Google Groups "reCAPTCHA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/recaptcha/JT7Bf0v3xeg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to recaptcha+unsubscribe@googlegroups.com.
To post to this group, send email to reca...@googlegroups.com.
Visit this group at https://groups.google.com/group/recaptcha.
For more options, visit https://groups.google.com/d/optout.
I've sent an eMail to supportsta**@tectite.com and got an answer by Russell Robinson himself very quickly. He told me, that reCapthca is working for some people, for some others not - he isn't able to solve this and recommends to remove reCaptcha and use the other features implemented in FormMail. Another workaround could be to step down to the old image verification or CAPTCHA script posted at https://www.tectite.com/vbforums/showthread.php?1208-Image-verification-Version-1-05.
Not really satisfied with that solution, but unless there is no other workaround...
I've sent an eMail to supportsta**@tectite.com and got an answer by Russell Robinson himself very quickly. He told me, that reCapthca is working for some people, for some others not - he isn't able to solve this and recommends to remove reCaptcha and use the other features implemented in FormMail. Another workaround could be to step down to the old image verification or CAPTCHA script posted at https://www.tectite.com/vbforums/showthread.php?1208-Image-verification-Version-1-05.
Not really satisfied with that solution, but unless there is no other workaround...
--
You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+...@googlegroups.com.
Good news for all who are using Tectite FormMail:
Russell Robinson informed me about an update of his FormMail script to version 9.14, in which he has fixed the bug resulting from unannounced changes Google had implemented into reCaptcha.
With the new version (and with increasing the $MAXSTRING-value in the script to 2048) everything works again as it should...
I'm very glad not having to rewrite my whole scripting system for formmails...
Chapeu, Russell Robinson!
Ciao
Gerald