The latest DRUPAL-6--2 code in CVS for Flag includes an access() method, allowing you to control whether or not a specific piece of content is "flaggable". We could use this to mimic the way Abuse module suppresses the "Flag" link on content which has already been flagged in the past. If we can do this in an elegant way using the Flag API then I think this is perhaps the last "killer feature" which would mean Flag Abuse is more useful than Abuse.

The only thing is I can't think of a way to do this without adding a database table to store previously moderated nodes/comments in... can you? It would be good to avoid that...

(Off topic, but the mailing stuff Abuse does should be possible with Rules, given a little more integration, perhaps a new trigger or two.)

Comments

sirkitree’s picture

Status: Active » Fixed

So I've worked on this and it's fairly simple. And to avoid the database table I've cheated and used variable_set/get :P

I've also altered the confirmation form which will make it a bit clearer to whomever is resetting a flag of what they're doing.

http://drupal.org/cvs?commit=412622

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.