Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_has_activities – how to remove default filtering by BuddyPress template


  • marcusjwilson
    Participant

    @marcusjwilson

    Hi –

    We’ve created a widget that shows the logged in user’s latest activities.

    It all works fine, but when the user navigates to a BuddyPress page – for instance a Group page – the activity stream is filtered to just that group’s activity. But we want to retain a global scope for the user’s activity feed in the widget on all pages.

    We’re current using:

    if ( bp_has_activities( '&max=4&display_comments=stream&user_id=0&scope=0' ) ) :
    while ( bp_activities() ) : bp_the_activity(); ?>

    However, this doesn’t seem to set the activity feed for the user to global scope, and it’s still filtering for group activity in Group templates.

    Can anyone suggest a resolution?

    Thanks
    Marcus

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘bp_has_activities – how to remove default filtering by BuddyPress template’ is closed to new replies.
Skip to toolbar