SoylentNews / slashcode

The slashcode repository for SoylentNews. The initial code base was uploaded as it appeared on Sourceforge as of the last commit in September 2009
http://soylentnews.org
GNU General Public License v2.0
44 stars 22 forks source link

Modwork #390

Closed TheMightyBuzzard closed 9 years ago

TheMightyBuzzard commented 9 years ago

First, a fix for slashlinks not being parsed in article/comment/journal review.

Remove Underrated/Overrated. Change remaining downmods to +0 mods. Add Spam downmod (-1 comment, -10 karma). Add Disagree zeromod. Change selection of mod label for comments to include all up/down/zero mods in its calculations. Give everyone whose account is 1 month+ five mod points every day. Adds Spam and Disagree to user additional modifier settings.

Place link beside any comment modded spam to undo moderation by anyone with a seclevel of 100+ (Essentially anyone above regular user) This: deletes the moderation undoes any karma hit recalculates the score and score name bans the moderator(s) who modded it spam from modding for a month the first time and six every time after removes the rest of their mod points redirects the person clicking to unban back to the same comment afterwards

paulej72 commented 9 years ago

we should have a method to unspam a comment and not give the modder a penalty, or reverse a penalty. Someone could possibly mis mod a person and we would not want to punish them for this offense.

TheMightyBuzzard commented 9 years ago

I was thinking manually for the "Someone could possibly mis mod a person and we would not want to punish them for this offense." issue. It shouldn't come up all that often. I'll look at what's necessary to add it and where it should go though after I finish the changes.

paulej72 commented 9 years ago

Are we going to have an admin page with the spam mods listed? if you want me to look into that I can.

TheMightyBuzzard commented 9 years ago

Yeah, let me get this polished enough to merge so you can change things if necessary and you're more than welcome to whip up an admin page for spam comments. A button to unspam each comment and a checkbox to not ban them if it's checked? Could use the same sub with just a couple minor changes to it.

TheMightyBuzzard commented 9 years ago

Added code to comments.pl so that if a url comes in with &noban=1 it won't ban the user. Also added another link to not ban the user right beside the one that bans them.

TheMightyBuzzard commented 9 years ago

Closing this pull request so it doesn't get merged. Want to take into account some feedback and make some changes.