Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/10/2010 08:42:42 PM (16 years ago)
Author:
apeatling
Message:

Shifted the filter select from the main activity page tab row onto a second row to accommodate the missing feed link (links will be altered on an upcoming commit). Added a mentions tab. Tweaked a couple of css styles and ID's for better re-use.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-templatetags.php

    r2277 r2287  
    666666    }
    667667
     668function bp_total_mention_count_for_user( $user_id = false ) {
     669    echo bp_get_total_favorite_count_for_user( $user_id );
     670}
     671    function bp_get_total_mention_count_for_user( $user_id = false ) {
     672        return apply_filters( 'bp_get_total_mention_count_for_user', get_usermeta( $user_id, 'bp_new_mention_count' ) );
     673    }
     674
    668675function bp_send_public_message_link() {
    669676    echo bp_get_send_public_message_link();
     
    672679        global $bp;
    673680
    674         return apply_filters( 'bp_get_send_public_message_link', $bp->loggedin_user->domain . $bp->activity->slug . '/?r=' . $bp->displayed_user->userdata->user_login );
    675     }
     681        return apply_filters( 'bp_get_send_public_message_link', $bp->loggedin_user->domain . $bp->activity->slug . '/?r=' . bp_core_get_username( $bp->displayed_user->user_id, $bp->displayed_user->userdata->user_nicename, $bp->displayed_user->userdata->user_login ) );
     682    }
     683
    676684
    677685/* RSS Feed Template Tags ***************************/
Note: See TracChangeset for help on using the changeset viewer.