Skip to:
Content
Pages
Categories
Search
Top
Bottom

Multi users profile: development direction please!


  • vosen_torvalds
    Member

    @vosen_torvalds

    Hi!

    I just need a development direction:

    I’m creating a video games community and I need to create a 2 levels users system:

    – the first one: simple users (players) with really basic informations and connecting to community with Facebook, twitter or google account.
    – the second one: teams, with more informations (game statistics, team history, gamers list).

    My problem is that I would like that players interact only through their respective team. So, private messages system will be only available for teams, possibility to join a group or discussing in a forum too.
    In another words, I would like to make a multi users profile…

    Of course, I would like to preserve the group system to be able to group teams by games for example.
    (I already thought to duplicate the group system or use a custom group type plugin but I really need profile features for teams…)

    But I’m really not sure how to create that without touching the BP core…

    Any ideas, please? :)

    THX!

Viewing 3 replies - 1 through 3 (of 3 total)

  • modemlooper
    Moderator

    @modemlooper

    Create a custom BuddyPress component. You can use the skeleton component plugin to see example code. How you do it is up too you as you can create anything.


    Boone Gorges
    Keymaster

    @boonebgorges

    The essence of what you want is to store a piece of usermeta called something like ‘user_type’, where each user is either ‘player’ or ‘team’. The tricky part for your purposes will probably be that BuddyPress (or WordPress for that matter) is not designed to allow one user to act “on behalf of” another user – or, as you put it, “players interact only through their respective teams”. I take it that means that player1 would be able to send a message and have it come from team1. But this is going to be quite tricky, as it’ll mean, essentially, filtering the current user id in hundreds of places throughout BuddyPress.


    vosen_torvalds
    Member

    @vosen_torvalds

    Yes, it sounds like very tricky… :( Especially after 1 week of failed attempts. Do you think it could be possible to create this kind of system, “just” allowing team profile (simple BP member profile) accessible by multiple email addresses?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multi users profile: development direction please!’ is closed to new replies.
Skip to toolbar