The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[3.0.7] Currently Online in Header
How would i make it so that it displays who is currently online in the header?
Quote:
|
#2
|
||||
|
||||
*Bump*
|
#3
|
||||
|
||||
This would be a template edit ... Not looked to be honest, but would look at the FORUMHOME Template, find where it tells the browser to display it at the bottom, them move it to wherever you want it at the top.
Let us know exactly where you want to put it and I`ll have a look eg. under navbar? |
#4
|
||||
|
||||
I want it to be on the top of the page in the header.
I tried to ad the $totalonline cmds but it just is blank. I think it is a global.php edit. |
#5
|
||||
|
||||
That's because $totalonline isn't the name of the variable.
Find the following in your FORUMHOME template: HTML Code:
<!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> <a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>) </td> </tr> </tbody> <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]"> <tr> <td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div> <div>$activeusers</div> </div> </td> </tr> </tbody> <!-- end logged-in users --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|