The code I posted has nothing to do with vbulletin. Thats straight from our smf2.php file
Your avatar in the forum is this
http://www.livefolio.com/forum/avata...d/avatar_3.png
what would be interesting to know is what is the avatar information being stored in smf
So what is the entry for the actual user dan out of the members table avatar field?