![]() |
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?
|
Template FORUMDISPLAY
|
I was kinda looking for what code and where to move it actually. Can somebody give more details?
|
$activeusers
|
Wow, you really don't know how to help do you.
|
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']"> |
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.
|
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 :) |
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?
|
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 --> |
Quote:
|
Have turned "Benutzer in einem Thema anzeigen?" in the vbulletin options on? I think this must be the reason why you dont see the freature ;)
|
Quote:
frage, was muss ich ver?ndern, damit es so aussieht, wie hier im Forum also alles oben nicht nur wer sich den thread/das Forum ansieht? alsodie Forum ansicht. |
I think thats it, but take a look. For the foruminfos go to the FORUMDISPLAY template and search for <!-- Active Users in this Forum (and sub-forums) and Moderators --> move the code between in front of <!-- sub-forum list --> then set a <br /> finished :)
Also bearbeite das FORUMDISPLAY Template, dort suchst Du nach <!-- Active Users in this Forum (and sub-forums) and Moderators --> den Code dazwischen (inkl. <!-- Active Users in this Forum (and sub-forums) and Moderators --> am Anfang und Schluss) setzt Du vor <!-- sub-forum list --> . Dann noch ein <br /> damit Du den Abstand ein wenig vergr?sserst und gut ist :) Greetz Sven |
Quote:
|
Wait a moment a take a look at your board, at mine it works fine. It could be possible that your style works a little bit "stange" (i dont see the sourcetext because of frames ....) :)
Can you post your template code please. Edit: maybe it could be better you post the code before <if condition="$show['forumslist']"> not afterwards :ermm: Edit II: shurely that was the problem (i think *bg*) Take a look at my board ;) Edit III: switched back, i like the foruminfos downstairs more :D |
1 Attachment(s)
hier bitte vielleicht kannst die datei downloaden und anpassen, damit es geht :) thx
|
Could you guys please talk in english or move on to vbhacks-germany.com?
Thank you. |
Quote:
@papst, wait a minute a take a look :) |
Quote:
|
1 Attachment(s)
What are you doing?? Was the attached file the original template?? Anyway my attached file shows the online status at top and in the footer (if it works you just have to delete the second code).
Edit: you also can write me a PM in german ;) |
1 Attachment(s)
this one should work.
hmm its not working.... strange... :( |
I think we're talking about two different pairs of shoes ;) i meant the FORUMDISPLAY Template not the FORUMHOME. If you do the modifications like postet it must be working .... :)
|
Quote:
verdammt ich sitze schon zu lange hier im b?ro. die ganzen versicherungsbilanzen machen mich schon richtig richtig dumm :D so if i put in the file you loaded up, it will work? |
ENGLISH:
No this was just your attached file (modified but not the think you first wanted)! Please load up the FORUMDISPLAY template and I modify it for you :) GERMAN: NEIN, das war dein angeh?ngtes File (modifiziert, aber nicht im urspr?nglichen Sinne), gib mir das FORUMDISPLAY Template und ich editier es f?r dich. _________________________________ Now relaxe please and drink a coffee :D |
1 Attachment(s)
maybe the coffee is the problem :D and the french around me... 6 weeks for business in paris :o ;)
|
1 Attachment(s)
Hope it works fine :)
|
Quote:
hmm but what about the currently active users in the board? |
Oh yes i forgot, maybe i have to drink a coffee. Please wait ten minutes then i'm @home
So now we can go on. Go to the Admin Control Panel --> vBulletin Settings (vBulletin Einstellungen) --> Forum: forumdisplay (Forenanzeige) --> turn on "show active users" (Aktive Benutzer in den Foren anzeigen?) |
Quote:
Thx a lot :) |
can I know how to do it since I try this and doesnt work
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 --> Thanks |
is this possible to use for v3.5 ? :)
|
The replies in this thread are absolutely useless.
RJ |
like your life?
|
Quote:
Thanks |
is this the forumdisplay.php file that should be edited..im using v 3.7
Quote:
|
All times are GMT. The time now is 12:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|