Quote:
Originally Posted by nathanaus
Second issue.
Again relates to VBadvance. If you turn off the vbadnaced "welcome panel" it turns off the showing of avatars on the welcome hack. It almost defeats the purpose to have the two welcome hacks working side by side, but you don't have a choice. Any way around this?
|
There is a way to have the user avatar show up without having the "Vbadvanced Welcome Module" loaded.
Look for the code below in
global php
Code:
$bbuserinfo['user_avatar']="<img src='{$bbuserinfo['user_avatar']}' alt='Edit Your Avatar' border='0'>";
and replace it with this.
Code:
$avatarurl = fetch_avatar_url($bbuserinfo['userid']);
$avatarurl = iif($avatarurl, $vboptions['bburl'] . '/' . $avatarurl, $stylevar['imgdir_misc'] . '/noavatar.gif');
The code needs cleaning up a bit but it works