"Send to friends" feature request
| Project: | Messaging Send To |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi,
I would need to extend this module to send the notification message to ALL of the user's friends. This could be done by using the relationships API. That would make this extension compatible with User Relationships and Friendlist modules.
My proposal is to add a checkbox to the form, labeled "Send to your friends", and that the default state can be configured through the same admin form in the content type settings. Also, I would need the notification form to display in the node creation form, _before_ creation, and not after.
I'm ready to provide a patch in the next few days, I'm just validating my assumptions that it would be something desirable, or that there is not any other module you know that can already do this. And, last but not least, any advice would be welcome :-)
Thanks in advance! Salud.

#1
Hey! There have already been some requests for relationships integration, so I'm sure this would be appreciated. See http://drupal.org/node/331546 in the notifications_team module, which has some overlap with what you're suggesting. Sendto currently shows up on existing nodes, while team shows up before creation on the form. However, team subscribes the user long term whereas sento just sends it once. I'm not sure if a hybrid functionality of sending it once but doing so before creating the node is that generally useful, but we'll see? If you could get away with the form after creation I would do that, otherwise maybe just put a form alter and stick the sendto form in before with your own custom module.
A checkbox sounds fine and I don't think this should be that arduous so long as there's an easy way of retrieving all friends. I don't want to add a dependency on relationships to sendto though, so probably just wrap stuff in module_exists (could make a custom addon module, but I think that would be overkill). Look at the handling of SMS for an example, where it parses the input string for numbers, only enables that method if you choose, etc.
David
#2
David,
Thanks for your prompt reply, I'm glad you find this feature request useful and feasible.
We'll take a look at the code and try to come up with a patch for revision. Stay tuned!
#3
we're close to delivering this improvement, stay tuned!
#4
How close are you now to delivering this improvement? I'm interested in this feature or at least something similar - to send message to some friends. Do you need some help - testing/reviews/development?
#5
Oops, I had forgotten about this thread... Well, I think we changed our requirements along the way, so I'm not sure the original motivation is still valid.
Let me get back to the internal issue we've created, I'll keep you posted.
#6
If I understand correctly your original intentions, count me as interested as well.
#7
I have been trying to get this as another module in d.o. without sucess so far. But, you can find the details, the code and some brief documentation at
http://drupal.org/node/642972#comment-2320870
Hope this helps, any feedback and testing will be much appreciated.