How to add different scope to site wide activity vs profile/activity
I am trying to add a specific scope (Friends) to the site wide activity, while keeping the activity stream on individual member profile pages to only their activity.
I adjusted the activity-loop.php with the following:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&scope=friends&action=activity_update' ) ) : ?>
This gives me only posts from my friends, as it is supposed to, but also affects the activity stream on the profile page. I would like that activity stream to only show that user’s activities.
Any idea how to do this?
Also, bonus question, as I can’t seem to get this right – where would I add discussion = threaded to add comments to the above filtered stream?
- The topic ‘How to add different scope to site wide activity vs profile/activity’ is closed to new replies.