Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/10/2008 05:20:12 PM (18 years ago)
Author:
apeatling
Message:

Adding member theme updates to support group forums.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/member-themes/buddypress-member/groups/group-home.php

    r602 r644  
    1111       
    1212        <div class="left-menu">
    13                 <?php bp_group_avatar() ?>
    14                
    15                 <?php bp_group_join_button() ?>
    16                
    17                 <div class="info-group">
    18                         <h4><?php _e( 'Admins', 'buddypress' ); ?></h4>
    19                         <?php bp_group_list_admins() ?>
    20                 </div>
    21                
    22                 <?php if ( bp_group_has_moderators() ) : ?>
    23                 <div class="info-group">
    24                         <h4><?php _e( 'Mods', 'buddypress' ); ?></h4>
    25                         <?php bp_group_list_mods() ?>
    26                 </div>
    27                 <?php endif; ?>
     13                <?php load_template( TEMPLATEPATH . '/groups/group-menu.php' ) ?>
    2814        </div>
    2915
     
    5339                                </div>
    5440                        <?php endif; ?>
     41                       
     42                        <?php if ( bp_group_is_visible() && bp_group_is_forum_enabled() && function_exists( 'bp_forums_setup') ) : ?>
     43                                <div class="info-group">
     44                                        <h4><?php _e( 'Active Forum Topics', 'buddypress' ); ?></h4>
     45                                        <p><?php bp_group_active_forum_topics() ?></p>
     46                                </div>
     47                        <?php endif; ?>
    5548               
    5649                        <?php if ( bp_group_is_visible() ) : ?>
     
    6154                        <?php endif; ?>
    6255               
    63                         <?php if ( bp_group_is_visible() ) : ?>
     56                        <?php if ( bp_group_is_visible() && bp_group_is_wire_enabled() ) : ?>
    6457                                <?php if ( function_exists('bp_wire_get_post_list') ) : ?>
    6558                                        <?php bp_wire_get_post_list( bp_group_id( false ), __( 'Group Wire', 'buddypress' ), sprintf( __( 'The are no wire posts for %s', 'buddypress' ), bp_group_name( false ) ), bp_group_is_member(), true ) ?>
Note: See TracChangeset for help on using the changeset viewer.