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
  #31  
Old 11-13-2017, 01:06 PM
 
PhilJ PhilJ is online now
 

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

Default Re: reCAPTCHA for X-Cart Classic

Quote:
Has anyone installed this on the V4.4.x branch?
I've just added a v4.4.x - v4.5.x patch to the zip file. Installation steps should be more or less the same for those branches. Feel free to try it and let me know if you encounter any issues. Obviously make backups beforehand.
__________________
xcartmods.co.uk


Reply With Quote

The following user thanks PhilJ for this useful post:
Thomasb134 (11-13-2017)
  #32  
Old 11-13-2017, 01:23 PM
 
Thomasb134 Thomasb134 is offline
 

X-Adept
  
Join Date: Apr 2007
Location: USA
Posts: 714
 

Default Re: reCAPTCHA for X-Cart Classic

Thanks!
__________________
Thomas / USA
XCart V4.4.5 Gold (upgraded from V4.1.6)
Altered Cart's Checkout One Mod (one page checkout)
QT's X-PDF Add-on Mod
QT's X-HotProducts Add-on Mod
CFL Holiday Message Mod
CFL System Message Mod
BCSE Back In Stock Mod
xcartmods Testimonials
websitecm Remember Anon Carts
XCart Mobile
Unix, PHP version 5.4.42
MySQL 5.5.42
Reply With Quote
  #33  
Old 05-08-2018, 09:33 AM
 
vulcan-works vulcan-works is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 116
 

Default Re: reCAPTCHA for X-Cart Classic

Just Installed this on 4.7.9
All the forms work great the except Advance Customer Reviews
This is the error and the add review page is blank:

Quote:
[08-May-2018 13:14:09 America/New_York] PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/var/www/html/store/skin/common_files/modules/Advanced_Customer_Reviews/customer_add_review.tpl" on line 84 "<td colspan="2">&nbsp;</td>" - Unexpected "<" <--
thrown in /var/www/html/store/include/lib/smarty3/sysplugins/smarty_internal_templatecompilerbase.php on line 84

Even when i comment out the line, it still throws the error
Thanks
__________________
X-cart--4.6.5

vulcanworks.net
Reply With Quote
  #34  
Old 05-10-2018, 02:43 AM
 
PhilJ PhilJ is online now
 

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

Default Re: reCAPTCHA for X-Cart Classic

Blank pages are usually a Smarty code issue, double check you haven't got any unclosed {if} statements, or used a < instead of a { by mistake.
__________________
xcartmods.co.uk


Reply With Quote

The following user thanks PhilJ for this useful post:
qualiteam (05-10-2018)
  #35  
Old 05-10-2018, 10:39 AM
 
vulcan-works vulcan-works is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 116
 

Default Re: reCAPTCHA for X-Cart Classic

Just realized it:
Missing a "}" after $config.reCAPTCHA.reCAPTCHA_enabled_review eq "Y"
Quote:
{* reCAPTCHA - www.xcartmods.co.uk *}
{if $active_modules.reCAPTCHA && $config.reCAPTCHA.reCAPTCHA_enabled eq "Y" && $config.reCAPTCHA.reCAPTCHA_site_key && $config.reCAPTCHA.reCAPTCHA_secret_key && $config.reCAPTCHA.reCAPTCHA_enabled_review eq "Y"
<tr>
<td colspan="2">&nbsp;</td>
<td>{include file="modules/reCAPTCHA/reCAPTCHA.tpl" align="left"}</td>
</tr>
{/if}
{* /reCAPTCHA *}
__________________
X-cart--4.6.5

vulcanworks.net
Reply With Quote
  #36  
Old 06-27-2018, 04:22 AM
  nauticalstyle's Avatar 
nauticalstyle nauticalstyle is offline
 

Member
  
Join Date: Jun 2012
Posts: 20
 

Default Re: reCAPTCHA for X-Cart Classic

Quote:
Originally Posted by PhilJ
Updated, reworked. Quite a few changes, see install.txt
:
:
:

Captchas are not necessary for modal popup forms... ie. login / product ask a question etc. JS is required for modals and the mod detects if JS is enabled.



Why do you say "Captchas are not necessary for modal popup forms... ie. login / product ask a question etc."?
__________________
Tony McDougall
Skipper at nauticalstyle.com.au
X-Cart Gold Version 4.7.8
Add-ons: Ability Template, CDSEO Pro, xCMS
Reply With Quote
  #37  
Old 06-28-2018, 01:09 AM
  nauticalstyle's Avatar 
nauticalstyle nauticalstyle is offline
 

Member
  
Join Date: Jun 2012
Posts: 20
 

Default Re: reCAPTCHA for X-Cart Classic

I am trying to test the reCAPTCHA on my development site on localhost, however I'm not sure what Domain name to give Google for the key generation.
__________________
Tony McDougall
Skipper at nauticalstyle.com.au
X-Cart Gold Version 4.7.8
Add-ons: Ability Template, CDSEO Pro, xCMS
Reply With Quote
  #38  
Old 06-28-2018, 02:02 AM
  pauldodman's Avatar 
pauldodman pauldodman is online now
 

X-Man
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 2,925
 

Default Re: reCAPTCHA for X-Cart Classic

Quote:
Why do you say "Captchas are not necessary for modal popup forms... ie. login / product ask a question etc."?


Probably because the spam robots usually go for the easy to detect forms such as register, contact, etc - the ones that they can find directly.
The modal ones require an action first to get to - so therefore don't get targetted by these robots.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Need help with the latest security patch - click here

Google reCaptcha module for X-Cart now available - Click here

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote

The following user thanks pauldodman for this useful post:
nauticalstyle (06-28-2018)
  #39  
Old 06-28-2018, 02:03 AM
  pauldodman's Avatar 
pauldodman pauldodman is online now
 

X-Man
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 2,925
 

Default Re: reCAPTCHA for X-Cart Classic

Quote:
I am trying to test the reCAPTCHA on my development site on localhost, however I'm not sure what Domain name to give Google for the key generation.


There are test keys available - maybe you can just use these:
  • Site key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
  • Secret key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Need help with the latest security patch - click here

Google reCaptcha module for X-Cart now available - Click here

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #40  
Old 06-28-2018, 05:47 PM
  nauticalstyle's Avatar 
nauticalstyle nauticalstyle is offline
 

Member
  
Join Date: Jun 2012
Posts: 20
 

Default Re: reCAPTCHA for X-Cart Classic

Quote:
Originally Posted by pauldodman
There are test keys available - maybe you can just use these:
  • Site key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
  • Secret key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe




Thanks, Paul. I must be getting lazy. This topic is discussed extensively over at stackoverflow.
__________________
Tony McDougall
Skipper at nauticalstyle.com.au
X-Cart Gold Version 4.7.8
Add-ons: Ability Template, CDSEO Pro, xCMS
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 12:43 AM.

   

 
X-Cart forums © 2001-2018