Quote:
Originally Posted by Dismounted
Have a look at functions_user.php.
|
Thanks, I solved with a hack "no avatar", just had a role to which I was interested in the place here to help others:
PHP Code:
require_once('"folder of the forum"/includes/functions_user.php');
$navbar_ava = fetch_avatar_url($vbulletin->userinfo['userid']);
// We check if you have avatar
if (!is_array($navbar_ava)){
echo'<img src="'.$forumpath.'images/avatars/noavatar.gif" border="0">';
}else{
echo'<img src="'.$forumpath.'customavatars/avatar'.$vbulletin->userinfo['userid'].'_'.$vbulletin->userinfo['avatarrevision'].'.gif" border="0">';
}
Greetings