The following patch is used by our site to hide emails in our email fields completely. Instead of a direct mail link, it links to a seperate page that contains a form (a copy of the contact module form) that is used to email with. The email address is never publicly displayed. This patch (should) support any number of email fields per node, as the form is indexed by node id and field name.

CommentFileSizeAuthor
email_0.patch6.66 KBSqueeself

Comments

mh86’s picture

Status: Needs review » Fixed

This patch is really great! I was thinking about this and your patch helped me a lot!
I made a small change to the settings and moved the link type radio form from the field into the widget settings!
comitted to cvs and 4.7

Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)
asanvicente’s picture

This looks great! Are there any plans to make it themeable to facilitate easier upgrades of the module?

Thanks!

ceo3141’s picture

Hi -- I am fairly new to Drupal. I am setting up a community website, where members can list themselves for various projects; they would leave an email address. However, I would like to hide those addresses from spammers & generally not have people's email publicly displayed. Is there a way that I can configure my site so that Users sign up with an email address, and then can make themselves available on the site to be contacted, but their actual email addresses are hidden?

Ideally I would like a link to contact a User, and then when another User clicks on it, it sends an email through the site to the recipient User.

Any thoughts on how to do this or alternatives would be greatly appreciated!