10706 Posts in 2388 Topics by 1763 members
|Go to End|
17 November 2011 at 3:11pm
I've made a module 'friends' which allows logged in users to search for other users, and become friends. once friends they can view each others profiles. i kind of got the idea from this site i heard about called facebook...
Anyway, that all works. But I also want allow people to invite friends via email. Sending the email, with a unique ref code is easy.
I want to extend the memberprofiles module, so they are taken to the memberprofiles sign up page - eg, mysite/memberprofiles/?ref=123123
and the ref code gets put into a hidden field. When the form is processed, the ref code is read, and it sets up a friends connection between the inviter and the member who's just created an account.
I could copy and modify the memberprofiles module, or create something similar, but i'm hoping there is a way i can extend the form.
Any suggestions would be much appreciated.
I plan to share the module too - i think it would be very useful
1 February 2012 at 3:26pm
Hi, for anyone interested, I've worked around the problems, and got a working version of the 'friends' module up and running. It's pretty basic, but proving useful on one of my sites.
|Go to Top|