| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#11
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
7th Mar 2017 - Now works with 'Send to Friend' form.
__________________
xcartmods.co.uk |
|||||||
#12
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
4th Apr 2017 - CURL version if 'file_get_contents' is disabled, also included (thanks to Nathaniël)
__________________
xcartmods.co.uk |
|||||||
|
#13
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
29th Jul 2017 - Now works with login.php
__________________
xcartmods.co.uk |
|||||||
|
#14
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Thanks for the module phil. Been getting thousands of spam registration.
Questions : 1. On google admin site, there's the setting "Security Preference", which consists of 3 choices : Easiest for user, Most Secure, and one in the middle. What is the recommended setting? 2. I notice sometimes the recaptcha asked the user to click some images, multiple times, for extra verification. Won't this be too much for a real customer?
__________________
Susilo X-Cart 4.7.6 Gold Plus Template : Ultra Responsive Template Search module : Cloud Search PHP 7 |
|||||||
#15
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
I noticed that when we disabled the recaptcha module, but still left the "enabled" setting in that module checked, it still check for the recaptcha. The user is then unable to pass the recaptcha check, even though there's no recaptcha on the form.
So on the php file, I add the checking whether the module is active. For example in register.php : // reCAPTCHA if ($current_area == 'C' && $main != 'checkout' && $config['reCAPTCHA']['reCAPTCHA_enabled'] == "Y" && $config['reCAPTCHA']['reCAPTCHA_site_key'] && $config['reCAPTCHA']['reCAPTCHA_secret_key']) { include $xcart_dir . '/modules/reCAPTCHA/recaptcha_check_register.php'; } // /reCAPTCHA I change it to : // reCAPTCHA if ($current_area == 'C' && $main != 'checkout' && !empty($active_modules["reCAPTCHA"]) && $config['reCAPTCHA']['reCAPTCHA_enabled'] == "Y" && $config['reCAPTCHA']['reCAPTCHA_site_key'] && $config['reCAPTCHA']['reCAPTCHA_secret_key']) { include $xcart_dir . '/modules/reCAPTCHA/recaptcha_check_register.php'; } // /reCAPTCHA
__________________
Susilo X-Cart 4.7.6 Gold Plus Template : Ultra Responsive Template Search module : Cloud Search PHP 7 |
|||||||
#16
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
I installed the Recaptcha mod a while ago and I don't see anywhere to make it active when a customer leaves a product review. It only seems to work on Registration page, contact us, and sand to a friend by default, how did you all get it onto the advanced customer reviews page?
This is on a 4.6.0 classic store. Thanks.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#17
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
I can't remember exactly, so I may be wrong here. I dont think the recaptcha module provide verification for reviews. The Image Verification module has it though. It's what I use for reviews page.
__________________
Susilo X-Cart 4.7.6 Gold Plus Template : Ultra Responsive Template Search module : Cloud Search PHP 7 |
|||||||
#18
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Updated, reworked. Quite a few changes, see install.txt
- On template pages, the upper form JS is no longer required. JS goes in skin/common_files/customer/service_js.tpl - Can now have multiple reCAPTCHAs on same page, which is handy if you have your own custom forms - Now works with customer reviews, basic and advanced modules - DEMO - Now works with password recovery page - DEMO - Now works with newsletter subscription page - DEMO DOWNLOAD I suggest reuploading the files and going through the install again. No need to re-patch the database. Captchas are not necessary for modal popup forms... ie. login / product ask a question etc. JS is required for modals and the mod detects if JS is enabled.
__________________
xcartmods.co.uk |
|||||||
|
#19
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Very nice, thanks for updating that, was tired of reviews full of spam.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
#20
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Any way to hide this until it detects a user spamming? X number of requests within a time period. Such as 2 or 3 requests for form submission within a minute.
Matt
__________________
4.7.7. php7.1, AWS RDS database memcache, reboot theme AWS EC2 load balancer, 2 c5.large instances CDSEO Shop By Filters, AC onepage checkout and checkout tools, altercart cash rewards, bcse DPM for paypal |
|||||||
|
|||
X-Cart forums © 2001-2020
|