View Single Post
  #1  
Old 09-12-2007, 06:23 AM
e300 Offline
pp regular
 
Join Date: Dec 2005
Location: Adelaide, Australia
Posts: 39
addon: Lock Comments

I recently updated to V1.6 and found that by default all images were set to allow comments.

I implemented most of the anti-spam measures, but there is still some spam comments getting thru. What I found was that the older posts are generally targetted. I did not want to go in and edit over 500 old posts to simply set how comments are treated so I wrote this small admin addon.

The Addon lets you manage the comment status of ALL of your old posts.

There is 5 options

you can set all posts to the same status (either allow, moderate, disallow) or...

You can selectively set the status of comments on some of your posts older than x days. Using the defaults, you can set all posts older than 30 days to Disable and all posts older than 14 days (that are not disabled) to moderate with just a few clicks.

Now, how I have my comments configured is this:

I allow all new posts to have comments posted to them.

Using this plugin, I then set all posts older than 30 days to DISABLE comments and all posts that are between 14-30 days to moderate.

Using this plugin allows you to quickly and easily set up the comment status from time to time without having to edit every individual post. All I will need to do is every time I upload a batch of photos is to simply go to addons page and update the status of older posts.

You can download this plugin from my site at http://photoblog.shrinkpictures.com/...ments_v01a.zip

Simply download the file, unzip it and uplaod the php file to your addons directory of your blog. Like all addons it is available under the ADDONS tab in your admin panel

And while you are there, post a comment on my photos that are les than 14 days old and see it appear, post a comment on a photo that is between 14 and 30 days old and not see it appear, then finally post a comment on a photo over 30 days old and get the standard "spam post" error message.
__________________
My Pixelpost Blog
Reply With Quote