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

Support Thread for Google reCAPTCHA plugin

Views: 176,309

Results 601 to 620 of 694
08 Mar 2023, 22:18
#601
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
737
Plugin Contributions:
0

Support Thread for Google reCAPTCHA plugin

Anyone have any ideas?

10 Mar 2023, 10:21
#602
giancalr avatar

giancalr

Zen Follower

Join Date:
Jul 2010
Location:
L'Aquila
Posts:
113
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

Hello,
I did not quite understand if the CAPTCHA is free or paid to get the keys Thank you

10 Mar 2023, 13:15
#603
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

giancalr:

Hello,
I did not quite understand if the CAPTCHA is free or paid to get the keys Thank you

The keys are free from Google.

27 Mar 2023, 18:05
#604
mattie_c avatar

mattie_c

New Zenner

Join Date:
Sep 2006
Posts:
39
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Hi,
I just updated using v3.6a and noticed that in the README file Step 3 references the wrong Create Account file:

Step 3
Edit the files you wish to use captcha in includes/templates/YOUR_TEMPLATE/templates
tpl_contact_us_default.php
** tpl_create_account_default.php (incorrect)**
tpl_product_reviews_write_default.php
tpl_ask_a_question_default.php

 In each case, you will be adding the line 
    <?php echo recaptcha_get_html(false); ?>


 a. tpl_contact_us_default.php  
    After the last </fieldset>
    Add <?php echo recaptcha_get_html(false); ?>


 b. **tpl_modules_create_account.php (correct)**
    After the fieldset close for ENTRY_PASSWORD_CONFIRMATION.
    Add <?php echo recaptcha_get_html(false); ?>
17 Apr 2023, 20:26
#605
georgemurcott avatar

georgemurcott

New Zenner

Join Date:
Jul 2013
Location:
Birmingham, UK
Posts:
9
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Hi just wanted to say thank you for this plugin, I have just added it to a couple of newly upgraded zc sites using 1.5.8a and php8.1 and it seems to be working nicely.

I was wondering if anyone knows if it will work on php8.2? Asking as I saw in the 1.5.8a notes that problems are expected with php8.2

Cheers,

24 Apr 2023, 18:46
#606
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: Support Thread for Google reCAPTCHA plugin

It should be fine, it works locally on my 8.2.5 server.

24 May 2023, 17:37
#607
willwec avatar

willwec

New Zenner

Join Date:
Jun 2007
Posts:
66
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

I have two carts 155e and 155f and I have the "responsive_classic" temple in use. I just installed the " Google reCAPTCHA plugin" and I used the reCAPTCHA not the reCAPTCHA3.4 because it said "if you're using pre-156, please use an earlier version of this plugin." I only have "In store walk-in" as a shipping method. I ship two ways usps and ups. Neither are showing up when checking a shipping rate ( pre account) and when I check out no shipping method either. I'm working off of the ole "what changed?" It is all I can think of. I love the reCAPTCHA as it has cut down on tons of spam emails. Can anyone think of something I missed on the install of has anyone had this problem????

24 May 2023, 18:03
#608
willwec avatar

willwec

New Zenner

Join Date:
Jun 2007
Posts:
66
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

I also have PHP v 7.4.33 on both

24 Aug 2023, 02:49
#610
craigkendall avatar

craigkendall

New Zenner

Join Date:
May 2007
Posts:
46
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

I'm getting an error in my debug logs as follows. The admin will load the but the storefront will not. At first I thought it might be due to the recent update, but after updating from 3.6 to 3.6a I am still getting the second error below, and now the first has appeared.

Any ideas? MUCH appreciated.

PHP Fatal error:  Cannot redeclare recaptcha_get_html() (previously declared in /home/REMOVED/URL-REMOVED/includes/functions/extra_functions/functions_google_recaptcha.php:46) in /home/REMOVED/URL-REMOVED/includes/functions/extra_functions/recaptchalib.php on line 23

PHP Fatal error:  Cannot declare class zcObserverGoogleRecaptchaObserver, because the name is already in use in /home/REMOVED/URL-REMOVED/includes/classes/observers/auto.google_recaptcha_observer.php on line 0
24 Aug 2023, 12:12
#612
craigkendall avatar

craigkendall

New Zenner

Join Date:
May 2007
Posts:
46
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

torvista:

Doesn't match the updated version on Github:
https://github.com/torvista/Zen_Cart-Google_reCAPTCHA/tree/main/files/includes

But your error means it is being loaded twice/you have duplicated files.

