Buddypress Display only Updates by default



Buddypress activity river displays all activities like x is now friend with y, x likes y’s activity, z is now a registed member , this is sometimes confusing , most of us prefer display updates only in this stream to acheive this do the followings

goto Appearance >> Editor >> Activity_loop.php

first add this block of code to top

<?php if (strlen(bp_ajax_querystring( ‘activity’))==0)
$acMode=bp_ajax_querystring( ‘activity’) ;

now find the line

if ( bp_has_activities( bp_ajax_querystring( ‘activity’) ) )

replace with

if ( bp_has_activities( $acMode ) ) : ?>

Update file and check your site, the default stream will display only status updates


  1. As I can do that on the cover display updates only if you are logged in and if not display the default cover page of wordpress?

  2. Sorry, i use google translator, only speak spanish.
    Need set home page for guest and users registers:
    guest => home for guest (presentation)
    registred users => home for registred users (last updates)
    The homepage in http://miwebsite/

    When user is registred hide the presentation page and replace with last updates.

    Who make this?

  3. Hi, this does work 🙂
    But, it has an issue: When you open the activity page, just updates are posted. NICE.
    But, if you click on LOAD MORE ACTIVITY, the new activity that displays includes everything, not just updates.

    Could you please add a fix to this and help me out? 🙂

    Much appreciated!


Please enter your comment!
Please enter your name here