Note sure if anyone else has noticed, but at least within beta 9 when you are viewing someone else's profile, your avatar changes to theirs. I found this to be quite annoying, but here is the fix for it.
To change the call for the avatar in the profile box, open "/templates/your template/logged_in.tpl" and around line 7:
Now we must define Avatar_ImgSrc2, so open up "/user.php" at line 87 and right below the original "$main_smarty->assign('Avatar_ImgSrc',...)", add:Code:change: {Avatar_ImgSrc} to: {Avatar_ImgSrc2}
Also, open up "/libs/smartyvariables.php" at line 29 and change:Code:$main_smarty->assign('Avatar_ImgSrc2', get_avatar('large', $user->avatar, $current_user->user_login, $user->email));
toCode:if($current_user->user_login){$main_smarty->assign('Avatar_ImgSrc', get_avatar('large', "", $current_user->user_login));}
Enjoy!Code:if($current_user->user_login){ $main_smarty->assign('Avatar_ImgSrc', get_avatar('large', "", $current_user->user_login)); $main_smarty->assign('Avatar_ImgSrc2', get_avatar('large', "", $current_user->user_login)); }



Reply With Quote




