Current time: 05-23-2012, 10:46 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make Who's browsing forum "pretty". Tiny Modification
08-11-2008, 10:46 PM (This post was last modified: 08-11-2008 10:47 PM by HarryWx.)
Post: #1
Make Who's browsing forum "pretty". Tiny Modification
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.

PHP Code:
<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...
   

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!!!
Find all posts by this user
Quote this message in a reply
08-12-2008, 08:51 AM (This post was last modified: 08-12-2008 08:51 AM by satishd.)
Post: #2
RE: Make Who's browsing forum "pretty". Tiny Modification
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?
Find all posts by this user
Quote this message in a reply
08-12-2008, 09:19 AM
Post: #3
RE: Make Who's browsing forum "pretty". Tiny Modification
Templates------Forum Display-----------forumdisplay_threadlist

Then look for the the following
PHP Code:
</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
PHP Code:
<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
Find all posts by this user
Quote this message in a reply
08-12-2008, 10:24 AM
Post: #4
RE: Make Who's browsing forum "pretty". Tiny Modification
Thank you Bro ..

Very Much !

Works Smooth.

Thank again

BTW i'm sending you a PM.. please Read it.
Find all posts by this user
Quote this message in a reply
08-12-2008, 03:06 PM (This post was last modified: 08-12-2008 03:25 PM by Ginji.)
Post: #5
RE: Make Who's browsing forum "pretty". Tiny Modification
For me, I use this:
PHP Code:
<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:
PHP Code:
<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 /> 
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication