| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#51
|
|||||||||
|
|||||||||
Re: reCAPTCHA for X-Cart Classic
The 4.7.8 to 4.7.9 upgrade tries to patch a number of files with Google reCaptcha Module code, including include/login.php. Do I keep Phil's reCAPTCHA for X-Cart Classic code or do I have to undo all those mods?
__________________
Tony Skipper at Nautical Style X-Cart Gold Version 4.7.12 X-Cart reBOOT (reDUX) Template 4.7.12.5 (in development) |
|||||||||
#52
|
|||||||||
|
|||||||||
Re: reCAPTCHA for X-Cart Classic
Quote:
|
|||||||||
#53
|
|||||||||
|
|||||||||
Re: reCAPTCHA for X-Cart Classic
Quote:
I had to manually patch these four files: include/login.php include/templater/plugins/function.load_defer_code.php modules/Froogle/froogle.php skin/common_files/customer/main/send_to_friend.tpl Unfortunately I just get a blank screen on my first attempt at loading the v4.7.9 site after all the patches were applied (I'm working on my PC in a localhost development environment running XAMPP). So I'm now trying to debug. Once I get v4.7.9 running properly I will be installing Phil's reBoot template.
__________________
Tony Skipper at Nautical Style X-Cart Gold Version 4.7.12 X-Cart reBOOT (reDUX) Template 4.7.12.5 (in development) |
|||||||||
#54
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Wondering if this line is necessary?
<noscript><meta http-equiv="refresh" content="0.0;url=home.php"></noscript> In the reCAPTCHA_js.tpl file. It's just that a site audit in SEMRush is saying that the meta refresh is an "issue". Is it an issue? (X-Cart 4.6.6)
__________________
Version 5.3 |
|||||||
#55
|
|||||||||
|
|||||||||
Re: reCAPTCHA for X-Cart Classic
I'm guessing it's necessary and seems innocuous. Not sure what issue they are seeing with it. Maybe they don't realize it's in a noscript tag and think you are doing an incorrect redirect.
|
|||||||||
#56
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Thanks for the reply.
SEMRush just flags it as an issue, saying that meta refresh is a bad way to do things as it slows the page down etc doing the redirect.
__________________
Version 5.3 |
|||||||
#57
|
|||||||||
|
|||||||||
Re: reCAPTCHA for X-Cart Classic
You should be able to ignore that recommendation since this is just a failsafe for when the visitor is not using JavaScript.
|
|||||||||
#58
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
And obviously they can't really use X-Cart without javascript anyway, so it's not needed.
__________________
Version 5.3 |
|||||||
#59
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Hi
I'm getting a lot of spam through the unprotected "Ask a question about this product form" - which will probably surprise you all as much as it did me. I'm attempting to extend this module to cover this form too, and have got it working up to a point. The point being that if Recaptcha isn't filled, I just get a loading page. I believe the problem will be the code I've added to popup_ask.php The last line - what should this be please? if ($bad_captcha) { $top_message['content'] = func_get_langvar_by_name('lbl_reCAPTCHA_error'); $top_message['type'] = 'E'; func_header_location('popup_ask.php?productid=' . $productid); }
__________________
Version 5.3 |
|||||||
#60
|
|||||||||
|
|||||||||
Re: reCAPTCHA for X-Cart Classic
Quote:
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|