Who's Online Top Of Forum Display

Moegames

New Member
Just a small mod i slapped together for my forums. I also attached this mod save in a rar file and attached it at bottom of this post incase you want to save this to your collection of vb 3.7.x mods.

Before executing this edit, make sure you save/backup the ForumDisplay Templete Code on notepad or something just to be safe. You should do that with any templete mod edit regardless...just a wise habbit to get into doing every time you tinker. You must do this for each skin/theme you have installed in your forums although its a simple quick mod that only takes a few minutes to do.

You must have "show users browsing forums" enabled in Vbulletin Options/Forum Display Options (forumdisplay) Settings in order for this to work.

1. Go Into AdminCP/Style Manager/You Skin/Edit Templetes/Forum Display Templetes/

2. Open ForumDisplay Templete

3. And Look For: $navbar

4. PUT THE FOLLOWING CODE UNDER $navbar



PHP:
<!-- Active Users in this Forum (and sub-forums) and Moderators -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">



	<if condition="$show['activeusers']">
	<td class="alt1"><div class="smallfont">Viewing This Section: $activeusers</div></td>
	</if>
	<if condition="$show['moderators']">
	<td class="alt1"><div class="smallfont">$moderatorslist&nbsp;</div></td>
	</if>
</tr>
</table>

</form>
<!-- End Active Users in this Forum (and sub-forums) and Moderators -->
<br/>
 
K3V said:
Nice, Is there any chance of changin'/addin' usergroups i.e Admins ?

Thats something i thought of doing but if you think about it, not even the built in "forumdisplay who's online feature" in Vbulletin has a usergroup feature..so it would require alot of work on my part to add that in and i would probally need to make this into a "install" product/plug in a xml file as im sure it will require alot more edits for user wanting to use this edit with added usergroup permission settings...i'll look into that though.

As it is at this point..this mod of mine shows all usergroups by default like the the built in forumdisplay who's online in vbulletin already does..i just made my own version for the top of forumdisplay.

This is where it is in vbulletin by defualt (if you have it turned on) in case anyone didnt notice it before..and even adding my small edit/mod..i leave that bottom who's online alone..i dont mess with it, i just made my own at the top for member convenience ..which i really feel vbulletin should give that option to us from the start.
 
Back
Top