This, that and the other (may contain nuts)

Enabling Comment Spam Protection - IBM Lotus Notes Blog Template

Steve Castledine  10 April 2007 10:06:45
Sometimes I wake up thinking "why did I do it like that". Actually I do that often, maybe I dream about my work which is 1) Probably sad and 2) Don't tell my employer I do things which I later think suck.

Anyway one of these things is comment spam protection for the blog template is not turned on by default when you deploy it. I would say it is one of the first things that I suggest you do. I don't know why it is this way, maybe there was a reason, maybe I just forgot, or maybe I suck as a developer. I would gladly accept any of these!

Enabling Spam Protection

To enable this spam protection (which up to now has been a very strong defence which sees me getting zero comment spam - aside from the occasional manual spammer), you need to go to the configuration document tabs "Discussion/Validation". Field "Anti Spam Check" needs setting to "Yes".

Image:Enabling Comment Spam Protection - IBM Lotus Notes Blog Template

Link Throttle

There is also a field "Link Throttle" which defaults to "3". This setting is a small defence against manual spammer who post a list of links on your site. This field restricts the number of links allowed before the comment is refused. So by default people who post comments are limited to three links and then they are rejected.

Approving Comments

The ultimate spam protection is disabling the ability for comments to be automatically approved. This is achieved by setting the field "Default Status of Web Comments" to "Draft". Comments will then not be published until you go to the view "Discussion/Draft" and use the "Approve Selected" button.

Image:Enabling Comment Spam Protection - IBM Lotus Notes Blog Template