![]() |
How to include avatar in header?
I'm looking for a way to place user avatars in my header when they log-in. This is the header image.
http://img341.imageshack.us/img341/726/headerimgdu1.png You can see the spotlight on the icon. I want to remove the icon and just leave the spotlight. Right no problem there. What I can't do is code in it's place the users avatars or the default avatar if its a guest. This would allow me to remove the avatar from the navbar and really personalize the site for my members. I could have this set as the header background and use the avatars over it. That would work also. If anyone can help me out with this I would appreciate it. Thanks. Gabe |
I guess this should have gone in programing discussion. Sorry about that. But, if anyone has a solution I would love to hear/see it.
|
I would check out this hack:
https://vborg.vbsupport.ru/showthrea...ghlight=avatar and manipulate it a little to your fitting. Should be relatively simple |
Thanks paul. That was the hack I was using originally. It worked and was easy enough to get in the header I just can't line it up under the spotlight. My knowledge of code is very poor. Right now I have align="left" but if I put in 40 or 40px (just an example) it doesn't move. Any ideas?
|
hard to say without looking at the code, although you could try some css, absolute positioning for example ;)
|
Code:
<div id="logo" align="left" valign="top"><a href="profile.php?$session[sessionurl]do=editavatar"><img src="$navbar_ava[0]" alt="Your avatar" border="0" /> Can anyone help me with this alignment problem, please? I can show the rest of the code if needed. I just need to align avatars under the spotlight on that header image. Well heres the code. header template: Code:
<!-- set below for skin width--> Code:
/* ***** styling for 'big' usernames on postbit etc. ***** */ |
All times are GMT. The time now is 05:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|