Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/02/2010 05:54:12 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1752

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/activity.php

    r2491 r2539  
    1111                    <option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>
    1212                    <option value="new_blog_comment"><?php _e( 'Show Blog Comments', 'buddypress' ) ?></option>
    13                     <option value="friendship_accepted,friendship_created"><?php _e( 'Show Friendship Connections', 'buddypress' ) ?></option>
     13
     14                    <?php if ( bp_is_active( 'friends' ) ) : ?>
     15                        <option value="friendship_accepted,friendship_created"><?php _e( 'Show Friendship Connections', 'buddypress' ) ?></option>
     16                    <?php endif; ?>
    1417                <?php endif; ?>
    1518
    16                 <option value="new_forum_topic"><?php _e( 'Show New Forum Topics', 'buddypress' ) ?></option>
    17                 <option value="new_forum_post"><?php _e( 'Show Forum Replies', 'buddypress' ) ?></option>
    18                 <option value="created_group"><?php _e( 'Show New Groups', 'buddypress' ) ?></option>
    19                 <option value="joined_group"><?php _e( 'Show New Group Memberships', 'buddypress' ) ?></option>
     19                <?php if ( bp_is_active( 'forums' ) ) : ?>
     20                    <option value="new_forum_topic"><?php _e( 'Show New Forum Topics', 'buddypress' ) ?></option>
     21                    <option value="new_forum_post"><?php _e( 'Show Forum Replies', 'buddypress' ) ?></option>
     22                <?php endif; ?>
     23
     24                <?php if ( bp_is_active( 'groups' ) ) : ?>
     25                    <option value="created_group"><?php _e( 'Show New Groups', 'buddypress' ) ?></option>
     26                    <option value="joined_group"><?php _e( 'Show New Group Memberships', 'buddypress' ) ?></option>
     27                <?php endif; ?>
    2028
    2129                <?php do_action( 'bp_member_activity_filter_options' ) ?>
Note: See TracChangeset for help on using the changeset viewer.