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

Support Thread for Google reCAPTCHA plugin

Views: 177,509

Results 541 to 560 of 696
6 Jan 2022, 3:05 PM
#541
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Support Thread for Google reCAPTCHA plugin

I had started a support thread for V3 since one didn’t exist and wasn’t linked to the plug-in. I asked the following:
”Quick question... should the previous version, if installed, of Google reCaptcha be uninstalled before installing this version?”
The reply I received was “probably not. V3 is not an upgrade”

if it’s not an upgrade, and previous plug-ins of reCaptcha should “probably not” be uninstalled… what’s the value of having 2 different types of reCaptcha installed?

if this isn’t a replacement or update, then, to me, it should have its own support thread.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

6 Jan 2022, 8:43 PM
#542
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

The Recaptcha V3 plugin from numinix is something new and would be different than the other reCaptcha module in the plugins section. So before installing the one from Numinix I would uninstall the other.

I would assume on your other thread because the numinix module has unfortunate naming, using the "Recaptcha V3" which when you look at the google recaptvcha page on google has two versions, V2 and V3 it was assumed you were talking about this module related to this thread and not a new version by someone else that does only V3... make sense?

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

7 Jan 2022, 10:12 PM
#543
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

this is a replacement to previous versions of reCaptcha? or an alternative to?

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

7 Jan 2022, 10:28 PM
#544
torvista avatar

torvista

Totally Zenned

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

Re: Support Thread for Google reCAPTCHA plugin

This is the support thread linked from the version in the Plugins:
https://www.zen-cart.com/downloads.php?do=file&id=1455

which I have been maintaining on GitHub.
https://github.com/torvista/Zen_Cart-Google_reCAPTCHA

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

7 Jan 2022, 11:12 PM
#545
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

torvista:

This is the support thread linked from the version in the Plugins:
https://www.zen-cart.com/downloads.php?do=file&id=1455

which I have been maintaining on GitHub.
https://github.com/torvista/Zen_Cart-Google_reCAPTCHA

my apologies, I was inquiring about Google Recaptcha v3 for download here https://www.zen-cart.com/downloads.php?do=file&id=2332

Is this is a replacement to previous versions of reCaptcha? or an alternative to? for download here? https://www.zen-cart.com/downloads.php?do=file&id=1455

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

8 Jan 2022, 7:19 PM
#546
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

v1.5.7c https://amoraromatherapy.com/index.php?main_page=contact_us

I don't know what I've done wrong - have installed step by step, applied for and inserted my keys and I'm getting ** reCaptcha error: Site Key not defined! **

Changed false statements to true on template pages in case it was that - no change, so switched them back for now as that part in the instructions isn't very clear.

Any suggestions?

TIA
Tania :-)

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

8 Jan 2022, 8:48 PM
#547
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

here's my log file:

#1 include(/home/amoraromatherapy/public_html/includes/functions/extra_functions/functions_google_recaptcha.php) called at [/home/amoraromatherapy/public_html/includes/modules/extra_functions.php:43]
#2 include(/home/amoraromatherapy/public_html/includes/modules/extra_functions.php) called at [/home/amoraromatherapy/public_html/includes/init_includes/init_general_funcs.php:51]
#3 require_once(/home/amoraromatherapy/public_html/includes/init_includes/init_general_funcs.php) called at [/home/amoraromatherapy/public_html/includes/autoload_func.php:37]
#4 require(/home/amoraromatherapy/public_html/includes/autoload_func.php) called at [/home/amoraromatherapy/public_html/includes/application_top.php:222]
#5 require(/home/amoraromatherapy/public_html/includes/application_top.php) called at [/home/amoraromatherapy/public_html/index.php:25]
--> PHP Warning: Invalid argument supplied for foreach() in /home/amoraromatherapy/public_html/includes/functions/extra_functions/functions_google_recaptcha.php on line 24.

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

8 Jan 2022, 9:19 PM
#548
torvista avatar

torvista

Totally Zenned

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

Re: Support Thread for Google reCAPTCHA plugin

Is this is a replacement to previous versions of reCaptcha? or an alternative to? for download here?
This is alternative to the Numinix version, of which I was not even aware. I couldn't tell you which may be "better".

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

8 Jan 2022, 9:20 PM
#549
torvista avatar

torvista

Totally Zenned

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

Re: Support Thread for Google reCAPTCHA plugin

@Elemi
Are you using the GitHub version?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

9 Jan 2022, 12:30 AM
#550
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

torvista:

@Elemi
Are you using the GitHub version?

yes I am :-)

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

9 Jan 2022, 11:13 PM
#551
torvista avatar

torvista

Totally Zenned

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

Re: Support Thread for Google reCAPTCHA plugin

Regarding this error

Invalid argument supplied for foreach()

It's complaining about the content of $reCaptchaKeys which is defined by what you have replaced in this line:

$reCaptchaKeys[] = ['domain' => 'www.yoursite.com', 'sitekey' => 'ENTER_YOUR_SITE_KEY_HERE', 'privatekey' => 'ENTER_YOUR_PRIVATE_KEY_HERE'];

