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???

CommentFileSizeAuthor
#1 flag_content.patch11.81 KBdavidburns

Comments

davidburns’s picture

Status: Active » Needs work
StatusFileSize
new11.81 KB

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

davidburns’s picture

Status: Needs work » Needs review

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

kbahey’s picture

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)?

pomliane’s picture

Status: Needs review » Closed (won't fix)

This version of Flag content is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.