This already exist on the admin Group page.
When you edit an existing group (wp-admin/admin.php?page=bp-groups), you’ll see a list of all users belonging to that group.
Hi, thanks for the response!
I know that, but I want to bulk edit and change their role to specific role.
is there a way to do that?
That is not possible for group users. These users are already listed as site users, where you already can bulk edit their roles.
A BuddyPress Group is made of regular WP users. Being in a group doesn’t modify that, and that’s the reason why you have no role editor on the group user admin – other the ones belonging to groups (group admin or mod).
Note also that a group admin is not a site-admin, just a regular member (subscriber by default).
In other words, the group admin interface is made to manage group members only (no relation with WP and WP roles and capabilities).
And WP’s members list is to manage site users, roles and capabilities.
Hello,
Thats explains everything!
thank you!
Hello,
Do you still need to show the Groups as a column in the “Users” page?
If I’m understanding your question correctly, I was able to accomplish this with the Admin Columns Pro plugin (see screenshot below – in my case BP groups are called “Committees”). It is a paid plugin, but they provide a great starter-kit template to create your own columns with custom code.
“Committees” column on admin “Users” screen
Hi @CoreyFF, how did you do add the Committees column?
I’m looking at the free version of Admin Columns, it may be this is a Pro feature, I can’t quite tell yet..
Hey @jonmoore – You’re right, I was only able to add the custom columns with the Pro version of Admin Columns. It required a little custom code to make the correct calls to the database, but it wasn’t too difficult. Let me know if you can’t figure it out.
Hi, I didn’t have a chance to get back to this, but I remember seeing something on the WP codex about how to add columns to admin screens… if custom code is required then I’d probably do a custom solution rather than use Admin Columns.. so I could then give it back to the community… .. this should be core rather than depending on 3rd party paid component.
I mean in the same way that WordPress shows Posts column linking to Posts in the User screen /wp-admin/users.php I would expect that for sites which are mainly using bbPress and BuddyPress that the equivalent columns Forum posts, Activities, Group membership should be of interest to all..
If you have got anything that will help, please post it!