The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Avatar on left side navbar?
Hello I have asked this before and have not still not found the way to get the avatar to be put in the navbar, beside the welcome info, please see the attached pic.
I really need to do this and I know you guys know how, please some help |
#2
|
||||
|
||||
Did you use my avatar code I posted on the forums once? I would find it for you, but I'm a bit short of time.
|
#3
|
||||
|
||||
Quote:
When you have time it would be very appreciated if you could help me with this. Thank you. |
#4
|
||||
|
||||
PHP Code:
|
#5
|
||||
|
||||
Thank you so much Dismounted, now I'm sorry to ask this, but where do that code go?
|
#6
|
||||
|
||||
bump, sorry i need to know where to put this
|
#7
|
||||
|
||||
In a plugin. $avataurl will contain the URL, so just use a normal image tag.
|
#8
|
||||
|
||||
Thanks Dismounted, so I put that code in as a plugin, than I put $avataurl in the navbar where I want to display the avatar???
Also with the plugin, what hook location do I put it? Thanks so much? Also how would I have like a default avatar their, just an image like I in vBadvanced, that says "No avatar" and when they click it it brings them to the avatar options? |
#9
|
||||
|
||||
Hook Location: global_start
As I said before, $avatarurl only contains the URL (as per the variable name). You will have to code the image tag. |
#10
|
||||
|
||||
As dismounted says, put <a href="$avatarurl" alt="" /> in the navbar template.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|