Closed (duplicate)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 May 2012 at 11:47 UTC
Updated:
28 Mar 2013 at 09:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
chony commentedHi Chris, I just created a new module for your request, since patching Drupal core is the last resort. I made a Rules Mail module that can be extended with further mail actions, like those you mention.
I'll be posting the module to Drupal contrib later on today, but you can take a look at it here in the attached file.
Best Regards!
Comment #2
chony commented..or.. you could patch the user.eval.inc and user.rules.inc files in rules\modules directory. I attached the patches here.
Hope it helps.
Comment #3
crizComment #4
crizThx chony! The patches are not working because they are not relative to the module folder. Can you fix this?
Maybe having just one patch file for all your changes would be nice to have too. I am not using netbeans but this should be feasible...
And please have a look again at coding styles (indents, brackets): http://drupal.org/coding-standards
Comment #5
chony commentedHi Chris, you are right. Here is the patch as it should be, let me know if you find anything wrong.
Regards.
Comment #6
crizThx, the patch applied cleanly now.
I have tested the patch and it works fine! Great work!
One thing left: The type of the watchdog message should be the module name. But then it should be done imho.
Comment #7
chony commentedYeap, here it goes again with that changed.
Comment #8
crizthx chony, ready to review...
Comment #9
fago#1031530: Add a User action "Send account e-mail" has a rather complete and more powerful patch covering this also - please collaborate over there and test the patch.