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?
|
Re: reCAPTCHA for X-Cart Classic
Quote:
|
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. |
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) |
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.
|
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. |
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.
|
Re: reCAPTCHA for X-Cart Classic
And obviously they can't really use X-Cart without javascript anyway, so it's not needed.
|
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); } |
Re: reCAPTCHA for X-Cart Classic
Quote:
|
All times are GMT -8. The time now is 03:27 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.