Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/21/2010 11:19:32 AM (16 years ago)
Author:
apeatling
Message:

Fixed issues with the listing of hidden groups when you are logged in. Switched all references of bp_is_home() to the more appropriate bp_is_my_profile().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-sn-parent/activity/just-me.php

    r2168 r2389  
    2626                    <h4><?php echo bp_word_or_name( __( "My Activity", 'buddypress' ), __( "%s's Activity", 'buddypress' ), true, false ) ?> <span><a href="<?php bp_activities_member_rss_link() ?>" title="<?php _e( 'RSS Feed', 'buddypress' ) ?>"><?php _e( 'RSS Feed', 'buddypress' ) ?></a></span></h4>
    2727
    28                     <?php if ( is_user_logged_in() && bp_is_home() ) : ?>
     28                    <?php if ( is_user_logged_in() && bp_is_my_profile() ) : ?>
    2929
    3030                    <form action="" method="post" id="whats-new-form" name="whats-new-form">
     
    5454                    <div class="activity">
    5555
    56                     <?php if ( bp_has_activities( 'user_id=' . bp_displayed_user_id() . '&per_page=25&max=500&display_comments=stream&show_hidden=' . bp_is_home() ) ) : ?>
     56                    <?php if ( bp_has_activities( 'user_id=' . bp_displayed_user_id() . '&per_page=25&max=500&display_comments=stream&show_hidden=' . bp_is_my_profile() ) ) : ?>
    5757
    5858                        <ul id="activity-list" class="activity-list item-list">
Note: See TracChangeset for help on using the changeset viewer.