MyBB Community Forums

Full Version: Make Who's browsing forum "pretty". Tiny Modification
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guess you can call it a simple mod. VERY easy to do.

ACP----->Templates----------->ForumDisplay Templates----------forumdisplay_usersbrowsing/expand delete what is in there and replace with the code below.

<div class="tborder">	<div class="tcat" style="padding: 4px;">{$lang->users_browsing_forum} </div>	<div class="trow1" style="padding: 4px;">{$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</div></div><br />

It will give the following effect...
[attachment=10436]

Do note that i moved it to the bottom of the page which means doing another thing. If you wanna do that let me know and i will post it. Anyways the image is to show how it will look after you do what i said above. If yours is on top of the forum then that is where it will show unless you move it like i did.

Enjoy!!!
i applied your Code
and to me The User Browsing Bar Comes GOod
But the Problem is The Bar is still on the Top

and Not the Bottom.


EDIT: Yes, I'd Like to have the bar at the Bottom. How do i do it?
Templates------Forum Display-----------forumdisplay_threadlist

Then look for the the following
</table>
<div class="float_left">
	{$multipage}
</div>
<div class="float_right" style="margin-top: 4px;">
	{$newthread}
</div>
<br/>
<br/>
{$usersbrowsing}
<br style="clear: both;" />
<br />
<div class="float_left">
	<div class="float_left">

I added in
<br>
<br>
{usersbrowsing}



AFTER you do that open/edit forumdisplay template and remove {usersbrowsing} REMEMBER when you delete that out to get rid of the space it leaves.
It should look like below
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$moderatedby}
{$rules}
{$subforums}
{$threadslist}
{$footer}
</body>
</html>

Oh and you will have to do this for each template/theme you have.

Enjoy. Smile
Thank you Bro ..

Very Much !

Works Smooth.

Thank again

BTW i'm sending you a PM.. please Read it.
For me, I use this:
<table border="0" cellspacing="1" cellpadding="6" class="tborder" style="clear: both;">
	<tr>
		<td class="tcat" width="100%"><span class="smalltext"><strong>{$lang->users_browsing_forum}</strong></span></td>
	</tr>
	<tr>
		<td class="trow1">{$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</td>
	</tr>
</table>
<br />

Similarily, this is what the forumdisplay_moderatedby shows:
<table border="0" cellspacing="1" cellpadding="6" class="tborder" style="clear: both;">
	<tr>
		<td class="tcat" width="100%"><span class="smalltext"><strong>{$lang->moderated_by}</strong></span></td>
	</tr>
	<tr>
		<td class="trow1">{$modlist}</td>
	</tr>
</table>
<br />