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 offline
 

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

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

Default Re: reCAPTCHA for X-Cart Classic

Thanks!
__________________
Thomas / USA
XCart V4.4.5 Gold
XCart Mobile V1.4.12
XCart X-PDF
XCart X-HotProducts
AlteredCart Checkout One (One Page Checkout)
BCSE Back In Stock
CFL Holiday Message
CFL System Message
Smack Digital (WebsiteCM) Remember Anon Carts
xcartmods Testimonials
xcartmods reCAPTCHA for X-Cart Classic
Unix, PHP 7.0 (patched 5.4).
MySQL 5.6
Reply With Quote
  #33  
Old 05-08-2018, 09:33 AM
 
vulcan-works vulcan-works is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 143
 

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

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

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

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

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

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

Advanced Member
  
Join Date: Jun 2012
Posts: 49
 

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
Skipper at Nautical Style
X-Cart Gold Version 4.7.12
X-Cart reBOOT (reDUX) Template 4.7.12.5 (in development)
Reply With Quote
  #37  
Old 06-28-2018, 01:09 AM
  nauticalstyle's Avatar 
nauticalstyle nauticalstyle is offline
 

Advanced Member
  
Join Date: Jun 2012
Posts: 49
 

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
Skipper at Nautical Style
X-Cart Gold Version 4.7.12
X-Cart reBOOT (reDUX) Template 4.7.12.5 (in development)
Reply With Quote
  #38  
Old 06-28-2018, 02:02 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

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

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 offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

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

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
 

Advanced Member
  
Join Date: Jun 2012
Posts: 49
 

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
Skipper at Nautical Style
X-Cart Gold Version 4.7.12
X-Cart reBOOT (reDUX) Template 4.7.12.5 (in development)
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:27 AM.

   

 
X-Cart forums © 2001-2020