Automatic Comment Deletion

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
XenoPhage
Regular
Posts: 20
Joined: Mon Nov 20, 2006 10:52 pm

Automatic Comment Deletion

Post 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
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Well, someone would need to write it. Perhaps just a link on the page, "Delete unapproved comments older than _ days" or something?
Judebert
---
Website | Wishlist | PayPal
XenoPhage
Regular
Posts: 20
Joined: Mon Nov 20, 2006 10:52 pm

Post 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 ... :)
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
Davy
Regular
Posts: 109
Joined: Fri Oct 13, 2006 2:06 pm
Location: The Netherlands

Post 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 :) ).
Post Reply