Displaying XProfile Field Groups Dependen on User Role
-
I’m new to BP so I appologise if I’ve missed something in the documentation before posting.
I have created 3 additional roles in wordpress.
Roles
user 1 | user 2 | user 2 (currently all set to spectator role)What I am trying to acheive is a way to customise what XProfile field groups they will be assigned. Also, whether they have access to group creation.
Can someone point me in the right direction of what files I should be looking at in BP. I’m guessing there’s a loops that I could modify,
if userrole==’user1′
output field groups
if userrole==’user2′
output field groups
if userrole==’user3′
output field groupsSomething like that anhow lol, or is there a preffered method I haven’t discovered yet.
I’m trying to simulate different member types / capeabilities.
Thanks
- The topic ‘Displaying XProfile Field Groups Dependen on User Role’ is closed to new replies.