Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Might it be possible to integrate with the invite module (http://drupal.org/project/invite)?
In D5 Buddylist and UR provided this integration, that when a user registers who has been invited, a relationship between both is created.
I know it is still in dev, but the API function doesn't look to complicated (See Invite readme: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/invite/READ...).
But unfortunately I'm not a coder at all.
This would be great, thank you.
Regards,
Ben
Comments
Comment #1
mariusooms CreditAttribution: mariusooms commentedI agree...it would be helpful for friendlist to support such a module. Much like privatemsg is enhances the productivity of friendlist. Hopefully down the road, after all bugs and other request are ironed out, this can become a reality.
Regards,
Marius
Comment #2
bensemmel CreditAttribution: bensemmel commentedHi,
I tried it it on my own by writing my first module with the following code:
That works fine, and invitee and inviter are getting friends.
My only problem is that I don't know how to avoid that rules is sending emails that confirms the new relationship. I understood the readme that by using the $user_generated=FALSE statement whould prevent rules from sending these emails.
Any help would be great.
Beside that, I would love to see that somebody would take the above snippet and would create a real module with permission check and everything.
Thank you
Regards,
Ben
Comment #3
mariusooms CreditAttribution: mariusooms commentedHi Ben,
The User Relations module has a similar architecture as Friendlist. In this issue Jaydub has done a some work already to make a contrib module to support the invite module. Hopefully we can take ideas and pieces of code from that contrib to create a contrib for Friendlist as well. Permission has already been granted ;)
Mind you the priority is not high on the list, but it would be good to see this ported to here as well. Patches welcome...
http://drupal.org/node/344160#comment-1300416
Regards,
Marius
Comment #4
pisco23 CreditAttribution: pisco23 commentedsubscribing - will be needing this sometime soon !
Comment #5
pisco23 CreditAttribution: pisco23 commentedHi,
Is there any progess on this question?
Comment #6
browlands CreditAttribution: browlands commentedsubscribing
Comment #7
nirad CreditAttribution: nirad commentedsubscribing
Comment #8
irakli CreditAttribution: irakli commentedThis is on the release map. We will have to update code, so that the problem mentioned by bensemmel does not occur.
thx
Comment #9
Maikel CreditAttribution: Maikel commentedHas there been any progress? Interested in this functionality too. If not, i am willing to (help) code this sort of functionality.
Let me know.
Comment #10
jaxpax CreditAttribution: jaxpax commented+1