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