Zen Cart Logo
Forums / All Other Contributions/Addons / Support Thread for Google reCAPTCHA plugin

Support Thread for Google reCAPTCHA plugin

Views: 176,310

Results 141 to 160 of 694
22 May 2014, 23:59
#141
axispara avatar

axispara

New Zenner

Join Date:
Sep 2013
Location:
axispara
Posts:
4
Plugin Contributions:
0

Support Thread for Google reCAPTCHA plugin

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";

23 May 2014, 07:59
#142
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

Hi - it doesn't matter which order the $publickey and $privatekey are declared in the file.
Regards

27 Jul 2014, 18:46
#143
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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?

27 Jul 2014, 20:07
#144
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

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

29 Jul 2014, 13:43
#145
skzdalimit avatar

skzdalimit

New Zenner

Join Date:
Jul 2014
Location:
Atlanta, Georgia
Posts:
3
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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

29 Jul 2014, 14:12
#146
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

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)

<?php echo recaptcha_get_html($publickey, $resp->error, $request_type == 'SSL'); ?>

Hope this helps

Regards

29 Jul 2014, 14:43
#147
skzdalimit avatar

skzdalimit

New Zenner

Join Date:
Jul 2014
Location:
Atlanta, Georgia
Posts:
3
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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)

<?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.
29 Jul 2014, 14:53
#148
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

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

29 Jul 2014, 14:57
#149
skzdalimit avatar

skzdalimit

New Zenner

Join Date:
Jul 2014
Location:
Atlanta, Georgia
Posts:
3
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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!

29 Jul 2014, 15:16
#150
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

Excellent news SkzDaLimit

Regards

30 Jul 2014, 10:37
#151
togfather avatar

togfather

New Zenner

Join Date:
Dec 2009
Location:
Scotland
Posts:
76
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Hello David,

Many thanks for this plug in. I have it working and changed the theme to white, but I want to move it to the right a bit so that it lines up with the textarea on the contact us page.

I tried changing the code in tpl_contact_us_default.php to

<?php  echo '  ' , recaptcha_get_html($publickey, $resp->error,$request_type == 'SSL'); ?>

but it does not work.

Best wishes

Tog

30 Jul 2014, 11:01
#152
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

Hi Tog
You could try moving it with css - something like

#recaptcha_area {margin-left:20px} 
```or to centre it ```
#recaptcha_area{margin:auto} 
30 Jul 2014, 11:27
#153
togfather avatar

togfather

New Zenner

Join Date:
Dec 2009
Location:
Scotland
Posts:
76
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Perfect David,

10px is the magic number :-)

Thank you for your prompt and excellent assistance.

I am sending you a PM about your shops

Tog

03 Aug 2014, 16:50
#154
linniedarling avatar

linniedarling

New Zenner

Join Date:
Feb 2014
Location:
Austin, TX USA
Posts:
52
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Hi,

I've got ZC 1.52 and the re-captcha module on my question and contact pages. In both cases the bottom area of the graphics is strangely distorted. My web developer has been staring at this for awhile and cannot make it behave.

Any hints?

Attachment 14354

03 Aug 2014, 18:54
#155
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Can you share your url? Looks like a css issue.

03 Aug 2014, 22:02
#157
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

Hi linniedarling
I've had a quick look and can't see anything obvious from the css. One thing I did work out is that it is something to do with the background images used by Google. So I'm wondering if it anything to do with the image scripts you are using on the page (the Simple Image Trail script?? maybe). Also noticed that one of your scripts returns a 404 http://linniedarling.com/includes/templates/lin/jscript/chrisdomroll.js
Regards

12 Sep 2014, 21:07
#158
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Hi, I've had some big problems installing this plugin, and I'm sure it has to do with my limited programming skills. I am trying to uninstall it and am having a tough time. The program created some new file folders and I'm really reluctant to delete anything before getting some advice. Thank you. Mitch

12 Sep 2014, 21:18
#159
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

mrcastle:

Hi, I've had some big problems installing this plugin, and I'm sure it has to do with my limited programming skills. I am trying to uninstall it and am having a tough time. The program created some new file folders and I'm really reluctant to delete anything before getting some advice. Thank you. Mitch

Compare the files and folders from the plugin with your cart. If they match you can safely remove then from your cart. If you're extra cautious, just rename them first, check the cart function. Assuming no issues, then delete.

12 Sep 2014, 21:44
#160
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

mrcastle:

Hi, I've had some big problems installing this plugin, and I'm sure it has to do with my limited programming skills. I am trying to uninstall it and am having a tough time. The program created some new file folders and I'm really reluctant to delete anything before getting some advice. Thank you. Mitch
Hi Mitch - sorry you had trouble with this plugin. To uninstall it you need to delete some files, not folders (it doesn't create any new folders). The files are:
includes/auto_loaders/config.google_recaptcha.php
includes/classes/observers/class.google_recaptcha.php
includes/functions/extra_functions/recaptchalib.php

Then there are the 3 template files which are included with the plugin. These are amended versions of the vanilla Zen cart files, so just replace them with the originals. These are all in the includes/templates/YOUR_TEMPLATE/templates directory
tpl_contact_us_default.php
tpl_modules_create_account.php
tpl_product_reviews_write_default.php

Hope this helps
Regards

the