I have a client that is looking for the ability to send facebook like activity mailings to users, based on user relationships. I've written an activity_mailer module, and made a patch to the user_relationshipsactivity contribution.
The patch to the user_relationshipactivity adds hook_activityapi()> When an activity is being inserted it finds any approved relationships with the user performing the activity, and adds an entry to the activity_targets table.
The activity mailer module sends an email to users to notify them of activity where they are the target. It groups any unsent activity into a single message, per user.
I look forward to your feedback, especially on the default mail messages.
| Comment | File | Size | Author |
|---|---|---|---|
| user_relationshipsactivity.patch | 1.31 KB | mikejoconnor | |
| activity_mailer.zip | 4.1 KB | mikejoconnor |
Comments
Comment #1
sirkitree commentedThis is a really neat idea. I've not had a chance to test it out yet but I will. Thanks!
Comment #2
geodaniel commentedI like the sound of this one too, and will hopefully try it out soon.
Comment #3
jaydub commentedYes does sound useful. Might be a good candidate for integration
with Messaging module.
Comment #4
sirkitree commented5.x unsupported