Display E-Mail Adresse of anonym visitors in Drupal-comments securely

Submitted by n8coder on Sun, 11/11/2012 - 20:12

Visitors post comments and they live sometimes their contact information like email address to get feedback. If you display e-mail spambots will catch them before other visitors. If you dont display, other visitors cannot send feedback. What is the secure anti-spam solution?

Here is what I did:

- email adresse of comment-poster will just partly shown to other anonym visitors (and with a tip to register to see full email)
- email adresse of comment-poster will shown to other registered visitors fully

To do that I need to change Druplas core comment-module and add a couple of php lines.

public_html/modules/comment/comment.tpl.php

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.