Skip to:
Content

BuddyPress.org

Changeset 4327


Ignore:
Timestamp:
05/03/2011 09:09:55 PM (14 years ago)
Author:
djpaul
Message:

Fix group not showing forum template

File:
1 edited

Legend:

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

    r4317 r4327  
    3939                    locate_template( array( 'groups/single/send-invites.php' ), true );
    4040
     41                    elseif ( bp_is_group_forum() && bp_group_is_visible() && bp_is_active( 'forums' ) && bp_forums_is_installed_correctly() ) :
     42                        locate_template( array( 'groups/single/forum.php' ), true );
     43
    4144                elseif ( bp_is_group_membership_request() ) :
    4245                    locate_template( array( 'groups/single/request-membership.php' ), true );
     
    4447                elseif ( bp_group_is_visible() && bp_is_active( 'activity' ) ) :
    4548                    locate_template( array( 'groups/single/activity.php' ), true );
    46 
    47                 elseif ( bp_is_group_forum() && bp_group_is_visible() && bp_is_active( 'forums' ) && bp_forums_is_installed_correctly() ) :
    48                     locate_template( array( 'groups/single/forum.php' ), true );
    4949
    5050                elseif ( bp_group_is_visible() ) :
Note: See TracChangeset for help on using the changeset viewer.