Re: Support Thread for Google reCAPTCHA
Hi David, many thanks, the code worked, and it works perfectly now, However i am not sure, but the code in the recaptchalib.php file supplied has the $publickey= after the key, rather than at the beginning, as below, not sure if it made the difference.
$publickey = "TheRandomPublicKeyYouGotFromGoogleoS-B4dKonyqZjAbR76";
$privatekey = "TheRandomPrivateKey6Ld3itMSAAAAAPnf-B4dKo";
Re: Support Thread for Google reCAPTCHA
Hi - it doesn't matter which order the $publickey and $privatekey are declared in the file.
Regards
Re: Support Thread for Google reCAPTCHA
I really dislike how it looks, so I found this to center it:
#recaptcha_area {display:table;margin: auto;}
which I put in "stylesheet.css"
And instead of putting this:
<?php echo recaptcha_get_html($publickey, $resp->error, $request_type == 'SSL'); ?>
I found and put this:
<script type="text/javascript">
var RecaptchaOptions = {
theme : 'clean'
};
</script>
<?php echo recaptcha_get_html($publickey, $resp->error, $request_type == 'SSL'); ?>
Is there a better or preferred way of changing the theme and centering it?
Thanks
PS, if there is not anything needed to change this to 1.5.3, why not update the version compatible listing?
Re: Support Thread for Google reCAPTCHA
Hi stiggybaby
You look to have it well sorted out. Changing the theme colour is done exactly as you have done it (I think I mentioned it before somewhere in this thread). Centring it should be OK with just the #recaptcha_area {margin: auto;}.
I will update the version compatibility once I have tested it. I need to set up a vanilla 1.5.3 to do that, and just haven't had the time yet. Your comment has moved it up my priority list :)
Regards
David
Re: Support Thread for Google reCAPTCHA
Hi! Just installed the this plug in and was testing it, however I do get the following error: "incorrect-captcha-sol" when I try to send a message yet there I don't see a place to enter a Captcha. I am using the Stirling Grand Template with Zencart version 1.5.1
My website is https://www.myspiritualroots.com
Re: Support Thread for Google reCAPTCHA
Hi SKzDaLimit
Did you add the code to the contact us page?
Go to (or create) /includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php
add the code below (I suggest adding it below the textarea, about line 74)
Code:
<?php echo recaptcha_get_html($publickey, $resp->error, $request_type == 'SSL'); ?>
Hope this helps
Regards
Re: Support Thread for Google reCAPTCHA
Quote:
Originally Posted by
David Allen
Hi SKzDaLimit
Did you add the code to the contact us page?
Go to (or create) /includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php
add the code below (I suggest adding it below the textarea, about line 74)
Code:
<?php echo recaptcha_get_html($publickey, $resp->error, $request_type == 'SSL'); ?>
Hope this helps
Regards
Looks like it was already added to the files in the YOUR_TEMPLATE folder.
Re: Support Thread for Google reCAPTCHA
Hi SkaDaLimit
Yes it is - but as you are using the Stirling Grand Template I was thinking that maybe that had customized that file and so you would need to add it in.
If you still have trouble, post a link to the site and I'll see what I can see.
Regards
Re: Support Thread for Google reCAPTCHA
Quote:
Originally Posted by
David Allen
Hi SkaDaLimit
Yes it is - but as you are using the Stirling Grand Template I was thinking that maybe that had customized that file and so you would need to add it in.
If you still have trouble, post a link to the site and I'll see what I can see.
Regards
BINGO! Added the files to my existing template folder in Sterling Grand and it worked perfectly! Many thanks!
Re: Support Thread for Google reCAPTCHA
Excellent news SkzDaLimit
Regards