Oh okay, I hadn’t seen any posts on this yet.
I’ll keep a watch on yours.
Any response to this? I’d love to figure this out too
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