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

reikiman’s picture

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?

reikiman’s picture

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.'));

??

jaydub’s picture

Assigned: Unassigned » jaydub
jaydub’s picture

Status: Active » Postponed

let's work this into the next version

jaydub’s picture

Version: 5.x-1.x-dev » 5.x-2.x-dev
Status: Postponed » Active
Kirk’s picture

Been a long time, any update on this?

Gus24’s picture

Subscribe

stopbox’s picture

Subscribe