Actions integration for Spam module

grawat - April 29, 2009 - 13:11
Project:Spam
Version:HEAD
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I would like to give users of my site the ability to mark content as spam. Maybe the points assigned to a particular node (Eg. Not Spam (45)) could be increased by a configurable amount every time a user marks something as spam. So if my threshold is 70 and I want that every time a user marks something as spam the likelihood of the content being spam goes up by 5. So, using my previous example if the node has 45 points and users mark it as spam then the total goes to 70 (45+25) and the node is marked as spam. And if the admin marks the node as spam then it goes to spam straight away. So, u could user roles to define how many points a user role can assign. Is this currently possible ?

#1

gnassar - June 17, 2009 - 17:15
Status:active» postponed

You'd need some sort of User Voting spam filter module. I think it's a really good idea, but it's a bit outside the scope of the current module. Maybe for the next major version, or if someone wants to start up that module themselves.

#2

naught101 - June 18, 2009 - 04:26

Maybe the http://drupal.org/project/flag module could be used for this? Simply allow all users to "flag as spam", and then allow admins to check the flags later? You could even make a an action that marks a comment as spam after X users flag it...

Obviously this mean that you need another module, which probably isn't a good thing for a feature that probably SHOULD be part of the spam module, but it's probably a good work around, and I think that this feature should stay postponed until the 6.x is stable

#3

gnassar - June 18, 2009 - 05:30

Sure, that would work as a current workaround.

I sort of disagree that it should be "part of the spam module," as I think the spam module's gotten big enough as it is -- I think it should be a *separate* module that hooks into the API that the spam module provides for add-ons like that.

That being said, if somebody ends up submitting a patch to do all that, I'd be happy to entertain it.

#4

gnassar - June 18, 2009 - 05:44
Title:Is it possible to allow users to mark content as spam ?» Actions integration for Spam module
Version:5.x-3.x-dev» HEAD
Status:postponed» active

Though now that I think about it, in 6.x the functionality isn't necessary. What *is* necessary is to integrate Spam with Actions (which is in core in 6).

When that is done, the Flag module is *exactly* the right way to do it. You let users flag items, set up a threshold in Flag, and have the threshold execute a "mark as spam" action (or maybe "send to moderation") provided by the Spam module.

That's probably the best way to do it in 5.x too; the change is likely to occur in 6.x first and then get backported to Actions 5.x-2.x.

And all this is not only a much better way to approach it, but *much* more likely to happen than an entire "user voting" module within Spam or separately.

#5

kdes - July 20, 2009 - 05:13

I think this is great idea and would be really useful for busy sites.

#6

quicksketch - September 14, 2009 - 15:40

Subscribing, let me know if any additional functionality is needed in Flag module, but I think that Flag should already provide all the APIs necessary to make this implementation trivial (in fact you might not need to do anything at all, other than make the action). Marking #522118: Integrate flag module with spam module as duplicate.

#7

bits43 - September 27, 2009 - 13:08

subscribing.

I'm surprised there hasn't been more interest in this feature. Seems like it would be extremely useful in handling spam.

#8

thijsvdanker - November 11, 2009 - 15:09

subscribing, backing #7 :)

 
 

Drupal is a registered trademark of Dries Buytaert.