The principle is the same as trying to get the “My Friends” activity tab as the default one on the activity directory page.
It would require hooking into the “bp_ajax_querystring” filter to override the default activity querystring.
Or you can set the “bp-activity-scope” cookie to “following” and BP will see this cookie and set the following tab as default. Setting the cookie is probably easier to do.
Every English poet should master the rules of grammar before he attempts to bend or break them
Hey, I came up with this solution.
I wanted to make “Following” the default activity sub_nav if I’m visiting my profile and “Personal” if I’m visiting someone elses’. On /plugins/buddypress/bp-activity/bp-activity-loader.php:
`
// Add ‘Activity’ to the main navigation
$main_nav = array(
‘name’ => __( ‘Activity’, ‘buddypress’ ),
‘slug’ => $this->slug,
‘position’ => 10,
‘screen_function’ => ‘bp_activity_screen_my_activity’,
‘item_css_id’ => $this->id,
‘default_subnav_slug’ => bp_is_my_profile() ? ‘following’ : ‘just-me’
);
// Add the subnav items to the activity nav item if we are using a theme that supports this
$sub_nav[] = array(
‘name’ => __( ‘Personal’, ‘buddypress’ ),
‘slug’ => ‘just-me’,
‘parent_url’ => $activity_link,
‘parent_slug’ => $this->slug,
‘screen_function’ => ‘bp_activity_screen_my_activity’,
‘position’ => bp_is_my_profile() ? 29 : 10
);
`
Then change the ‘position’ => of “Mentions” and “Favorites” for values higher than 29 and lower than 40 (“Friends”)
Hope it helps ! I’d like some feedback on this 
The very first law in advertising is to avoid the concrete promise and cultivate the delightfully vague
Drowning man will catch at a straw
@r-a-y quote: The principle is the same as trying to get the “My
Friends” activity tab as the default one on the
activity directory page.
I’ve tried adding a line on the activity loop, but doesnt work:
what argument for ‘following’ tab?
sorry for my english. thanks
@r-a-y quote: The principle is the same as trying to get the “My
Friends” activity tab as the default one on the
activity directory page.
I’ve tried adding a line on the activity loop, but doesnt work:
if ( bp_has_activities( ‘scope=following’) ) : bp_the_activity();
what argument for ‘following’ tab?
sorry for my english. thanks