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
 

eXpert
  
Join Date: Sep 2009
Posts: 379
 

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, 10 views)
__________________
x-cart Gold
CDSEO Pro
php 7.x
Reply With Quote
  #72  
Old 04-25-2019, 04:06 PM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

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

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.
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
 

eXpert
  
Join Date: Sep 2009
Posts: 379
 

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
CDSEO Pro
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's Avatar 
PhilJ PhilJ is offline
 

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

Default Re: reCAPTCHA for X-Cart Classic

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

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

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.
__________________
Gold 4.6.1, reBOOT, AC 1 page Checkout, CD SEO, X-Cart Mobile
Reply With Quote
  #76  
Old 04-30-2019, 12:10 AM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

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

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/
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: 139
 

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'.
__________________
Gold 4.6.1, reBOOT, AC 1 page Checkout, CD SEO, X-Cart Mobile
Reply With Quote
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 11:38 PM.

   

 
X-Cart forums © 2001-2018