I was really surprised with "reset" functionality today. I had been absolutely sure it would clear all the flags (flag_abuse_comment) for the certain comment but it didn't... I have a flag 6.x-2.0-beta4 and flag_abuse 6.x-2.0-rc1 modules installed. There's a "fouls" system on my website and any user can flag a comment with a "foul" (flag_abuse_comment). A comment becomes more misty with every "foul" it's flagged with (theming and css). As a result there's self-moderated community where users can remove abusive comments. But some users flag non-abusive comments they just don't agree with. And I thought I could remove their "fouls" for non-abusive comments with "reset" function but it didn't work this way.

Site admin cannot _clear_ those flags. As I can see on example.net/admin/content/flags/abuse_comment page there's the same flag/flag/abuse_comment/ link attached to every comment (but with "reset flags" tip). If I click on it, comment will be flagged with a "foul" by site admin and at the same time flag/unflag link will be removed from the links section. But it doesn't clear the flag counter - there's still an entry for that comment so additional theming based on flag counter still works. Unfortunately there's no UI neither to unflag those comments nor to "un-unset" them. I can delete the strings for those comments drectly from my database but I don't know how to bring that "flag/unflag" link back.

Are there any possibility just to "clear" flag entries (in flag_content and flag_counts tables) not to restrict users from flag/unflag those nodes/comments? Is it possible to add "cleared" column to flag_content table to mark the flags that was "cleared" by site admin and prevent user from flagging that content for the second time. Additionally it would help to find trolls (those who have too many of their flags "cleared").

Comments

Shadlington’s picture

Hmmm. I raised an issue over at flag abuse that I think is the same - #917372: Make permanent nature of reset flags optional

I never actually looked into what was going on when a flag was reset but marking with a 'foul' explains why you can no longer flag content that has been 'reset'.

The suggestion of a 'cleared' field sounds pretty useful to me (I certainly like the idea of being able to find trolls).

YK85’s picture

subscribing

mogop’s picture

subscribe

plong0’s picture

Version: 6.x-2.0-beta4 » 6.x-2.0-beta5
Category: feature » bug

subscribe

quicksketch’s picture

Project: Flag » Flag Abuse
Version: 6.x-2.0-beta5 » 6.x-2.x-dev

Flag module doesn't have a "Reset" link (though it's a feature request at #823314: Flag Reset Links/UI). The functionality you're describing is provided by the Flag Abuse module.