Patch to show BuddyPress user profile in Widget:
In vbsso.php replace:
Code:
$metalinks .= $this->build_notifications();
$metalinks .= '<li><a href="' . admin_url() . '" rel="nofollow">' . __('Site Admin') . '</a></li>';
$metalinks .= '<li><a href="' . site_url('wp-admin/profile.php') . '" rel="nofollow">' . __('Profile') . '</a></li>';
with:
Code:
if ( function_exists('buddypress') )
{
$metalinks .= '<li><a href="' . bp_get_loggedin_user_link() . '" rel="nofollow">' . __('Profile') . '</a></li>';
}
else
{
$metalinks .= $this->build_notifications();
$metalinks .= '<li><a href="' . admin_url() . '" rel="nofollow">' . __('Site Admin') . '</a></li>';
$metalinks .= '<li><a href="' . site_url('wp-admin/profile.php') . '" rel="nofollow">' . __('Profile') . '</a></li>';
}