The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
howto get "Currently Active Users Viewing This Thread"/forum at top?
How do I get the tables that show who is viewing the thread or forum at the top of the forum / thread?
|
#2
|
||||
|
||||
Template FORUMDISPLAY
|
#3
|
||||
|
||||
I was kinda looking for what code and where to move it actually. Can somebody give more details?
|
#4
|
||||
|
||||
$activeusers
|
#5
|
||||
|
||||
Wow, you really don't know how to help do you.
|
#6
|
||||
|
||||
Well, sometimes I'm a bit lazy, sorry
If you open Template FORUMDISPLAY and scroll down approx. 40% qou will find a section of HTML Code starting with HTML Code:
<!-- Active Users in this Forum (and sub-forums) and Moderators -->
HTML Code:
<if condition="$show['activeusers']"> <td class="alt1"><div class="smallfont">$activeusers</div></td> </if> |
#7
|
||||
|
||||
What do you mean "In this Section you can find"? Where do I put what code? I don't know what to pull or where to put it.
|
#8
|
||||
|
||||
Take $activeusers and put it wherever you want in the same Template.
Where is up to you and I can't tell you as I don't know where you want to have it exactly |
#9
|
||||
|
||||
All that does is move the text. See when you view a thread here at vbulletin.org? That's how and where I want it to appear in my threads and forums. Can you tell me how I can get it to look like that?
|
#10
|
||||
|
||||
Ok you have to change the SHOWTHREAD template. Move the following code over
<!-- controls above postbits --> and set a <br /> afterwards, thats it. Code:
<!-- currently active users --> <if condition="$show['activeusers']"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="2"> <phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase> </td> </tr> <tr> <td class="alt1" colspan="2"> <span class="smallfont">$activeusers</span> </td> </tr> </table> </if> <!-- currently active users --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|