Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/10/2018 07:34:35 PM (4 years ago)
Author:
hnla
Message:

Nouveau: group create invites

Commit addresses an issue where the invites step of Groups create presents two fundamental problems. In including the backbone JS template partial we include a search form which becomes nested in the main group create form & the backbone JS creates unique nav menu tabs which only function in context of users/groups screens & so invite user selection fails.

Commit adds a new include file which renders the bp_new_group_invite_friend_list() function, replaces the Nouveau JS template callback on the invites step with path to this new file and adds a new screen message to message array to explain screen invites step.

Props DJPaul, hnla

Fixes #7625

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/functions.php

    r11686 r11807  
    519519            'message_type' => 'warning',
    520520            'message'      => 'The \'bp_directory_groups_actions\' action will soon be deprecated in the BP Nouveau template pack, we recommend you now use the \'bp_nouveau_get_groups_buttons\' filter instead',
     521        ),
     522        'create-invite-friends' => array(
     523            'type'    => 'info',
     524            'message' => __( 'You can send invites to any of your friends listed here, or skip this step & send later from the group. Invites sent from this screen will appear in the groups \'Pending Invites\' tab of the \'Send Invites\' menu.', 'buddypress' ),
    521525        ),
    522526        'bp_group_invites_item_action' => array(
Note: See TracChangeset for help on using the changeset viewer.