Patch that adds the functionality to send predefined email notices

introfini - October 20, 2007 - 18:55
Project:abuse
Version:5.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:jaydub
Status:needs review
Description

This patch adds the functionality to send predefined email notices created in the “Reason configuration settings” page. You can create several types of notices but choose only the ones that are available in the abuse report form.

First you need to apply this patch: http://drupal.org/files/issues/abuse.module.0.1.patch

Then you should apply my patch to abuse.module and also to abuse.install.

Regards,
introfini

AttachmentSize
abuse.module_1.patch5.43 KB

#1

introfini - October 20, 2007 - 18:56

The patch to abuse.install.

introfini

AttachmentSize
abuse.install.patch 574 bytes

#2

tj2653 - December 2, 2007 - 07:13

Here is my problem with the patch. I have 4 abuse reasons, and no matter which one I select on the warn user page, the e-mail subject is always the first reason's subject, and the body of the e-mail is always the first reason's Argumentation. Any ideas on this?

#3

introfini - December 2, 2007 - 13:15

hi,

Here is the problem http://drupal.org/node/167482#comment-593283, you just need to remove the static $reasons

introfini

#4

tj2653 - December 2, 2007 - 18:50

Thanks introfini, that did the trick :)

#5

jaydub - March 13, 2008 - 09:03
Assigned to:introfini» jaydub

#6

jaydub - April 10, 2008 - 16:25
Version:5.x-1.x-dev» 5.x-2.x-dev
 
 

Drupal is a registered trademark of Dries Buytaert.