![]() |
how to add avatar in navbar
Hi,
I've tried to add the avatar into the navbar right to the 'Welcome Username'. I've added this code: Code:
<if condition="$show['avatar']"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></if> Any suggestions? Andreas |
Try the "Welcome Panel" modification. It includes the avatar. I found that by the way by typing "avatar in navbar" in the search box at the top of the page. ;)
|
Thanks but that's not exactly waht I have been looking for.
No stats, just a simple line of code showing the avatar! Andreas |
Take that modification, install it, and then edit it to your needs. I suggested that because you need to put the avatar in the scope of the navbar and that modification does that for you. ;)
|
I've done it, installed it, but it was too much!
Unistalled again. And unfortunately I'm not good enough in coding to scratch out the needed code... Andreas |
Try this out: https://vborg.vbsupport.ru/showthrea...ghlight=avatar
|
Just right! Thanks a lot!
Andreas |
All times are GMT. The time now is 02:45 AM. |
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:
|