Page 1 of 2

Comments moderation

Posted: Mon Dec 20, 2010 4:37 am
by Andrew Lee
It took a little longer than I expected, but I finally implemented the comments moderation function.

Basically if you have a non-zero rank and you are logged in, you will find a "trash can" icon at the end of every comment. If you click on it, your rank will be added to the comment negativity score. Once the negativity score goes above a certain threshold, the comment will be hidden.

Current the threshold is set at 6, so it will take at least two ranked users to hide a comment (R5 + R1).

You don't have to worry about trashing a comment accidentally more than once, since the script is smart enough to know you have done it before and won't double count.

The "trash can" icon starts out looking quite transparent and gets progressively more opaque as the negativity score increases. When the negativity score reaches 5, it becomes red.

Hope this helps with getting rid of spammy or useless comments.

Re: Comments moderation

Posted: Mon Dec 20, 2010 4:56 am
by SYSTEM
Thank you.

I tested the function with a couple of recent comments of the ImgBurn entry (the ones I really want to kill, of course). The moderation function seems to be working, at least the trash can icons became more opaque. :)

Re: Comments moderation

Posted: Mon Dec 20, 2010 5:20 am
by Andrew Lee
I just helped you out there, so they are gone. :D

Re: Comments moderation

Posted: Mon Dec 20, 2010 5:38 am
by guinness
Excellent addition! No way to test until some erroneous comments are posted. :)

Re: Comments moderation

Posted: Mon Dec 20, 2010 10:41 am
by guinness
I think there might be a bug since the introduction, because I have voted for 2 applications today (which should be at 10 by now) and added 3 applications (which should be at 5) but they are showing as 0?!

Re: Comments moderation

Posted: Mon Dec 20, 2010 2:24 pm
by Andrew Lee
Just fixed it. Thanks!

Re: Comments moderation

Posted: Mon Dec 27, 2010 9:14 am
by Checker
Andrew Lee wrote:It took a little longer than I expected, but I finally implemented the comments moderation function.
Thank you very much :)

Re: Comments moderation

Posted: Mon Dec 27, 2010 12:27 pm
by webfork
Andrew Lee wrote:Hope this helps with getting rid of spammy or useless comments.
Excellent. Thanks for your work on this.

Re: Comments moderation

Posted: Tue Jan 04, 2011 11:43 am
by freakazoid
I just made a mistake when I posted a comment and I wanted to remove it; I tried to delete it, but trying to delete your own comment still requires community moderation.

Andrew, is it possible to let registered users delete their own comment without another user verifying it?

Re: Comments moderation

Posted: Wed Jan 05, 2011 9:27 pm
by Andrew Lee
@freakazoid: Great idea!

I have updated the "kill" function to allow that.

Re: Comments moderation

Posted: Thu Jan 06, 2011 12:17 am
by I am Baas
How about editing a comment?

Re: Comments moderation

Posted: Thu Jan 06, 2011 1:09 pm
by JohnTHaller
I keep clicking the exclamation point to agree with this post, but it doesn't seem to be working. :?

Re: Comments moderation

Posted: Thu Jan 06, 2011 1:13 pm
by guinness
I keep clicking the exclamation point to agree with this post, but it doesn't seem to be working. :?
The exclamation point in the Forums is to send a warning to the Admins about the post, did you mean the Recycle bin in the comments? Because this should turn Red and set a number of what level you are e.g. R5 on TPFC.

Re: Comments moderation

Posted: Thu Jan 06, 2011 4:21 pm
by I am Baas
This comment on GreeneBrowser was voted down but I disagree. How do I vote for a comment to stay?
P Smith: Anything based on Infernal Exploder is a waste of time. I'd rather use chrome, which sucks. [2011-01-06 16:41]

Re: Comments moderation

Posted: Thu Jan 06, 2011 4:25 pm
by guinness
I agree with I am Baas this would be a good option too. I only remove comments on the basis of being SPAM e.g. selling Boots.