now that would be cool - allow a person to see a list of his/her friends below a post/comment to send a notificaiton out to friends only - since htey won't be subscribed to new content until they see it and you do NOT want to let any user just add 'everybody on a site'!

it could prefill title with tokens: (user), your friend (user) has posted a new (content type) called (title) on (site), click here to read it (url)

Comments

David Goode’s picture

Hello,

Custom messages are an interesting idea, although the current workflow for notifications_team doesn't provide for knowledge of what specific user subscribed or unsubscribed another user. This would be a non-trivial item to add, possibly requiring a new or modified notification type beyond notifications content. However, the underlying notifications and messaging modules are themselves flexible enough to accommodate this use case.

But, for the specific case of sending a node to a friend, you're in luck! We intend to release a messaging_sendto module that does just that very soon, in the next couple days if possible. Possible overlaps between these modules are intriguing, and integrating them may be worth pursuing in the future. Given that sendto has yet to be released by itself though, this is probably getting ahead of ourselves.

I'm not familiar with the User Relationships module, but limiting users to only be allowed to subscribe friends w/o customization would actually be very easy to add: see lines 41-57 of notifications_team.module. If you want to add this in, feel free, although it might be best to create a more modularized/customizable format for creating/modifying the user list of potential subscribers and then implementing such a mini-module for relationships--this latter modularization task is on my todo list regardless. Good luck!

Thank you,
David Goode

zilla’s picture

thanks dave - i unfortunately couldn't write a module to save my life! ;)

odd an on odd but related aside, what if 'user relationships' (names) were summoned but the 'send' was in fact just passed through to rule and actions/triggers - like a rule that user relationship must exist and then send to user email if friends? would basically require a pre-configured sort of rule and action/trigger...

aside from OG using it's own special use of notifications, i'm beginning to think that rules/actions/triggers may be a much more powerful way to handle site notifications...but it's got a long way to go before users get how to simply make a link appear that says 'subscribe to this post' and so on...

btw, regarding the upcoming sendto: does this replicate functionality of several other sharethislink type modules, or does it do something new? what would be awesome is to expose the 'share via email' entry box within the node edit form (like after user clicks "save/submit" they are redirected to a screen (facebook style) that says "want to share this (content type) right away? enter emails here - or skip this"

David Goode’s picture

Hello,

I'm not particularly familiar with actions at this point, but some of my coworkers on this module have already proposed using them for certain portions and I'll try to look into that. The sendto module is similar to what you're suggesting, except not related to the node editing. Basically, it allows a form to be exposed in a block or within a node that allows the user to enter emails or other types of contact addresses and then forward the article to those addresses, with an optional customizable message. It is almost cleaned up enough to release, although obviously this wasn't done over the past couple days. I am a college student, so my work schedule can be pretty sporadic. However, I'm doing my best to get that one out, and I will check this issue queue much more frequently in the future.

David

warmth’s picture

Version: 6.x-1.x-dev » 7.x-3.x-dev

Any news?