Jump to:

11004 Posts in 2735 Topics by 1824 members

All other Modules

SilverStripe Forums » All other Modules » Creating a Social Network / Facebook style 'Friends' Module

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 466 Views
  • Futureweb
    Avatar
    Community Member
    233 Posts

    Creating a Social Network / Facebook style 'Friends' Module Link to this post

    Hi,

    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

  • Futureweb
    Avatar
    Community Member
    233 Posts

    Re: Creating a Social Network / Facebook style 'Friends' Module Link to this post

    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.

    Details here: http://www.futureweb.co.nz/modules/silverstripe-friends-module/

    466 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.