Neil Turner's Blog

Blogging about technology and randomness since 2002

Closing comments en-masse

You may remember I closed comments for most of the old entries back in November by using a line of SQL which changed a value directly in the MT database. While this is fine if you’re using an SQL database, there are a number of MT users who use BerkeleyDB, in which case that method would be totally useless to you.
Fortunately, David Raynes has a solution, albeit with a little help from Jeremy Zawodny. It adds another CGI script to your MT installation, where you can select an age (in days) of posts where you would like to keep comments open, and then it closes the rest. It can even disable trackback pings. And, crucially, it should work regardless of what database you’re using. It’s also nicer too.

Comments are closed.