what i ended up coming up with
Code:
require_once(DIR . '/includes/functions_user.php');
$drcav = fetch_avatar_url($thread[postuserid]);
if (!$drcav) {
$drcav = $stylevar['imgdir_misc'] . '/unknown.gif';
} else {
$drcav = $vbulletin->options['bburl'] . '/' . $drcav[0];
}
but good news and bad news. this works but will cause an additional query per avatar on the page since it has to fetch it, with avatars in file system there is no way around this, unless...
food for thought (for me to return to lol)
Code:
you take $vboptions[SomeFolderNameOption]/avatar$thread[postuserid]_1.gif
but how to get that pesky revision number... hmm
$array['avatarrevision']
so to keep with the products title, i can not in good faith release this as an update. What i can do though is release another version altogether =) that way both sides can be happy... I hope. but its past 1 am here
heres a quick fix for now, i will release the revised version when i wake up
THIS IS ONLY FOR AVATARS IN FILESYSTEM! and was intended to fix max's issues to be good enough for now
and does not work in search results till tomorrow, only forumdisplay as im doing it as a quick fix before bed. again i will work the rest out tomorrow