Generate email when a node is flagged

reikiman - July 7, 2007 - 03:56
Project:abuse
Version:5.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:jaydub
Status:active
Description

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.

#1

reikiman - July 7, 2007 - 04:03

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

reikiman - July 7, 2007 - 04:05

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

jaydub - March 15, 2008 - 16:57
Assigned to:Anonymous» jaydub

#4

jaydub - March 17, 2008 - 12:08
Status:active» postponed

let's work this into the next version

#5

jaydub - April 10, 2008 - 16:24
Version:5.x-1.x-dev» 5.x-2.x-dev
Status:postponed» active

#6

sparq-l - February 24, 2009 - 19:49

Been a long time, any update on this?

#7

Gus24 - March 18, 2009 - 11:59

Subscribe

#8

stopbox - March 31, 2009 - 17:32

Subscribe

 
 

Drupal is a registered trademark of Dries Buytaert.