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
  #71  
Old 04-24-2019, 06:24 AM
 
voodoo1967 voodoo1967 is offline
 

X-Adept
  
Join Date: Sep 2009
Posts: 431
 

Default Re: reCAPTCHA for X-Cart Classic

Getting 5 or so bogus registrations per day. Recaptcha working on Contactus form but on Registration Form I just get the spinning wheel icon - see attached image.

Re uploaded the latest version , cleared the cache and made the necessary change ie

6) In /include/register.php

BEFORE...

// Check address book
if (isset($address_book)) {

INSERT...

// reCAPTCHA - www.xcartmods.co.uk
if ($current_area == "C" && $main != "checkout" && $config['reCAPTCHA']['reCAPTCHA_enabled'] == "Y" && $config['reCAPTCHA']['reCAPTCHA_site_key'] && $config['reCAPTCHA']['reCAPTCHA_secret_key'] && $config['reCAPTCHA']['reCAPTCHA_enabled_register'] == "Y") {
include $xcart_dir . '/modules/reCAPTCHA/recaptcha_check_register.php';
}
// /reCAPTCHA


Anything else ?
Attached Images
File Type: jpg register-error.jpg (111.2 KB, 14 views)
__________________
x-cart Gold Plus 4.7.12
CDSEO Pro latest ver
ReDux template xcartmods.co.uk - it's great
php 7.x
Reply With Quote
  #72  
Old 04-25-2019, 04:06 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: reCAPTCHA for X-Cart Classic

@ voodoo, probably worth going thru the latest install one more time. Looks like the reCAPTCHA javascript is not getting loaded, so check step 5.

The CSS is fine, else there'd be no spinner.

If you still have problems, drop me a line and I'll take a look.
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
voodoo1967 (04-26-2019)
  #73  
Old 04-26-2019, 04:04 AM
 
voodoo1967 voodoo1967 is offline
 

X-Adept
  
Join Date: Sep 2009
Posts: 431
 

Default Re: reCAPTCHA for X-Cart Classic

Re did step 5 - worked a treat - thanks Phil
Lets hope bots "bot off" and leave me alone now
__________________
x-cart Gold Plus 4.7.12
CDSEO Pro latest ver
ReDux template xcartmods.co.uk - it's great
php 7.x
Reply With Quote

The following user thanks voodoo1967 for this useful post:
PhilJ (04-26-2019)
  #74  
Old 04-26-2019, 04:16 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: reCAPTCHA for X-Cart Classic

Glad you sorted it
__________________
xcartmods.co.uk
Reply With Quote
  #75  
Old 04-29-2019, 11:36 PM
 
costanza costanza is offline
 

Senior Member
  
Join Date: Apr 2011
Location: Canada
Posts: 152
 

Default Re: reCAPTCHA for X-Cart Classic

I just installed this mod (thanks Phil !!), but I can't get it to work. I have a 4.6.1 site with Reboot and I can't get the reCAPTCHA to appear.

The reCAPTCHA does not appear and my 'contact us' page seems hung up. If it helps, my recently viewed product mini thumbnail pics are hung up and don't load on my 'contact us' page. (the reCAPTCHA doesn't show up anywhere it should, "send to friend", "ask a question about a product" or the contact us.

Any clues to help would be greatly appreciated!!

Update ** I noticed trying to login on the customer side (with correct password) was getting an error !check that you're not a robot, but there was no box visible to check. I turned off the reCAPTCHA mod for now and can log in again.
__________________
X-Cart Business 5.4.1.49
Reply With Quote
  #76  
Old 04-30-2019, 12:10 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: reCAPTCHA for X-Cart Classic

@ constanza, ensure you are modifying the correct .tpl files.
You'll be modifying the /skin/reboot/ files as opposed to /skin/common_files/
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
costanza (04-30-2019)
  #77  
Old 06-06-2019, 04:00 PM
 
costanza costanza is offline
 

Senior Member
  
Join Date: Apr 2011
Location: Canada
Posts: 152
 

Default Re: reCAPTCHA for X-Cart Classic

This module works great, but I just realized it doesn't work on X-cart mobile. What files need to be updated to get x-cart mobile to work?

Really I just need it on my Contact US page and to work with 'Ask a Question about this product'.
__________________
X-Cart Business 5.4.1.49
Reply With Quote
  #78  
Old 12-04-2019, 05:02 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: reCAPTCHA for X-Cart Classic

9th Dec 2019 - Additional simple honeypots for the customer registration and contact us forms

Some rogue register and contact us forms have been getting through, so this ought to stop them.
__________________
xcartmods.co.uk
Reply With Quote

The following 2 users thank PhilJ for this useful post:
elmirage001 (12-04-2019), peggyr (12-04-2019)
  #79  
Old 12-09-2019, 02:30 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: reCAPTCHA for X-Cart Classic

Honeypot added for the customer register form...
__________________
xcartmods.co.uk
Reply With Quote

The following 3 users thank PhilJ for this useful post:
dpcompany (12-20-2019), elmirage001 (12-09-2019), peggyr (12-09-2019)
  #80  
Old 12-19-2019, 05:59 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: reCAPTCHA for X-Cart Classic

v4.5.5 users, try applying the v4.6.x patch.

I don't have time to test for v4.5.5 users, but if it doesn't work, reply here and I'll find you a solution, ta.
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 12:44 PM.

   

 
X-Cart forums © 2001-2020