View Full Version : User Avatar
lasto
10-24-2008, 06:03 AM
I want to call in the user avatar but i dont want to have to add a hack to do this such as the welcome panel as i only need the avatar part to display in my side menu.
Does anyone know the code to call this in plz.
lasto
10-26-2008, 03:36 PM
im using this code :
<a href="profile.php?$session[sessionurl]do=editavatar"><center><img src="image.php?u=$bbuserinfo[userid]" alt="Your avatar" border="0" /></center></a>
and it calls it and displays it in side menu just fine but the problem is = if i change the avatar it changes fine in postbit but not in my side menu which keeps the old avatar.
Lynne
10-26-2008, 03:43 PM
Did you try hitting refresh on the page? (or Force Refresh - shift + refresh)
lasto
10-26-2008, 03:53 PM
can refresh as many times as i like it did`nt change in side menu but changed instantly in postbit.
It sort of made me believe the code i was using to call in the avatar was not the right one even though it displays fine.
Lynne
10-26-2008, 05:54 PM
It could be that the avatar has not been determined at the time that the side bar is spit out. It's hard to say with the information given. I've never put a side bar on my site, so I'm not familiar with how any of them are added and when the code for them is spit out.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.