Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/21/2019 06:45:26 PM (6 years ago)
Author:
imath
Message:

Introduce a new User Interface to manage Group members

Welcome to the first Core feature to use the BP REST API, although this API is not yet included in BuddyPress! For now this feature is completely silent but as soon as the BP REST API has landed into BuddyPress, you will be able to enjoy a Group member management greatly improved.

  1. Whether you prefer to manage Group members from the single Group Administration screen into the WordPress back-end or from the Group Manage screen on the front-end, you will now experience a unique interface to promote, demote, remove or ban the Group members.
  2. Very popular Group Administrators will love the new search feature to save some time to find a particular member out of their crowded Group!

On a side note, this commit also introduces the bp-api-request.js JavaScript to ease exchanges with the BP REST API.

Props espellcaste

Fixes #8045

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-template.php

    r12362 r12405  
    62186218    return apply_filters( 'bp_groups_get_profile_stats', $r['output'], $r );
    62196219}
     6220
     6221/**
     6222 * Check if the active template pack includes the Group Membership management UI templates.
     6223 *
     6224 * @since 5.0.0
     6225 *
     6226 * @return boolean True if the active template pack includes the Group Membership management UI templates.
     6227 *                 False otherwise.
     6228 */
     6229function bp_groups_has_manage_group_members_templates() {
     6230    return file_exists( bp_locate_template( 'common/js-templates/group-members/index.php' ) );
     6231}
Note: See TracChangeset for help on using the changeset viewer.