Page 1 of 1

Automatic Comment Deletion

Posted: Mon Jan 08, 2007 6:37 pm
by XenoPhage
Greetings,

Is there any way (plugin, default setting, etc) to automatically delete comments that have not been approved after a certain period of time? I'm a programmer, and like most programmers, I'm lazy. :) I prefer to make the machine work so I don't have to. That said, I also get spam comments which are happily caught by Spam Protector. I can delete them by hand, but I'd much rather see them clobbered by the system.

So, does it exist, or do I need to write it?

Thanks!

--
XenoPhage
http://blog.godshell.com

Posted: Mon Jan 08, 2007 11:36 pm
by judebert
Well, someone would need to write it. Perhaps just a link on the page, "Delete unapproved comments older than _ days" or something?

Posted: Tue Jan 09, 2007 4:34 pm
by XenoPhage
judebert wrote:Well, someone would need to write it. Perhaps just a link on the page, "Delete unapproved comments older than _ days" or something?
Well then, I guess it's time to learn to write plugins for S9Y ... :)

Posted: Tue Jan 09, 2007 10:29 pm
by judebert
XenoPhage wrote:Well then, I guess it's time to learn to write plugins for S9Y ... :)
We could certainly use the help. We're a pretty small community, and with the holidays over, everybody is getting busy at their regular jobs again.

It's really pretty easy, and we'll be happy to answer any questions you might have.

Posted: Tue Jan 09, 2007 10:40 pm
by Davy
It would be very useful when this kind of link is in the source code of the Comments section, so no extra plug-ins are needed.

If the comments are in an array, I think it's quiet easy to build it (altough I don't know much about PHP :) ).