Skip to:
Content
Pages
Categories
Search
Top
Bottom

Lost the ability to add "Member", "Moderator", and other user roles in my site


  • rizingsun
    Participant

    @rizingsun

    Greetings folks,

    I’m working with Buddypress on Multi Site and I’ve encountered a problem.

    On a subsite I created a while ago, on the “Add New User” page (http://sub1.example.com/wp-admin/user-new.php) I can add a new user while assigning their role as: Admin, Editor, Author, Keymaster, Member, Blocked, Inactive, etc

    But on another subsite I created today, on the same “Add New User” page, the only roles I can assign to a new user are: Subscriber, Administrator, Editor, Author, Contributor.

    Just those 5.

    What happened?

    I’ve created other new test sites today, and I’m still getting only those 5 roles.

    Does anyone know how I can fix this/what error I’ve made?

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

  • @mercime
    Participant

    @mercime

    @rizingsun Keymaster and Blocked are bbPress roles. So unless bbPress is network-activated in your installation or at least activated in the site which is missing those roles …


    rizingsun
    Participant

    @rizingsun

    Thank you @mercime

    Any idea why “Member” and the others are missing?


    @mercime
    Participant

    @mercime

    @rizingsun the Member role is a BuddyPress role. BuddyPress must be network-activated as well.


    rizingsun
    Participant

    @rizingsun

    @mercime

    It is network activated.

    It’s still working (the ability to set role as “member”, etc) on the subsites I created before today.

    Is there anything that I might have changed that could have triggered this?


    rizingsun
    Participant

    @rizingsun

    @sbrajesh

    Sorry to bother you, but if you get a chance, can you please look into the problem I’m having, and offer your expertise?


    Ben Hansen
    Participant

    @ubernaut

    pardon me for chiming in here but if i might i think mercime is trying to say that the roles you are referring to as “missing” should not be available on sub-sites since they are buddypress roles and should only ever apply to the primary blog. the list of roles you provided for the sub-site is the normal list of wordpress roles and is what you should be seeing.


    rizingsun
    Participant

    @rizingsun

    Hello @ubernaut

    I have a few other subsites (created a while ago), and the roles aren’t “missing” over there. I get the “full” list.


    Ben Hansen
    Participant

    @ubernaut

    well that’s probably the real bug then, those roles shouldn’t have any effect on a non-buddypress site which is what the sub-sites are unless you have made each site it’s own buddypress instance (not likely and you’d know if you had).


    rizingsun
    Participant

    @rizingsun

    @ubernaut

    Thanks.

    It’s just strange though. Things were working “properly” until today.

    Haven’t really changed anything (settings).

    This thing is drive me nuts.


    Ben Hansen
    Participant

    @ubernaut

    i know the feeling 🙂


    rizingsun
    Participant

    @rizingsun

    @ubernaut @mercime

    One thing I just noticed is that for the “functioning” subsites (where I can see “all” the roles), under the users page (http://sub1.example.com/wp-admin/users.php), the admin is also the keymaster.

    In the new sites being created (without “all” the user roles), the admin is not the keymaster in the user page. In fact, there is no keymaster.

    So does this problem stem from bbpress? I only recently installed BB-Press plugin, before the problems began. So I’m assuming this might be the problem. I network deactivated it, but the problem still stands.

    Any ideas how I can fix this?

    Any theories?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    You probably don’t want bbPress activated network wide, unless you’re confident you want forums on every single site in your network. (hint: unlikely)

    If you’ve already network activated bbPress, and if for some reason bbPress’s roles are in each of those subsites, you have some cleaning up to do. bbPress 2.2 and beyond do not save roles in the database anymore, so bbPress’s roles won’t float into sites they don’t belong in.

    Roles are per site, and each site can have their own plugins active. Plugins like BuddyPress can sometimes be Network activated. BuddyPress does not add roles anymore; it used to with BuddyPress Forums in 1.5 and before. If this is a site from before BuddyPress 1.7 betas and bbPress 2.3 betas, some of the role integration is more complicated than it needs to be, and it’s addressed in 1.7/2.3.

    We’re moving away from database capabilities exactly because of the confusion you’re experiencing. There’s no proper UI to display roles and caps in a way that makes much sense. There are plugins out there that try to help, but in my experience many of them provide medium functionality with high complexity.

    Basically, you’ll need to do some digging, figure out what’s wrong, which could be an unlimited combination of things based on your configuration and needs…


    rizingsun
    Participant

    @rizingsun


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    It’s worth noting that in the past, BuddyPress created bbPress 1.1’s roles in the same global namespace as WordPress’s blog roles. This is suboptimal, as it requires a user to be EITHER an Author, or a Moderator, or an Editor, or a Member.

    Most people will want an Editor to ALSO be a Moderator, or an Admin to ALSO be a Key Master.

    bbPress 2.2 and beyond allow for a user to have multiple roles on sites (in a network) that have bbPress active on them. On other sites without bbPress active, users still have regular old roles.


    rizingsun
    Participant

    @rizingsun

    @johnjamesjacoby

    I have bbPress network deactivated, but the problem persists for any new subsite I create.

    How do I go about fixing the bbPress damage?


    Ben Hansen
    Participant

    @ubernaut

    i think “damage” is the wrong way to put it. the extraneous roles attached to your existing sites are meaningless and should be ignored in any case. you may be able to reset the old roles by running the built in bbpress repair scripts or alternatively you can install this plugin i use:

    https://wordpress.org/extend/plugins/user-role-editor/

    which also has the ability to sort of reset all users to their default roles and capabilities.


    rizingsun
    Participant

    @rizingsun

    Thanks @ubernaut

Viewing 17 replies - 1 through 17 (of 17 total)
  • The topic ‘Lost the ability to add "Member", "Moderator", and other user roles in my site’ is closed to new replies.
Skip to toolbar