Thanks for the reply. I'll work through this.
Can you please tell me, since there are no instructions for updating, only installation, if I were upgrading from previous versions, are there any files that have to be removed from any previous version?

24 Aug 2023, 14:02
#613
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: Support Thread for Google reCAPTCHA plugin

Note your keys, remove old files.

23 Sep 2023, 19:02
#614
billc108 avatar

billc108

Zen Follower

Join Date:
Apr 2005
Location:
ATX
Posts:
108
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Just upgraded a site to ZC 1.5.8a. Most everything is working, but the ReCaptcha is off screen to the left on the contact page on iPhones and probably other mobile devices. See https://macbrud.com/index.php?main_page=contact_us. How to get it to center?

Not sure what version of the plugin I'm using (where do I look for that?). Is there a recent version which solves this problem?

23 Sep 2023, 19:44
#615
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Support Thread for Google reCAPTCHA plugin

billc108:

Just upgraded a site to ZC 1.5.8a. Most everything is working, but the ReCaptcha is off screen to the left on the contact page on iPhones and probably other mobile devices. See https://macbrud.com/index.php?main_page=contact_us. How to get it to center?

Not sure what version of the plugin I'm using (where do I look for that?). Is there a recent version which solves this problem?
The issue on your site when viewing on a phone/tablet device is that the site's template is not responsive.

23 Sep 2023, 21:46
#616
billc108 avatar

billc108

Zen Follower

Join Date:
Apr 2005
Location:
ATX
Posts:
108
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

lat9:

The issue on your site when viewing on a phone/tablet device is that the site's template is not responsive.

Ok. Makes sense. The site uses a custom template which probably came out before the responsive templates existed.

Would I have to create a separate contact page template to insert into their custom templates? I didn't see such a thing in the responsive templates, so I assume I'd copy the one at includes/template_default/templates/tpl_contact_us_default.php and tweak to match the site? Is that one responsive these days?

23 Sep 2023, 22:11
#617
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Support Thread for Google reCAPTCHA plugin

billc108:

Ok. Makes sense. The site uses a custom template which probably came out before the responsive templates existed.

Would I have to create a separate contact page template to insert into their custom templates? I didn't see such a thing in the responsive templates, so I assume I'd copy the one at includes/template_default/templates/tpl_contact_us_default.php and tweak to match the site? Is that one responsive these days?
template_default is not responsive, but responsive_classic is although it also creates its responsiveness by a bunch of changes to its /common/html_header.php file.

That said, it's not just a /templates/ sub-directory file-copy since *all *responsive templates gain their responsiveness via html_header.php additions.

24 Sep 2023, 20:50
#618
billc108 avatar

billc108

Zen Follower

Join Date:
Apr 2005
Location:
ATX
Posts:
108
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

lat9:

template_default is not responsive, but responsive_classic is although it also creates its responsiveness by a bunch of changes to its /common/html_header.php file.

That said, it's not just a /templates/ sub-directory file-copy since *all *responsive templates gain their responsiveness via html_header.php additions.

Sorry, I'm not sure I understand what exactly I need to do to solve this. I rarely work with ZenCart these days, so I'm going to need a little more specific guidance - along the lines of "explain it like I'm a 5 year old".

What html_header.php needs to be added to the contact page template? Is there a specific location where it needs to go, or just somewhere in the header?

Thanks

25 Sep 2023, 01:09
#619
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Support Thread for Google reCAPTCHA plugin

I'm afraid your only option is to go to the existing responsive_classic template or the boostrap. There are so many things wrong with that template that it needs to be jacked up and a new one run under it.

I recommend the latter. If you have access to cPanel, you can test the templates by following the instructions at https://myzencarthost.com/index.php?rp=/knowledgebase/1/Creating-a-Test-Site-with-cPanel.html

25 Sep 2023, 22:38
#620
billc108 avatar

billc108

Zen Follower

Join Date:
Apr 2005
Location:
ATX
Posts:
108
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

dbltoe:

I'm afraid your only option is to go to the existing responsive_classic template or the boostrap. There are so many things wrong with that template that it needs to be jacked up and a new one run under it.

I recommend the latter.

So you're suggesting I grab something like responsive_classic/common/tpl_main_page.php, drop it in the custom template directory renamed as tpl_contact_us_default.php, and then tweak to fit the site's layout and the contact page function?

That's not something I look forward to, but if it gets this pitifully out of date site a little less pitiful I guess I will.

I'm working on a staging site already, but thanks for the pointer on setting one up.