The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How to make navbar code addition work
I added the following code to my posbit that shows users share ratio - I tried to add the same code into the navbar & it only shows the info when I am in a thread and not when on forumhome - do I need to modify a php file as well for it to show on forumhome? thx for the help
HTML Code:
<if condition="$bbuserinfo['userid']"> <td class="alt2" valign="top" nowrap="nowrap"> <div class="smallfont"> <!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>--> <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br /> <!- THIS IS WHAT I ADDED -> <if condition="$show[bt_uploaded] || $show[bt_downloaded]"><font size="1"><u><b><font color="red">YOUR RATIO-></u></b><font color="black">: <if condition="$show[bt_ratio] > 1"><span style="color: blue"><else /><span style="color: red"></if> $show[bt_ratio]<font color="black">  (UL: <span style="color: green">$show[bt_uploaded]</span> DL: <span style="color: blue">$show[bt_downloaded]</span>) </font</span> </if><br> <font color="black"><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]">$vbphrase[private_messages_nav]</phrase></if> </div> </td> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|