Obfuscate email addresses [solved]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jillc
Forum Members
Forum Members
Posts: 12
Joined: Sat Jan 03, 2009 7:51 am

Obfuscate email addresses [solved]

Post by jillc »

On my current (static) site  I have a list of names, phone numbers and email addresses. I have the email addresses obfuscated using javascript but it's probably too complex for the user who will be updating this site. Is there a way of listing this information in CMSMS including a mailto link without everybody getting spammed to death?
Last edited by jillc on Sun Jan 18, 2009 7:58 am, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Obfuscate email addresses

Post by Rolf »

Perhaps this could help you?
http://dev.cmsmadesimple.org/projects/email

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jillc
Forum Members
Forum Members
Posts: 12
Joined: Sat Jan 03, 2009 7:51 am

Re: Obfuscate email addresses

Post by jillc »

Yes, thanks Rolf, that will probably do it.

But now I have searched everywhere and I can't see how to set it up and use it? Where do I put the php file? Do I have to create my own tags?

Jill.
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am
Location: USA

Re: Obfuscate email addresses

Post by Ziggywigged »

Upload the file to your 'plugins' folder and look at the tags listing for help on how to use it.
Take a penny, leave a penny.
Zoorlat

Re: Obfuscate email addresses

Post by Zoorlat »

Much easier solution is to use the built in smarty function {mailto}.  ;)

Just type {mailto address="emai@domain.org" encode="javascript"} and you get what you want.

For more on the mailto-function, see http://smarty.activeventure.org/language.function.mailto.html.

//Z
jillc
Forum Members
Forum Members
Posts: 12
Joined: Sat Jan 03, 2009 7:51 am

Re: Obfuscate email addresses [solved]

Post by jillc »

Thanks. Both of those systems work but only if they are entered in the html screen and are not edited in any way in the wysiwyg editor. (I wasted hours on this). I will have to give very strict instructions to my content editor.

Jill.
Zoorlat

Re: Obfuscate email addresses [solved]

Post by Zoorlat »

Jill,

For the {mailto} you shouldn't need to leave the wysiwyg editor. If you use TinyMCE (latest version) it works to write it straight in the text.

At least it does for me  ;)

Zoorlat
Post Reply

Return to “Modules/Add-Ons”