Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/22/2022 05:42:45 AM (3 years ago)
Author:
imath
Message:

List the displayed user groups invites in member's front-end screen

As a site admin can view the displayed user groups invites, listed invites have to be the one of this user and not the ones of the site admin.

Adapt the Group Invites feature so that site admins can accept or reject on behalf of the displayed user the listed invites. These two actions made by an admin will generate a specific BP Email informing the user of it.

Props oztaser, dcavins, espellcaste

Closes https://github.com/buddypress/buddypress/pull/15
Fixes #8675

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/groups.php

    r12082 r13273  
    44 *
    55 * @since 3.0.0
    6  * @version 3.0.0
     6 * @version 11.0.0
    77 */
    88?>
     
    1111    <ul class="subnav">
    1212
    13         <?php if ( bp_is_my_profile() ) : ?>
    14 
    15             <?php bp_get_template_part( 'members/single/parts/item-subnav' ); ?>
    16 
    17         <?php endif; ?>
     13        <?php bp_get_template_part( 'members/single/parts/item-subnav' ); ?>
    1814
    1915    </ul>
     
    2117
    2218<?php if ( ! bp_is_current_action( 'invites' ) ) : ?>
    23 
    2419
    2520    <?php bp_get_template_part( 'common/search-and-filters-bar' ); ?>
Note: See TracChangeset for help on using the changeset viewer.