MyBB Community Forums

Full Version: Users Online Today Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hey,

Well I recently downloaded a theme, And I enabled the 'Users Online Today' Mod. And it is showing a HUGE black box where the users online should be. Here is a pic.

[Image: o6zdw8.jpg]


Any reasons for this, or a way I can fix it?
BUMP, Any support for this?
Well you posted this in the wrong forum but basically a table isn't closed properly in the Who's Online template.
Well, It works perfect on every other theme, except this one. Any idea how I would fix this?
As I said, fix the template Who's Online for this theme. Try changing it to default.
Well, I checked the 'online_today' style sheet for my theme, and It looks right, This is what is in there :


<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->online_today}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->on_username}</strong></span></td>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->time}</strong></span></td>
</tr>
{$todayrows}
<tr>
<td align="center" colspan="2" class="trow1" style="white-space: nowrap">{$onlinetoday}</td>
</tr>
</table>
{$footer}
</body>
</html>
Find the template for it and copy and paste it here. Smile
Look above, Just posted.
Anyone got a solution?
(2010-05-30, 11:57 PM)thzaar ko Wrote: [ -> ]Look above, Just posted.
Anyone got a solution?

The issue is with the theme and thus the template. This plugin uses the base MYBB skin and template set which as you know does not have images in the whos online section. Any theme that has images down there has this same exact issue.

So to fix it..

Go to the themes template------Who's Online Templates and expand and look for the online_today_index template and open that.. Take what you have in there and copy it to another place for now and save it. That is just incase you need it later. Then clear that box out and copy and paste the code i have below into that box and save..

<tr>
	<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->whos_online_today}</strong> [<a href="online.php?action=today">{$lang->complete_list}</a>]</td>
</tr>
<tr>
<td class="trow2" width="5%"><span class="smalltext"><img src="images/mybbvn/lighting/whos_online.gif" alt="" title="Who was Online?"></img></a></span></td>
	<td class="trow1"><span class="smalltext">{$lang->online_note_today}<br />{$onlinemembers}</span></td>
</tr>

Then go and make sure your theme looks ok. Let us know.. Just REMEMBER to save the old code!

Do note that code is for YOUR theme. I came to your forum and located the whos online image ( images/mybbvn/lighting/whos_online.gif ) and added it to the above. So if ANYONE ELSE wants to use that code just swipe out ( mybbvn/lighting/whos_online.gif ) with whatever the directory is to your image set for the theme you are using..
Alright, I will try this. Big Grin
It's still not working Sad. And there is no online_today_index, just online_today.
Pages: 1 2 3