Skip to:
Content
Pages
Categories
Search
Top
Bottom

Listing activity of followers

  • Hi All

    I am trying to list the activity of users a user is following. I just can’t work it out. It must be possible as it happens on the activity page.

    Any advice on how to filter on this greatly appreciated. I am completelt stuck.

    I have tried modifying the loop etc.

    Regards
    Mike

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is my code for the loop:

    global $bp;
    $com = array(“user_id” => $bp->loggedin_user->id,
    “per_page” => ’7′);

    if ( bp_has_activities( $com ) ) :

    I have tried adding “scope” => ‘following’ to the arguments for the loop. But this does not seem correct. I have tried a whole range of words. I can’t work out how the ‘following’ button on a profile page filters and or amends the activity loop to be the activity of the users a user follows.

    Any help greatly appreciated.

    Regards
    Mike

    Avatar of verleicoeim
    verleicoeim
    Member

    @verleicoeim

    Drowning man will catch at a straw

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.