@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 …
Thank you @mercime
Any idea why “Member” and the others are missing?
@rizingsun the Member role is a BuddyPress role. BuddyPress must be network-activated as well.
@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?
@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?
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.
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.
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).
@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.
@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?
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…
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.
@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?
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.