gigaenvy
03-22-2009, 01:19 PM
Hi,
I am trying to display the avatar of members on a custom template page for non-registered guests who visit. The avatar shows fine if the user is logged in, but for guests and those not logged in I get the GD default Vbulletin image being pulled from image.php?u=0.
Is there a way to show member avatars on custom pages served by Vbulletin?
Current code is the following:
<a href="http://www.domain.com/forums2/profile.php?$session[sessionurl]do=view"><img src="http://www.domain.com/forums2/image.php?u=$bbuserinfo[userid]" alt="Some avatar" border="0" /></a>
Thanks for any help that can be provided.
I am trying to display the avatar of members on a custom template page for non-registered guests who visit. The avatar shows fine if the user is logged in, but for guests and those not logged in I get the GD default Vbulletin image being pulled from image.php?u=0.
Is there a way to show member avatars on custom pages served by Vbulletin?
Current code is the following:
<a href="http://www.domain.com/forums2/profile.php?$session[sessionurl]do=view"><img src="http://www.domain.com/forums2/image.php?u=$bbuserinfo[userid]" alt="Some avatar" border="0" /></a>
Thanks for any help that can be provided.