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
| Attachment | Size |
|---|---|
| abuse.module_1.patch | 5.43 KB |

#1
The patch to abuse.install.
introfini
#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 $reasonsintrofini
#4
Thanks introfini, that did the trick :)
#5
#6