Difference between revisions of "ProtectEmail"

Line 36: Line 36:
 
: <nowiki>example@example.com</nowiki>
 
: <nowiki>example@example.com</nowiki>
  
...which would produce: example@example.com
+
...which would produce: [example@example.com]
  
 
You'll have to make sure you choose the "Don't automatically protect email addresses" option before you save, otherwise the link will automatically be replaced by an image.
 
You'll have to make sure you choose the "Don't automatically protect email addresses" option before you save, otherwise the link will automatically be replaced by an image.

Revision as of 12:38, 17 April 2009

Automatic Protect of Emails

The AboutUs system now recognizes email addresses in text when you click the "save" button on WikiPages and will automatically add the "<email>" tags.

Turning this off if for some reasons you'd prefer that the system not automatically protect email addresses, just click the "Don't automatically protect email addresses" option box (above the "Save page" button)

Protect an email from spammer "scraping" by turning it into a graphic.

This wiki has a feature which allows one to "protect" an e-mail address from spammers who "scrape" websites for e-mail addresses, and yet still allow humans to see it. Here's how it works.

Enter an e-mail address as follows:

you @ email.com

This address will now show on screen correctly, but as a graphic image instead of text:

If you want to edit the address, it will look like this:

<email>2c4a38d18b051c842e646536fab6a9ee</email>

If you want to change it, just replace the "gobbledygook" in the middle with the new e-mail address and the graphic version will be updated. Please note, the graphical representation of your updated text will not be rendered in a preview of the page but only when the page is saved and viewed.

If you put [[ProtectEmail]] in the edit summary, others can learn how you did it!

Note: When you use "show preview" the protected email address will not be displayed. When you save the changes, the image will be readable.

Adding email addresses without the protection

If you prefer adding a clickable email link without this protection you can do so in the following way:

example@example.com

...which would produce: [example@example.com]

You'll have to make sure you choose the "Don't automatically protect email addresses" option before you save, otherwise the link will automatically be replaced by an image.

Discussion

Solution to image-scraping?

reCAPTCHA has this great mailhide feature and they have a php library available. The user can't see the email address until he/she clicks on a link. A new window opens asking the user to answer a captcha. If the captcha is answered correctly, the email is shown. I was wondering if this could be used on AboutUs, even though it's a wiki.

More information

Vartan | talk 19:46, 5 October 2007 (PDT)



Retrieved from "http://aboutus.com/index.php?title=ProtectEmail&oldid=18495214"