Oh LazyWeb, I invoke thee

by Kieran Healy on December 13, 2003

Question: Is there a way to automatically close comments threads in Movable Type after a fixed period of time? I know this can be done when your MT installation runs an SQL backend, but ours doesn’t. I suppose we should have used SQL from the get-go, but what can I say?



Norman Jenson 12.14.03 at 3:23 am

It would be a fairly simple matter to convert to an SQL backend and then use the script you reference.


Kevin Wenzel 12.15.03 at 3:56 pm

After looking at the MT source, I think that it would be a reasonably easy thing to write a script using the standard MT plug-in interface that would do this for old comment threads regardless of what data storage method you use, but it would be pretty slow in the Berkeley DB file case, because you don’t have an SQL engine to do the grunt work (i.e., the script would need to load the entries that matched your older-than request, change them and write them back to the DB file). That may have something to do with why there isn’t a plug-in for that already floating around. I guess that still might be preferable to paying extra for an SQL database, if your provider charges for it.

Comments on this entry are closed.