Jump to content
vBWarez - Rest In Peace

Recommended Posts

Avatar in Header

This will add user avatar in header.
User without avatar will be show blank avatar.
Unregistered user will not be shown any avatar.


Installation:

-Import the XML file via ... AdminCP > Plugin & Products > Manage Products > Add/Import Product.




Find in header template:
HTML Code:

[HTML]<div id="toplinks" class="toplinks">[/HTML]

Add Below:
HTML Code:

[HTML]<div style="float:right; margin: 5px -12px 5px 10px;">{vb:raw ss_avatar}</div>[/HTML]


You can edit the margins to suit your needs


PS. Minimum height for the logo you are using must be 65 pixels, or else the avatar will be hidden behind the navbar.


Click Install if using this mod.


Thanks


Updated:
18 Dec 09: Changed template edits to correct problems with adverts in the header.
21 Dec 09: Add url to profile.php so avatar can be edited.
22 Dec 09: Working with vBulletin 4.0.0 (Gold)
14 Jan 10: Updated for vBulletin 4.0.1

Link to post
Share on other sites
×
×
  • Create New...