Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/18/2010 04:46:00 PM (16 years ago)
Author:
apeatling
Message:

Fixes #1997

File:
1 edited

Legend:

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

    r2353 r2740  
    3939                    <?php locate_template( array( 'groups/single/request-membership.php' ), true ) ?>
    4040
    41                 <?php elseif ( bp_group_is_visible() ) : ?>
     41                <?php elseif ( bp_group_is_visible() && bp_is_active( 'activity' ) ) : ?>
    4242                    <?php locate_template( array( 'groups/single/activity.php' ), true ) ?>
    4343
    44                 <?php else : ?>
     44                <?php elseif ( !bp_group_is_visible() ) : ?>
    4545                    <?php /* The group is not visible, show the status message */ ?>
    4646
     
    5252
    5353                    <?php do_action( 'bp_after_group_status_message' ) ?>
     54
     55                <?php else : ?>
     56                    <?php
     57                        /* If nothing sticks, just load a group front template if one exists. */
     58                        locate_template( array( 'groups/single/front.php' ), true );
     59                    ?>
    5460                <?php endif; ?>
    5561
Note: See TracChangeset for help on using the changeset viewer.