Download & Extend

Generate email when a node is flagged

Project:abuse
Version:5.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:jaydub
Status:active

Issue Summary

My moderator staff wants to be notified by email when a node is flagged as abusive. This is so they don't have to regularly check the abuse area ...

I dug into the code and see the only time drupal_mail is called is when the WARN button in the abuse area is clicked.

Comments

#1

So, it looks like the appropriate place for a warning upon abuse being reported is in abuse_report_form_submit ... Am I on the right track?

#2

There's enough drupal_goto's in this function it just reminds me of that old computer science paper: Goto Considered Harmful

Um, is the right place just before this line:

   drupal_set_message(t('Thank you for your report.'));

??

#3

Assigned to:Anonymous» jaydub

#4

Status:active» postponed

let's work this into the next version

#5

Version:5.x-1.x-dev» 5.x-2.x-dev
Status:postponed» active

#6

Been a long time, any update on this?

#7

Subscribe

#8

Subscribe