Quote:
Originally Posted by guyincorby
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
|
Thanks for taking the time to answer me.
I tried what you suggested but unfortunately it didn't work. As soon as I turn the weclome block off in vbadvanced the avatar in the welcome hack goes off too. Even after making your suggested change.