This topic has 1 reply, 1 voice, and was last updated 10 years by daniellemarie.

  • Author
  • #10385
     daniellemarie
    Participant

    I have edited the activity-loop.php file to show all updates but hide any friend related updates in the Activity Feed, as per the Activity Loop documentation on Buddypress.

    Here’s my code:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&action=new_member,activity_update,activity_comment,new_forum_topic,new_forum_post,new_blog,new_blog_post,new_blog_comment,created_group,joined_group' ) ) : ?>

    All is working fine, however all updates with images are now not showing in the Activity Feed.

    Do I need to add another object type to filter to enable this?

    Thanks

    #10386
     daniellemarie
    Participant

    Ah just realised what the issue was. I should have been using this instead:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&object=activity,groups,status,blogs' ) ) : ?>

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

The topic ‘Activity Loop – Removing Friends Related Updates’ is closed to new replies.

Log in with your credentials

Forgot your details?