Random stuff about serendipity. Discussion, Questions, Paraphernalia.
XenoPhage
Regular
Posts: 20 Joined: Mon Nov 20, 2006 10:52 pm
Post
by XenoPhage » Mon Jan 08, 2007 6:37 pm
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 » Mon Jan 08, 2007 11:36 pm
Well, someone would need to write it. Perhaps just a link on the page, "Delete unapproved comments older than _ days" or something?
XenoPhage
Regular
Posts: 20 Joined: Mon Nov 20, 2006 10:52 pm
Post
by XenoPhage » Tue Jan 09, 2007 4:34 pm
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 » Tue Jan 09, 2007 10:29 pm
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.
Davy
Regular
Posts: 109 Joined: Fri Oct 13, 2006 2:06 pm
Location: The Netherlands
Post
by Davy » Tue Jan 09, 2007 10:40 pm
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
).