The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Avatar in header?
I'm kinda new around here. Just learning to hack vb really. I was wondering how to display the avatar image in the header. I tried to figure it out for awhile but like I said I'm new to hacking vb. I usually just do graphix. So can anyone please let me now how to do this. I'd be very grateful.
|
#2
|
||||
|
||||
Open header template.
Add <img src="avatar.php?userid=$bbuserinfo[userid]"> anywhere in your header template where you want the avatar to show. Only works for custom avatars. |
#3
|
|||
|
|||
thanx man. I'm kinda getting the hang of it. Got gforce2k2 to bug when I really need help though lol
|
#4
|
||||
|
||||
Geez is it that simple?
I mean i have an extra query for the avatar display on forumhome so it displays their avatar if they have one and the "No avatar" or "Guest" avatar ... Any way to get round this without it adding a query? - miSt |
#5
|
||||
|
||||
That <img src=""> tag for custom avatars adds a query anywhere, although it doesn't show up on microstats. The query is through avatar.php which has to find the avatar from the db.
|
#6
|
||||
|
||||
Ohhhhh i see
- miSt |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|