Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to> Different xprofile fields for different roles


  • rockykurien
    Member

    @rockykurien

    Hi,

    I have used WP roles at registration to let users choose from amongst 3 differernt roles when they register.
    Could someone help me with how to restrict extended profile groups based on these roles?

    ie Role 1 should see only xProfile Groups base and group1
    Role 2 should see only xProfile Groups base and group2 etc

    I saw the plugin Buddypress profiles Manager
    However it shows the other groups as tabs in edit profile.

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

  • noizeburger
    Participant

    @noizeburger

    Maybe you should try this solution: works for wp3.1 multisite, also there are hints when working with single-site. I have it working on my multisite (but with the old code example).
    The first link shows you how to make a selection for roles at signup: http://cleverness.org/2011/01/27/updated-buddypress-user-roles-code/
    The second link is for the setup of which profilegroups (fieldgroups) are shown on certain roles: http://cleverness.org/2010/10/13/user-types-in-buddypress-assign-xprofile-groups/

    Give it a try, it works for me.


    noizeburger
    Participant

    @noizeburger

    PS: I often think about switching to single installation of wp, your combination of plugins would be the only one working, as described by the author of the stuff in my links. So I don’t have to think about switching again.


    noizeburger
    Participant

    @noizeburger

    Have you tested the solution I’ve mentioned? Just for your interest: I set up a naked wp 3.1. (single) with buddypress 1.2.8, BuddyPress xProfiles ACL, Capability Manager and WP Roles at Registration – works like a charm and requires no coding by hand.


    otfromtot
    Participant

    @otfromtot

    xprofiles works perfectly so far. Is anyone else having issues using required fields for the different profile groups?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to> Different xprofile fields for different roles’ is closed to new replies.
Skip to toolbar