The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I want to display current users online
Hi, im using ver 3.7 and i would like to display the users online in my header right above
the links where the forum name appears. i would like to remove the forum name and put online users. i've attached a pic of what im asking. Thank you for any help. |
#2
|
||||
|
||||
I just tested this and i think what you wanted was this.
I put this code Code:
<if condition="$show['loggedinusers']"> <!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a> <a href="online.php$session[sessionurl_q]" rel="nofollow">$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_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>$activeusers</div> </div> </td> </tr> </tbody> <!-- end logged-in users --> </if> Let me know if this is what you wanted if not i will have another look Mike |
#3
|
|||
|
|||
Hi mike,
Thank you for your response. Question...where can I find the forumhome template? Is it name forumhome.php thanks Rob --------------- Added [DATE]1211588563[/DATE] at [TIME]1211588563[/TIME] --------------- I found the templates... I will try it and let you know.. Thanks --------------- Added [DATE]1211601042[/DATE] at [TIME]1211601042[/TIME] --------------- Hi mike. First, Thank you, you were very helpful and smart.. I actuall wanted it in the frame with the links in the place of the forum title "carteretpeople.com feel free to talk about you town and the people in it. I figured it out. I pasted the script that you posted in the navbar template under navigation breadcrum templates, to get it where i have it now. How can move it to where the forum name/ phase "carteretpeople.com feel free to speak your mind" is. I would like to remove the forum name and phase. Put the users online script in it's place. Lastly, i would like to put the staticts" num of post, thread and welcome newest member section" where i have the currently active users at now. I just need the script. Please! take a look www.carteretpeople.com Thank you Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|