TinyPortal

General => Chit chat => Topic started by: Brian on July 20, 2007, 08:30:50 PM

Title: EMail Question
Post by: Brian on July 20, 2007, 08:30:50 PM
I don't know if this is a concern or not so I am asking.
My current site has been up for a couple years now.  I use html pages for the site with smf,tp and coppermine in their own folders.
I use encryption on all the html pages so content cannot be taken and email addresses cannot be harvested.
HERE IS MY QUESTION:
I am getting ready to wrap my site inside of smf/tp using articles and doing away with the html pages.
I tried to encrypt an article but that didn't work out so well.
Is there a way to protect my content? At least the pictures?
MORE IMPORTANTLY my email addresses?  I get 0 spam now.


Title: Re: EMail Question
Post by: IchBin on July 20, 2007, 10:01:21 PM
How are you encryting them? Best way to keep the email harvesters I think it to put your email on an image. The harvest bots can't read an image. :)
Title: Re: EMail Question
Post by: Brian on July 20, 2007, 10:42:37 PM
I think I used HTML Protector origionally.  I also have HTML Guardian.  If I encrypt a page and then paste it in an article it goes nuts, starts looping and things.

When you say use an image what do you mean exactly?  Something like one of these?  One is an image with a mailto: link the other a button.  Are you saying harvest bots can't read your email this way?  I didn't know that.


a href="mailto:never@home.com"><img src="contact.gif" alt="Contact Us" width="94" height="10" border="0" />
<body onload="MM_preloadImages('mailerscript/email_f3.gif','mailerscript/email_f2.gif','mailerscript/email_f4.gif')">a href="mailto:never@home.com" target="_top" onclick="MM_nbGroup('down','navbar1','email','mailerscript/email_f3.gif',1);" onmouseover="MM_nbGroup('over','email','mailerscript/email_f2.gif','mailerscript/email_f4.gif',1);" onmouseout="MM_nbGroup('out');"><img name="email" src="mailerscript/email.gif" width="94" height="10" border="0" alt="Contact Us" />
Title: Re: EMail Question
Post by: Ken. on July 20, 2007, 10:51:11 PM
If you are just wanting to do something with the email link I've used one similar to the one found at the DynamicDrive site below for my HTML pages and it should work if the TP articles you write use HTML as I do with most of mine... never tried it using php, but they may have one for that as well.
http://www.dynamicdrive.com/emailriddler/
Title: Re: EMail Question
Post by: Ken. on July 20, 2007, 10:59:00 PM
Looks like I spoke to soon, just tried it in an article and so far it's not working.
This will take more trials to work out.
Title: Re: EMail Question
Post by: Crip on July 20, 2007, 11:02:22 PM
Is it members email addys or just yours?
Title: Re: EMail Question
Post by: Brian on July 20, 2007, 11:07:11 PM
They would be emails for our orginization and a few people within it.  They would be on the articles that I use to replace the origional html pages that are outside of smf and tp currently and are encrypted.
Title: Re: EMail Question
Post by: Lesmond on July 20, 2007, 11:16:22 PM
You could use a Iframe within the article, and point it to outside page
Title: Re: EMail Question
Post by: Ken. on July 20, 2007, 11:17:13 PM
OK this one works, just remember it only dose the email not the entire article. The last line of code is where you set your address.
You can see the test article at this link:
http://www.mykimbrell.com/tptest2/index.php?page=6

<script type="text/javascript">

/***********************************************
* Easy Email Scrambler script- Ã,© Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var maildivider="[at]" //enter divider you use to divide your email address strings

for (i=0; i<=(document.links.length-1); i++){
if (document.links[i].href.indexOf(maildivider)!=-1)
document.links[i].href=document.links[i].href.split(maildivider)[0]+"@"+document.links[i].href.split(maildivider)[1]
}

</script>

<a href="mailto:help[at]google.com">Contact Google</a>[/code
Title: Re: EMail Question
Post by: Crip on July 20, 2007, 11:24:37 PM
Way to go Ken.
Title: Re: EMail Question
Post by: Brian on July 20, 2007, 11:38:17 PM
It doesn't work for me am I doing something wrong?  If I click on the link in your test page the compose email comes up but for an email address it has help[at]google.com
Title: Re: EMail Question
Post by: Brian on July 21, 2007, 12:04:23 AM
Ok I went and found the script at dynamic drive.  The script has to be at the bottom of the page in the body after all the links.  Then it works fine.

Thanks
Ken., IchBin™, crip≈ and Lesmond™ for all your help.

Thanks for cleaning up that code crip≈ I had a brain block on how to not make it a link, I edited it a few times.  I should just walk away from the computer for awhile.  LOL
Title: Re: EMail Question
Post by: Ken. on July 21, 2007, 10:33:06 AM
Glad we were able to help Brian.