Download & Extend

Patch that adds the functionality to send predefined email notices

Project:abuse
Version:5.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:jaydub
Status:needs review

Issue Summary

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

Comments

#1

The patch to abuse.install.

introfini

AttachmentSize
abuse.install.patch 574 bytes

#2

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

hi,

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

introfini

#4

Thanks introfini, that did the trick :)

#5

Assigned to:introfini» jaydub

#6

Version:5.x-1.x-dev» 5.x-2.x-dev
nobody click here