Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/16/2011 08:08:45 PM (15 years ago)
Author:
boonebgorges
Message:

Adds toggle for who can send group invitations, in order to make the option more consistent and configurable throughout BP. Fixes #2005. Props DJPaul for help cleaning up the patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/groups/create.php

    r4347 r4524  
    107107                    </div>
    108108
     109                    <hr />
     110                   
     111                    <h4><?php _e( 'Group Invitations', 'buddypress' ); ?></h4>
     112
     113                    <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ) ?></p>
     114               
     115                    <div class="radio">
     116                        <label>
     117                            <input type="radio" name="group-invite-status" value="members"<?php bp_group_show_invite_status_setting( 'members' ) ?> />
     118                            <strong><?php _e( 'All group members', 'buddypress' ) ?></strong>
     119                        </label>
     120               
     121                        <label>
     122                            <input type="radio" name="group-invite-status" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ) ?> />
     123                            <strong><?php _e( 'Group admins and mods only', 'buddypress' ) ?></strong>
     124                        </label>
     125                       
     126                        <label>
     127                            <input type="radio" name="group-invite-status" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ) ?> />
     128                            <strong><?php _e( 'Group admins only', 'buddypress' ) ?></strong>
     129                        </label>
     130                    </div>
     131               
     132                    <hr />
     133
    109134                    <?php do_action( 'bp_after_group_settings_creation_step' ); ?>
    110135
Note: See TracChangeset for help on using the changeset viewer.