Project:Flag content
Version:5.x-2.8
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

In a previous version of this module 5.1x there was an option for threshold.
After a post was Flagged X number of times it would automatically be published and an email was sent out to an email address. I recently updated this module to 5 2.8 and noticed these fields were missing.

Is there a setting I overlooked to get this functionality back???

Comments

#1

Status:active» needs work

Just realized the other day that the threshold stuff was a custom patch to a much earlier version.

I thought it was a really great feature, so I'll post the patch if anyone cares to check it out.

Note: patch is for v1.2

AttachmentSize
flag_content.patch 11.81 KB

#2

Status:needs work» needs review

Here's a patch for the the latest release in your repository

#3

The patch is a bit big and complicates the module.

Did anyone test it? Any feedback on feature/code?

Have you looked at using the function http://api.drupal.org/api/function/flood_register_event/5 instead of custom code? (either to prevent excessive mails from same user/IP address, or for managing the threshold)?

nobody click here