Skip to:
Content
Pages
Categories
Search
Top
Bottom

Duplicate Roles


  • jppoveda
    Participant

    @jppoveda

    Hi,

    I installed buddypress a couple days ago. I’m running wordpress 3.5 with buddypress 1.6.2.

    I previously had the latest version of bbpress installed, then I uninstalled it and installed buddypress and reinstalled it through the buddypress setup menue. I’ve notice two issues:

    1) Under WordPress : Dashboard : Users : All Users, the “Change Role To” drop down had duplicate roles:

    Administrator
    Editor
    Author
    Contributor
    Subscriber
    Keymaster
    Spectator
    Blocked
    Keymaster
    Moderator
    Member
    Inactive
    Blocked

    2) An the All User list, I could have sworn that I had the ability to set the WP role and the Buddpress role separately, am I remembering a bbpress feature that isn’t available on buddypress?

    To be clear, when I go to my All Users list in the wordpress dashboard, I have these columns:
    Username, Name, Email, Role, Posts — nothing about Buddypress Roles.

    Thanks for the help!

    – jp

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

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    Hi JP,

    You’re right, that it’s all a bit confusing right now. It sounds like some part of the update script didn’t run, as it would normally remove the duplicate roles.

    Having multiple roles is a bbPress specific feature, that BuddyPress will likely adopt to some small extent in 2013. The basic goal is to *not* have 1 dropdown with a bunch of roles in it, restricting users to having 1 set of capabilities. Since no site is the same, and no user will always have all/some/none caps, being able to have multiple roles is pretty critical.

    In BuddyPress, it’s less-so, because we assume all users can do all things in BuddyPress, and have purpose built restrictions in place for super administrators.

    You should be able to safely remove the duplicate and bbPress roles with some calls to remove_role(). bbPress 2.x adds its roles dynamically at run-time, and only on the site it’s activated on. Visiting the Users list in wp-admin for that site should show you the columns you describe.


    jppoveda
    Participant

    @jppoveda

    John James Jacoby,

    Thanks for the quick reply and for the explanation.

    I’m new to this, so I’m a bit confused. Should I remove all the bbpress roles:

    • Keymaster
    • Spectator
    • Blocked
    • Keymaster
    • Moderator
    • Member
    • Inactive
    • Blocked

    and then let buddypress / bbpress recreate them?

    Do I just drop that function call (remove_role), with the appropriate roles, into a WP php file and load it up once?

    Thanks again for the help and the awesome plugin!

    – jp

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate Roles’ is closed to new replies.
Skip to toolbar