![]() |
Re: reCAPTCHA for X-Cart Classic
Have this installed on x-cart 4.7.11 responsive template but still getting registrations like this...
Quote:
any idea how they are getting through the recaptcha on the registration page? |
Re: reCAPTCHA for X-Cart Classic
reCAPTCHA's certainly not bulletproof, but I'd go through the install steps again in case you missed anything.
Also I'd consider adding the 'honeypots' that were added in the latest version, which seem to do the trick :) |
Re: reCAPTCHA for X-Cart Classic
great, thanks. I'll add that and see if that blocks them.
|
Re: reCAPTCHA for X-Cart Classic
Here's some feedback from a V4.4.5 user:
This awesome mod has been on my to-do list for a couple years. The spammers have been very active the last few weeks so I was finally compelled to installed reCAPTCHA on my v4.4.5 branch. I only incorporated the mods for Register, Login, PW Recovery, and Contact. I was surprised to find that my stock /include/help.php was missing the antibot_pwd_err section of code, so I copied what I needed from the XC 4.7.8 release. In case it helps another 4.4.5 user, here is what I did: In /include/help.php file patch, BEFORE ... Code:
$utype = !empty($active_modules['Simple_Mode']) && $current_area == 'A' ? 'P' : $current_area; INSERT ... Code:
$antibot_pwd_err = !empty($active_modules['Image_Verification']) && func_validate_image('on_pwd_recovery', $antibot_input_str); My site is running and the error logs are clean. Hopefully this mod reduces the spammer chatter. Many thanks for sharing the reCAPTCHA mod for X-Cart Classic! EDIT Jan-21-2020: So far not a single Contact-Us or Registration spam. Glad to see the robot spammers are being blocked. |
Re: reCAPTCHA for X-Cart Classic
In /skin/common_files/modules/reCAPTCHA/reCAPTCHA_js.tpl
This line can be commented out, as it's not really necessary and might interfere... Code:
{if $main eq "catalog" && $cat eq "0"}{else}<noscript><meta http-equiv="refresh" content="0.0;url=home.php"></noscript>{/if} |
Re: reCAPTCHA for X-Cart Classic
Hi Phil,
I realized that I had made some of the reCAPTCHA tpl updates to both common_files and reboot (though reboot 4.7.11 had all the updates in the needed modules). My confusion. However, in testing, checking out with 'anonymous' (eg, I don't require customer to register), there is no recaptcha on the screen. The URL for the module follows https://www.mystore.com/cart.php?mode=checkout#regdlg I've attached the screen capture - Is there maybe a missing tpl update for reCAPTCHA, or do I still have an install problem? Thanks Peggy |
Re: reCAPTCHA for X-Cart Classic
Hi
I've had a customer using the module hit with spam through the contact form - so I've updated the module to the latest with the honeypot. It says the honeypot is "optional" - but how do we make sure it's enabled? |
Re: reCAPTCHA for X-Cart Classic
@ Paul, you can use your browser inspector to find the hidden honeypot field HTML.
Right click on the form -> 'Inspect Element' or CTRL + SHIFT + I and then CTRL + F to search for the field. Once you've located the honeypot field, give it a value, then submit the form. |
Re: reCAPTCHA for X-Cart Classic
Today I discovered that the reCAPTCHA mod causes Altered Cart's Checkout One registered user Sign On to fail. It also fails when XCart Mobile is used. However Sign On works correctly from desktop mode using the shopping cart's side bar Authentication area.
When I applied the mod to my XC V4.4.5, the reCAPTCHA patch instructions for /include/login.php didn't match my version. Specifically this "BEFORE" code section doesn't exist: Code:
In /include/login.php By comparing V4.4.5 with V4.7.8 I found what I thought was the equivalent code; I inserted the new reCAPTCHA code before this sequence: Code:
if (!$user_data) { The only other notable discrepancy was described in my post #84. I rechecked my reCAPTCHA edits and couldn't find any unpatched code or edit mistakes. So I created a workaround for the login issue by commenting out the reCAPTCHA code block in login.php. BTW, I found that the $main var is an empty string in login.php (in the reCAPTCHA function). Not sure if this is important, but thought I should mention it. Although it's now working on the desktop view, XC Mobile fails on contact us, register, password reset, etc (but login is now OK). For simplicity I think it's best to have reCAPTCHA ignore mobile users; Still working on that. I could use some advice on how to fix the reCAPTCHA login for my 4.4.5 branch. Edit Feb-14-2020: I've disabled the reCAPTCHA feature during mobile phone access (only desktop and tablet users see reCAPTCHA). Basically I wrapped the reCAPTCHA code in the /include/*.php files with this: Code:
global $detect; // mobile detection var from XC Mobile Module - Thomas |
Re: reCAPTCHA for X-Cart Classic
@ Peggy, as you're using Fastlane Checkout, you'll need to adjust the logic for the login and / or register steps, ie. removing...
Quote:
Quote:
|
Re: reCAPTCHA for X-Cart Classic
Tip of the day!
Dunno about you, but I frequently get contact us form submissions from bots using 'google' as the company name. In v4.7.x, to stop them, edit /include/help.php After... Code:
// Check required fields Insert... Code:
if (strtolower($contact['company']) == 'google') { Code:
<Limit GET POST> |
Re: reCAPTCHA for X-Cart Classic
Are these downloads still available? For some reason, my install from 2017 just stopped working on the login popup (the captcha doesn't show). I wanted to check the newer revisions.
It looks like the 2017 version had logic for the popup that was later changed. |
Re: reCAPTCHA for X-Cart Classic
Yes, the downloads for the module are still available and current.
Just go to the very 1st post in the thread and you will be able to see the updates and latest versions. Sounds like something has changed in your templates though. |
Re: reCAPTCHA for X-Cart Classic
Quote:
Thanks, looks like xcartmods was down yesterday as the links were giving a dns error but are working now. |
Re: reCAPTCHA for X-Cart Classic
Quote:
Hi, I think Phil was changing servers which may explain downtime? Kind regards ITVV |
Re: reCAPTCHA for X-Cart Classic
Quote:
|
All times are GMT -8. The time now is 09:03 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.