Zen Follower
- Join Date:
- Jul 2010
- Location:
- Australia
- Posts:
- 231
- Plugin Contributions:
- 0
Support Thread for Google reCAPTCHA plugin
I'm sure you're right, that makes perfect sense, but I could not find any instructions on how to do this.
Views: 176,342
Zen Follower
I'm sure you're right, that makes perfect sense, but I could not find any instructions on how to do this.
Totally Zenned
ttfan:
I'm sure you're right, that makes perfect sense, but I could not find any instructions on how to do this.
https://www.zen-cart.com/showthread.php?198357-Support-Thread-for-Google-reCAPTCHA-plugin&p=1310310#post1310310
Zen Follower
ttfan:
I've got it going on the PC, but the captcha is not displaying on a iphone, and when I submit on the phone, it does complain that I need to show I'm not a robot... so it seems it's just not displaying.
I'm using the responsive sheffield blue theme...perhaps there's another file to edit?
Can anyone offer a suggestion on how to fix this?
Zen Follower
I am having an issue with recaptcha displaying, but still allowing the emails to go through without clicking on it. I am getting a lot of spam in my inbox, which is being generated by the contact us form. I am trying to put an end to that.
1.5.4
redsautorehab.com
Zen Follower
vanhorn_s:
I am having an issue with recaptcha displaying, but still allowing the emails to go through without clicking on it. I am getting a lot of spam in my inbox, which is being generated by the contact us form. I am trying to put an end to that.
1.5.4
redsautorehab.com
I got it figured out. There is a problem with the files in the Tablaeu template. I replaced those, changed the should_be empty, and now this addon works just fine.
New Zenner
Using Zen Cart 1.5.1 and Google reCAPTCHA CAPTCHA 3.2. Just want reCAPTCHA for create account page. Create Account page is displaying "recaptcha v1 is shutdown". Checked our keys and they are v2 and they are what is entered in includes\functions\extra_functions\recaptchalib.php. I need to resolve this ASAP.
New Zenner
Issue resolved. Client had provided information for wrong FTP account. Got the correct credentials and uploaded to the correct location and it works.
Zen Follower
Installed on zencart 1.5.4 and the Contact Us page verification works fine but the Create Account page verification does not verify. I can enter account information and click the Next button and it creates the account, without asking for "Robot" verification. Any ideas what is wrong?? The site is here:
https://www.usconverters.com/index.php?main_page=login
Zen Follower
DML73:
Installed on zencart 1.5.4 and the Contact Us page verification works fine but the Create Account page verification does not verify. I can enter account information and click the Next button and it creates the account, without asking for "Robot" verification. Any ideas what is wrong?? The site is here:
https://www.usconverters.com/index.php?main_page=login
I found the problem, for some reason these two lines were missing in /includes/modules/create_account.php:
$antiSpam = isset($_POST['should_be_empty']) ? zen_db_prepare_input($_POST['should_be_empty']) : '';
$zco_notifier->notify('NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK');
Totally Zenned
DML73:
I found the problem, for some reason these two lines were missing in /includes/modules/create_account.php:
$antiSpam = isset($_POST['should_be_empty']) ? zen_db_prepare_input($_POST['should_be_empty']) : '';
$zco_notifier->notify('NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK');You may be inserting a problem by using the items in red. See https://www.zen-cart.com/showthread.php?223545-Contact-us-spam-messages/page2
Zen Follower
dbltoe:
You may be inserting a problem by using the items in red. See https://www.zen-cart.com/showthread.php?223545-Contact-us-spam-messages/page2
Thanks a lot for mentioning.
New Zenner
I have installed the Google reCAPTCHA plugin and all the include files including those for 1.5.5 (our version is 1.5.5.e). When the I'm not a robot button is checked and the Send button is pressed the mail is not sent and the page reassuring the user of a response does not appear.
New Zenner
SPython:
I have installed the Google reCAPTCHA plugin and all the include files including those for 1.5.5 (our version is 1.5.5.e). When the I'm not a robot button is checked and the Send button is pressed the mail is not sent and the page reassuring the user of a response does not appear.
OK - found the solution in a previous post in this thread of @lat9 dated 3 Mar 2018, 11:12 AM
The file /includes/classes/observers/class.google_recaptcha.php needs to be edited to suit the requirements of the server by uncommenting and commenting (//) the pertinent lines of code.
New Zenner
Now that I have the reCaptcha plugin working I see this message google.com/recaptcha/admin
"We detected that your site is not verifying reCAPTCHA solutions. This is required for the proper use of reCAPTCHA on your site. Please see our developer site for more information."
Any suggestions or hints?
New Zenner
SPython:
Now that I have the reCaptcha plugin working I see this message google.com/recaptcha/admin
"We detected that your site is not verifying reCAPTCHA solutions. This is required for the proper use of reCAPTCHA on your site. Please see our developer site for more information."Any suggestions or hints?
Now getting:
We detected that your site is verifying reCAPTCHA passed solutions less than 50% of the time (etc)
Totally Zenned
Maybe this post will help. https://productforums.google.com/forum/#!topic/webmasters/uxEdfx83qao;context-place=forum/webmasters
New Zenner
Hey!
I have a problem. I do not know where on my website I will save these files. I have Zen Cart version 1.5.1. Can anyone give a good explanation of exactly how to do to install reCaptcha on my form? If there are any code strings to enter and where to enter them.
SINCERELY
John Rosell
New Zenner
Hi David, I am using v155f on linux at njp business .com
I installed your capcha and cannot send from contact form? so I did a test by going to :
https://www.google.com/recaptcha/api/siteverify
and this is the error message I get:
{
"success": false,
"error-codes": [
"missing-input-response",
"missing-input-secret"
]
}
Is this something I did wrong? or do I need to modify something?
Zen Follower
So my site on the contact us page it will send an email without checking the box. I just reinstalled all the files from the zip file I downloaded. I went in and changed the template i'm using. I have it working fine for my other site, but this one keeps passing emails without checking the box.
Zen Follower
SO I re uploaded all the files for the third time. It is working on all pages except for Contact us.
<?php
/**
* Page Template
*
* Loaded automatically by index.php?main_page=contact_us.<br />
* Displays contact us page form.
*
* @package templateSystem
* @copyright Copyright 2003-2016 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: rbarbour zcadditions.com Fri Feb 26 00:03:33 2016 -0500 Modified in v1.5.5 $
*/
?>
<div class="centerColumn" id="contactUsDefault">
<?php echo zen_draw_form('contact_us', zen_href_link(FILENAME_CONTACT_US, 'action=send', 'SSL')); ?>
<?php if (CONTACT_US_STORE_NAME_ADDRESS== '1') { ?>
<address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address>
<?php } ?>
<?php
if (isset($_GET['action']) && ($_GET['action'] == 'success')) {
?>
<div class="mainContent success"><?php echo TEXT_SUCCESS; ?></div>
<div class="buttonRow"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<?php
} else {
?>
<?php if (DEFINE_CONTACT_US_STATUS >= '1' and DEFINE_CONTACT_US_STATUS <= '2') { ?>
<div id="contactUsNoticeContent" class="content">
<?php
/**
* require html_define for the contact_us page
*/
require($define_page);
?>
</div>
<?php } ?>
<?php if ($messageStack->size('contact') > 0) echo $messageStack->output('contact'); ?>
<fieldset id="contactUsForm">
<legend><?php echo HEADING_TITLE; ?></legend>
<div class="alert forward"><?php echo FORM_REQUIRED_INFORMATION; ?></div>
<br class="clearBoth" />
<?php
// show dropdown if set
if (CONTACT_US_LIST !=''){
?>
<label class="inputLabel" for="send-to"><?php echo SEND_TO_TEXT; ?></label>
<?php echo zen_draw_pull_down_menu('send_to', $send_to_array, 0, 'id="send-to"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<br class="clearBoth" />
<?php
}
?>
<label class="inputLabel" for="contactname"><?php echo ENTRY_NAME; ?></label>
<?php echo zen_draw_input_field('contactname', $name, ' size="40" id="contactname" placeholder="' . ENTRY_REQUIRED_SYMBOL . '" required'); ?>
<br class="clearBoth" />
<label class="inputLabel" for="email-address"><?php echo ENTRY_EMAIL; ?></label>
<?php echo zen_draw_input_field('email', ($email_address), ' size="40" id="email-address" autocomplete="off" placeholder="' . ENTRY_REQUIRED_SYMBOL . '" required', 'email'); ?>
<br class="clearBoth" />
<label for="enquiry"><?php echo ENTRY_ENQUIRY; ?></label>
<?php echo zen_draw_textarea_field('enquiry', '30', '7', $enquiry, 'id="enquiry" placeholder="' . ENTRY_REQUIRED_SYMBOL . '" required'); ?>
<?php echo zen_draw_input_field('should_be_empty', '', ' size="40" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?>
<br class="clearBoth" />
</fieldset>
<?php echo recaptcha_get_html(true); ?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT); ?></div>
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<?php
}
?>
</form>
</div>
Fields marked required must be completed.
Tell staff why this post should be reviewed.