Download & Extend

Email notification upon new reffering and/or new flaged

Project:User Referral
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Description:
1. Upon new user that register a notification email will be sent to the user who refereed him.
It would be great if admin/user could choose when to get notify (new referred / flagged or both).
option to get a weekly/monthly email.

Comments

#1

Note to those interested in creating patches for this: It should be implemented using the new hook_referral, and should be a separate module under a subdirectory in 6.x.

#2

eranglr, I'd suggest you try adding the code in this comment to referral.module:

http://drupal.org/node/338760#comment-1125853

It will expose the hook_referral that kbahey is speaking of to Drupal's core Triggers interface. You then just create a Drupal Action to "send an email" and assign this new referral trigger to it.

#3

Actually, it is better to add it as a separate module.

@rcourtna, can you change the code in that issue to be a new module that depends on trigger as well as referral in its .info file, so we can remove the if (module_exists('trigger')) part.

Once you attach the .module and .info, I will commit them, and we have email functionality.