Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/02/2018 04:46:28 PM (8 years ago)
Author:
imath
Message:

BP Nouveau: always include an invite screen to the Group create steps

As the Group Invites UI allows to invite friends or regular members, the Group create steps will include an invites screen even if the Friends component is not active.

Props hnla

Fixes #7781

File:
1 edited

Legend:

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

    r12018 r12039  
    10671067        // screen id => dynamic part of the hooks, nonce & specific template to use.
    10681068        $screens = array(
    1069                 'group-details'     => array( 'hook' => 'group_details_creation_step',     'nonce' => 'groups_create_save_group-details',     'template' => 'groups/single/admin/edit-details' ),
    1070                 'group-settings'    => array( 'hook' => 'group_settings_creation_step',    'nonce' => 'groups_create_save_group-settings',                                                     ),
    1071                 'group-avatar'      => array( 'hook' => 'group_avatar_creation_step',      'nonce' => 'groups_create_save_group-avatar',                                                       ),
    1072                 'group-cover-image' => array( 'hook' => 'group_cover_image_creation_step', 'nonce' => 'groups_create_save_group-cover-image',                                                  ),
    1073                 'group-invites'     => array( 'hook' => 'group_invites_creation_step',     'nonce' => 'groups_create_save_group-invites',     'template' => 'groups/create-invites'      ),
     1069                'group-details' => array(
     1070                        'hook'     => 'group_details_creation_step',
     1071                        'nonce'    => 'groups_create_save_group-details',
     1072                        'template' => 'groups/single/admin/edit-details',
     1073                ),
     1074                'group-settings' => array(
     1075                        'hook'  => 'group_settings_creation_step',
     1076                        'nonce' => 'groups_create_save_group-settings',
     1077                ),
     1078                'group-avatar' => array(
     1079                        'hook'  => 'group_avatar_creation_step',
     1080                        'nonce' => 'groups_create_save_group-avatar',
     1081                ),
     1082                'group-cover-image' => array(
     1083                        'hook'  => 'group_cover_image_creation_step',
     1084                        'nonce' => 'groups_create_save_group-cover-image',
     1085                ),
     1086                'group-invites' => array(
     1087                        'hook'     => 'group_invites_creation_step',
     1088                        'nonce'    => 'groups_create_save_group-invites',
     1089                        'template' => 'common/js-templates/invites/index',
     1090                ),
    10741091        );
    10751092
Note: See TracChangeset for help on using the changeset viewer.