The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Currently Active Users In Header
Would it be possible for anyone to help me get the 'currently active users' section from the forumhome, to work in the header template?
|
#2
|
|||
|
|||
Hi
Find in forumhome 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]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$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_q]" rel="nofollow"><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> <a href="http://www.bashys-place.com/forums/member.php?u=560"><span style="color: red; font-weight: bold;">Sherlock Holmes</span></a> , <a href="http://www.bashys-place.com/forums/member.php?u=8"><span style="color: orange; font-weight: bold;">TinyTim</span></a> , <a href="http://www.bashys-place.com/forums/member.php?u=239">superstar</a> , <a href="http://www.bashys-place.com/forums/member.php?u=378">dogby</a> , $activeusers</div> </div> </td> </tr> </tbody> <!-- end logged-in users --> Code:
<!-- /logo --> |
#3
|
||||
|
||||
yeah, i took the info from forumhome and put it in footer (which i need not header sorry)
but it doesnt work on every page in footer |
#4
|
|||
|
|||
Got it!
Inspired on vBExternal and live stats on header 1. Add a plugin to set the value of $onlineusers 2. Edit header template to add $onlineusers Check it out my site w/ it http://sinsdawn.ffproject.net/index.php The mod https://vborg.vbsupport.ru/showthread.php?t=122388 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|