Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Here's an easy way to hide email addresses

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 12-08-2005, 12:12 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Here's an easy way to hide email addresses

Here's an easy way to hide email addresses to help protect against spam collecting bots.

This can be used in your tpl files:

Code:
{mailto address=address@yourdomain.com encode="javascript" subject="Your Mail Subject"}
[/code]
Reply With Quote
  #2  
Old 12-08-2005, 07:44 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

more info here

http://smarty.php.net/manual/en/tips.obfuscating.email.php
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 06-01-2006, 07:43 AM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default

This sounds good to me! But a question, is an actual email address coded into the tpl? I checked, for instance, contactus.tpl and did not see my addy hardcoded... Am I missing something?

Thanks
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote
  #4  
Old 06-01-2006, 08:25 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

In the contactus the address is not hardcoded, it would be more for custom pages/templates, etc.
Reply With Quote
  #5  
Old 06-01-2006, 08:32 PM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default

Got you, like if you create static HTML pages ans such... Thanks for the clarification..
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote
  #6  
Old 07-02-2006, 07:41 AM
 
webtron webtron is offline
 

Advanced Member
  
Join Date: Jul 2005
Posts: 64
 

Default

In what exact tpl file in 4.1.17 do you put that code?

And where in that file do you paste it?

Thanks.
__________________
Thanks to for your comments/help.
X-cart Version 4.0.17
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 05:09 AM.

   

 
X-Cart forums © 2001-2020