Changeset 4317
- Timestamp:
- 04/30/2011 05:41:29 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-screens.php
r4316 r4317 105 105 function groups_screen_group_forum() { 106 106 global $bp, $wp_query; 107 108 if ( !bp_is_active( 'forums' ) || !bp_forums_is_installed_correctly() ) 109 return false; 107 110 108 111 if ( bp_is_single_item() && $bp->groups->current_group->user_has_access ) { -
trunk/bp-themes/bp-default/groups/single/home.php
r4009 r4317 39 39 locate_template( array( 'groups/single/send-invites.php' ), true ); 40 40 41 elseif ( bp_is_group_forum() && bp_group_is_visible() ) :42 locate_template( array( 'groups/single/forum.php' ), true );43 44 41 elseif ( bp_is_group_membership_request() ) : 45 42 locate_template( array( 'groups/single/request-membership.php' ), true ); … … 48 45 locate_template( array( 'groups/single/activity.php' ), true ); 49 46 50 elseif ( bp_ group_is_visible() && bp_is_active( 'forums') ) :47 elseif ( bp_is_group_forum() && bp_group_is_visible() && bp_is_active( 'forums' ) && bp_forums_is_installed_correctly() ) : 51 48 locate_template( array( 'groups/single/forum.php' ), true ); 52 49
Note: See TracChangeset
for help on using the changeset viewer.