The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
How is it possible to add an info box on the right of the header, like the one on vb.org saying:
Code:
Welcome, username. You have # unread messages; Total ##. You last visited: Yesterday at 12:00. |
|
#2
|
||||
|
||||
|
You have to edit your header template and put this code into a <span style="float: right" class="smallfont"> tag, before the banner part of code:
Code:
<span style="float: right" class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</span>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|