Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Combining activities for ‘/user/activity/groups’ & ‘/user/activity/friends’

@shanebp

Moderator

Try using the ‘include’ parameter.

Gather user_ids for bp_loggedin_user_id() + friend ids.
Use those ids to get activity ids.

Then gather activity ids for groups you belong to.

Kick out dupes and pass them in via ‘include’ with scope=false.

Awkward?
Yes, but much less so than ‘remove everything but group posts by group member id’s that are not your friends.’

Skip to toolbar