Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,892
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Did you try it or are you guessing ?
This works for me:
if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&user_id=1,2&scope=false') )
logged in user id = 1
Members 1 & 2 are friends.
They both belong to groups – but not the same groups.
The result shows activity for both members, including group activity.
Again, bp_loggedin_user_id() + ids of their friends.