There are three components in that line, something is wrong there.
If you revert to the original as above your should see the same error on the shop, but no debug, indicating that the error is indeed there.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

9 Jan 2022, 11:55 PM
#552
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Is this is a replacement to previous versions of reCaptcha? or an alternative to? for download here? 			 		 	 This is alternative to the Numinix version, of which I was not even aware. I couldn't tell you which may be "better". 				

I posted my original question about V3 in a new support thread titled V3 and you posted I shouldnt have started a new thread. Perhaps open the other thread since my question doesnt pertain to your version.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

10 Jan 2022, 4:23 AM
#553
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

torvista:

Regarding this error

It's complaining about the content of $reCaptchaKeys which is defined by what you have replaced in this line:

$reCaptchaKeys[] = ['domain' => 'www.yoursite.com', 'sitekey' => 'ENTER_YOUR_SITE_KEY_HERE', 'privatekey' => 'ENTER_YOUR_PRIVATE_KEY_HERE'];

> 
> There are three components in that line, something is wrong there.
> If you revert to the original as above your should see the same error on the shop, but no debug, indicating that the error is indeed there.

Is this in the functions_google_recaptcha.php?

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

10 Jan 2022, 8:13 AM
#554
torvista avatar

torvista

Totally Zenned

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

Re: Support Thread for Google reCAPTCHA plugin

Is this in the functions_google_recaptcha.php?
Yes. It is commented out in the downloaded file.: you need to add your three parameters and uncomment it.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

10 Jan 2022, 2:11 PM
#555
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

torvista:

Yes. It is commented out in the downloaded file.: you need to add your three parameters and uncomment it.

Uncomment it?

Image attached of what I have...

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

10 Jan 2022, 6:28 PM
#556
torvista avatar

torvista

Totally Zenned

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

Re: Support Thread for Google reCAPTCHA plugin

There is a line that says "ENTER YOUR SITE DETAILS HERE"...you enter your site details on the next line and remove the // at the start.

The lines you have modified should be reverted to the original code.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

15 Feb 2022, 4:32 AM
#557
jasonshanks avatar

jasonshanks

Zen Follower

Join Date:
Feb 2009
Location:
atlanta GA
Posts:
297
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

torvista:

There is a line that says "ENTER YOUR SITE DETAILS HERE"...you enter your site details on the next line and remove the // at the start.

The lines you have modified should be reverted to the original code.

First i just wanted to say thank you so much for all that you do on this site , I am using at least two things from your git hub right now on my test zencart 1.5.7c install. ( surplusremotes.com ). I just installed the stock version of this plugin ( the on on the plugins page here , 3.4 ) And it installed just fine and shows up on the contact us page and new account creation page. But now i see you made a updated version of it on your github. Should i update if its working fine ? Or are there new features or changes I need for my 1.5.7c install in your version. Thanks again steve for all you do.

Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online https://www.missingcord.com

15 Feb 2022, 10:06 AM
#558
torvista avatar

torvista

Totally Zenned

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

Re: Support Thread for Google reCAPTCHA plugin

Well, thanks for the thanks, it is rare to get that!

I would always say don't fix what isn't broken, but you should do a comparison and look at the changelog in the readme.

As your hosting php version gets incremented, there may be debug logs with older versions of the code. So my version should have those issues resolved.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

16 Feb 2022, 4:43 PM
#559
torvista avatar

torvista

Totally Zenned

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

Re: Support Thread for Google reCAPTCHA plugin

Note to admin, Plugin should have the Github link
https://github.com/torvista/Zen_Cart-Google_reCAPTCHA

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

28 Jun 2022, 10:16 AM
#560
jack017 avatar

jack017

New Zenner

Join Date:
Nov 2017
Posts:
18
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

zencart version 1.51
Add Google captcha plugin to prompt error "incorrect-captcha-sol"
I want the contact us page to use google captcha and upload the file corresponding to the plugin.
There is no frame showing Google captcha on the contact us page.
However, when you fill in the content and submit, an error will be prompted.
Attachment 20039

pre-v1.5.1/includes/modules/pages/contact-us/header_php.php
I found this file to be completely different from the default file for version 1.51. I added the following code according to the installation documentation.
In /includes/modules/pages/contact_us/header_php.php, at around line 19 you should see the line:
$zc_validate_email = zen_validate_email($email_address);
immediately after that add in the following code:
$zco_notifier->notify('NOTIFY_CONTACT_US_CAPTCHA_CHECK');
==================================================== ================
I have uploaded these files:
/includes/auto_loaders/config.google_recaptcha.php
/includes/classes/observers/class.google_recaptcha.php
/includes/functions/extra_functions /recaptchalib.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php
pre-v1.5.1/includes/modules/pages/contact-us/header_php.php
=============== =========================================
I didn't upload these files:
/includes/模板/YOUR_TEMPLATE/templates/tpl_modules_create_account.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_write_default.php
pre-v1.5.1/includes/modules/pages/product_reviews_write/
header_php.php pre-v1.5.1/includes/modules/YOUR_TEMPLATE/create_account.php