View Single Post
  #10  
Old 02-20-2017, 10:01 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 3,962
 

Default Re: reCAPTCHA for X-Cart Classic

Important fix, so please update your stores...

Step 4) In include/register.php

BEFORE...

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

INSERT...

Code:
// reCAPTCHA if ($current_area == 'C' && $main != 'checkout' && $config['reCAPTCHA']['reCAPTCHA_enabled'] == "Y" && $config['reCAPTCHA']['reCAPTCHA_site_key'] && $config['reCAPTCHA']['reCAPTCHA_secret_key']) { include $xcart_dir . '/modules/reCAPTCHA/recaptcha_check_register.php'; } // /reCAPTCHA
__________________
XCARTMODS.CO.UK | reBOOT reDUX Template | reBOOT reDUX Changelog | ViViD Template (work in progress)
Reply With Quote