Active
Project:
FriendList
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2009 at 22:22 UTC
Updated:
18 Jun 2011 at 14:59 UTC
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 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 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 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 commentedsubscribing - will be needing this sometime soon !
Comment #5
pisco23 commentedHi,
Is there any progess on this question?
Comment #6
browlands commentedsubscribing
Comment #7
nirad commentedsubscribing
Comment #8
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 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 commented+1