Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

reCAPTCHA for X-Cart Classic

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #91  
Old 05-11-2020, 02:10 AM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,769
 

Default 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 $fillerror = !func_check_required_fields($contact, $current_area, 'contact_us');

Insert...
Code:
if (strtolower($contact['company']) == 'google') { $top_message['content'] = func_get_langvar_by_name('lbl_error'); $top_message['type'] = 'E'; func_header_location('help.php?section=contactus&mode=update&err=1'); }
Or just block IPs, or ranges of IPs outright using .htaccess
Code:
<Limit GET POST> order allow,deny deny from 5.188.210. allow from all </Limit>
If Google really is a client of yours, obviously use with caution
Reply With Quote

The following 2 users thank PhilJ for this useful post:
elmirage001 (05-12-2020), peggyr (05-12-2020)
  #92  
Old 09-23-2020, 02:12 PM
 
nfc5382 nfc5382 is online now
 

X-Adept
  
Join Date: Nov 2002
Posts: 463
 

Default 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.
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote
  #93  
Old 09-24-2020, 06:33 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,001
 

Default 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.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #94  
Old 09-24-2020, 06:55 AM
 
nfc5382 nfc5382 is online now
 

X-Adept
  
Join Date: Nov 2002
Posts: 463
 

Default Re: reCAPTCHA for X-Cart Classic

Quote:
Originally Posted by pauldodman
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.

Thanks, looks like xcartmods was down yesterday as the links were giving a dns error but are working now.
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote
  #95  
Old 09-24-2020, 07:07 AM
 
ITVV ITVV is online now
 

X-Adept
  
Join Date: Nov 2006
Location: UK
Posts: 982
 

Default Re: reCAPTCHA for X-Cart Classic

Quote:
Originally Posted by nfc5382
Thanks, looks like xcartmods was down yesterday as the links were giving a dns error but are working now.

Hi,

I think Phil was changing servers which may explain downtime?

Kind regards

ITVV
__________________
X-Cart Pro 4.6.6 Active and working great!
X-Cart Pro 4.1.7 Retired after 9 years of first class service

Server: CloudLinux (LiteSpeed)
Apache: 2.4.27
PHP: 7.0.21
MySQL: 10.0.31-MariaDB-cll-lve
Arch: x86_64
Reply With Quote

The following 2 users thank ITVV for this useful post:
elmirage001 (09-27-2020), PhilJ (09-27-2020)
  #96  
Old 09-27-2020, 12:08 PM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,769
 

Default Re: reCAPTCHA for X-Cart Classic

Quote:
I think Phil was changing servers which may explain downtime?
Yep, back on a fresh new server now, hurrah
Reply With Quote

The following 2 users thank PhilJ for this useful post:
elmirage001 (09-27-2020), ITVV (09-27-2020)
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:07 AM.

   

 
X-Cart forums © 2001-2020