X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   reCAPTCHA for X-Cart Classic (https://forum.x-cart.com/showthread.php?t=74978)

PhilJ 05-11-2020 02:10 AM

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 :D

nfc5382 09-23-2020 02:12 PM

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.

pauldodman 09-24-2020 06:33 AM

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.

nfc5382 09-24-2020 06:55 AM

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.

ITVV 09-24-2020 07:07 AM

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

PhilJ 09-27-2020 12:08 PM

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 :D


All times are GMT -8. The time now is 05:01 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.