Lady Crumpet's Armoire


? What a Cute! | Main | Azar Nafisi ?

June 08, 2004

Fortifying Comments

More back-end tweaks last night. My new favorite resource is Learning Movable Type, which has been extremely useful to me of late. Elise's post concerning spam gave me quite a few suggestions for how to deter comment spam. The most noticeable effect is that if you post a comment, you have to click "preview" before you click "post." I've also implemented the CloseComments plugin which will close out older posts after a certain period of time.

Currently I am trying to figure out how to set my comments so that they won't display people's email addresses. In the meantime, it's been a little over a year since I made the transition to Movable Type, and what do you know, I have an opportunity for another quiz.

Addendum: How to Hide E-mail Addresses in Movable Type: Changed the code in several templates from <$MTCommentAuthorLink spam_protect="1"$> to <$MTCommentAuthorLink show_email="0"$>. It took me a while to figure out that this code should be changed in the various comment templates, as well as the Individual Entry Archive template. This last one is important for me, because since I'm now directing people to the individual entry page in order to read or post comments, the code takes effect and conceals the e-mail address from the main site. I've also now noted in the comment form that the e-mail address is "never displayed" to let people know as well.

1. Dan Black Belt

You are a novice. An experienced one. The road that lies ahead is no less long and winding than what it was, but your sense of direction is better than it was when you started your career as a practitioner of MT-Do.

Take the MT-Do test

Yours, &c., LC | 11:17 AM | Admin | Comments (2)


To prevent your comments from displaying e-mail-addresses, you can use the show_email="0" property:


Posted by: anon at June 9, 2004 07:05 AM

Thank you! I did find that code earlier and just implemented it. Now I'm trying to revise the text for the "Email Address" label to make it clear to people that if they do wish to leave an address, they'll know it won't be displayed.

It shouldn't be that hard, but the text I wish to add isn't visible when I do add it (in the Comment Listing Template). So I'm assuming there's something going on with the size or formatting of the container for the comment information.

Posted by: Lady Crumpet at June 9, 2004 10:54 AM