Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Remove the ‘view’ button in the activity stream

@rogercoathup; Yep, I hacked the core previously due to lack of time to recode things, but upgraded to the latest BP today and found a number of issues (for me) were fixed. So only one small core hack now. Our site is fine with the &middots in the strings, which you can see at http://lincme.co.uk/community if you’re curious.

On a (kind of) similar note, I think the functions.php idea works well, with filters, etc. We wanted the last logged-in time shown only to logged-in members, and this seems to have done the trick fine (one for activity streams, one for the profile page);

function hide_activity($content) {
if ( !is_user_logged_in() ) {
$content=’Please log-in to view last visit time.’;
}
return $content;
}
add_filter(‘bp_member_last_active’, ‘hide_activity’, $last_activity);
add_filter(‘bp_last_activity’, ‘hide_activity’, $last_activity);

Skip to toolbar