Skip to:
Content

BuddyPress.org

Ticket #1125: create.patch

File create.patch, 1.3 KB (added by messenlehner, 16 years ago)

Patch for /bp-themes/bp-sn-parent/groups/create.php to add semi-private group radio button and description

  • create.php

     
    7070                                                        <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ) ?></li>
    7171                                                </ul>
    7272                                        </label>
    73                
     73                                       
     74                    <label>
     75                        <input type="radio" name="group-status" value="semi"<?php bp_group_show_status_setting('semi') ?> />
     76                        <strong><?php _e( 'This is a semi-private group', 'buddypress' ) ?></strong>
     77                        <ul>
     78                            <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ) ?></li>
     79                            <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ) ?></li>
     80                            <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ) ?></li>
     81                        </ul>
     82                    </label>
     83                   
    7484                                        <label><input type="radio" name="group-status" value="private"<?php if ( 'private' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> />
    7585                                                <strong><?php _e( 'This is a private group', 'buddypress' ) ?></strong>
    7686                                                <ul>