Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add a new column “Groups” to user column on the backend

  • Profile photo of hasanfachrul
    hasanfachrul
    Participant

    @hasanfachrul

    Hello,

    I’m very beginner at buddypress, and I was wondering.
    Can I add another (custom) column “groups” in the user section on the admin backend?
    The “groups” column purpose is to clarify which group did the users went or in.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Profile photo of danbp
    danbp
    Moderator

    @danbp

    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.

    Profile photo of hasanfachrul
    hasanfachrul
    Participant

    @hasanfachrul

    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?

    Profile photo of hasanfachrul
    hasanfachrul
    Participant

    @hasanfachrul

    anyone please?

    Profile photo of danbp
    danbp
    Moderator

    @danbp

    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.

    Profile photo of hasanfachrul
    hasanfachrul
    Participant

    @hasanfachrul

    Hello,

    Thats explains everything!

    thank you!

    Profile photo of eavinu
    eavinu
    Participant

    @eavinu

    Hello,
    Do you still need to show the Groups as a column in the “Users” page?

    Profile photo of CoreyFF
    CoreyFF
    Participant

    @coreyff

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar