<< First Hate-Mail 2004 | Main | Alternative to Google Adsense >>

Hiding Comment E-mails From Harvesters

Thursday, May 27, 2004
» Filed Under: Blogging

For the last recent months, I've been replacing the e-mail addresses of all who posted a comment without submitting a URL, with a forwarding address to protect their information from spam harvesters...

Well, it looks like I didn't even have to go through all that trouble since movabletype has a feature that disables the e-mail link for comments submitted without a URL. Duhhhh!

  • Look in your MT "comment listing" and "individual archive" templates and find <MTComments>.

  • Look in that section and you'll see:
    <$MTCommentAuthorLink$>

  • Change that to:
    <$MTCommentAuthorLink show_email="0"$>

  • Save and rebuild.

That's it. If someone posts a comment without a URL, instead of their name linked to their e-mail address, it won't be linked at all. (Of course, you'll be able to see their e-mail address from the admin area).

#1.
#2.
#3.
#4.


He said - She said...

Carmen,
I must have a different version of Moveable Type, as mine has

Might be useful to your readers,

Andy

Posted by: Andrew Peacock on May 28, 2004 01:46 AM

Ooops. That didn't come out well - should be

>$MTCommentAuthorLink spam_protect="1"$<

Posted by: Andrew Peacock on May 28, 2004 01:49 AM

:-)
It's going to be one of those days.

3rd time lucky

<$MTCommentAuthorLink spam_protect="1"$>

Posted by: Andrew Peacock on May 28, 2004 01:50 AM

Hi Andrew,

You get an A+ for persistence :-)

You can use either... depends on your preference.

spam_protect="1" will modify the e-mail address to prevent spambots from eating them up.

For example, if the addy is "foo@bar.com", it will be modified to "foo&#64;bar&#46;com".

To never display the e-mail addresses at all, you can use spam_protect="0".

Posted by: Carmen on May 28, 2004 12:08 PM

Subscribe to Follow-Up Comments:
Enter your e-mail to subscribe to comments on this post (posting a comment is not required.) You will be sent right back to this page after you've subscribed.


Privacy: Your address will never be sold or shared, and used only to send notices of follow-up comments to this post.


Trackbacks

TrackBack URL for this entry:
http://www.marketingchick.com/blog/mt-tb.cgi/50

Listed below are links to weblogs that reference 'Hiding Comment E-mails From Harvesters' from A Marketing Chick Diary.