Skip to:
Content
Pages
Categories
Search
Top
Bottom

Only friends and group members activity

  • Avatar of fbenver
    fbenver
    Participant

    @fbenver

    Hello everyone,

    I am editing the activity loop of the buddypress and I only want the activity page to show the activity of “friends” and “group members” (for example, when a group members posts an update or anything in the group where I am a member of, but doesn’t show the updates of group I am not a member of).

    I have this code for friends activity only <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&scope=friends&action=activity_update' ) ) : ?>

    But I want it to include the, above said, group members activity.

    Kind regards and thanks in advance.

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

You must be logged in to reply to this topic.