MyBB Community Forums

Full Version: Who has been online today problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using "My Dream Tech" Theme in my mybb copy(1.4.9)
I installed "Who has been online today" plugin to it but it is dispalying like this....
[Image: 9hl260.jpg]

How can I solve this problem?
please tell me a solution..
That plugin was not made for themes with the Boardstats like that. But, I modified the PHP file, so try this.

1. De-activate the plugin.
2. Overwrite the original onlinetoday.php with the one I attached.
3. Re-activate the plugin.
You just need to edit the template and add colspan="2" to the <td> tags.
Thats what I did in the PHP file. Sorry, the thought that you could just modify the template it added didnt even come to mind Toungue
The same thing happening to Broad statistics plug-in...now please tell me what to edit...

btw on-line today plug-in problem solved...
Advanced board stats template
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->board_stats}</title>
{$headerinclude}
</head>
<body>
{$header}

<div class="t_head_t"><div class="t_head_l"><div class="t_head_r">
<div class="tcat_text"><strong>{$lang->board_stats}</strong></div>
</div></div></div>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tcat" width="50%"><strong>{$lang->totals}</strong></td>
<td class="tcat" width="50%"><strong>{$lang->averages}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">
{$lang->posts} <strong>{$stats['numposts']}</strong><br />
{$lang->threads} <strong>{$stats['numthreads']}</strong><br />
{$lang->members} <strong>{$stats['numusers']}</strong>
</td>
<td class="trow1" rowspan="3" valign="top">
{$lang->ppd} <strong>{$postsperday}</strong><br />
{$lang->tpd} <strong>{$threadsperday}</strong><br />
{$lang->mpd} <strong>{$membersperday}</strong><br />
{$lang->ppm} <strong>{$postspermember}</strong><br />
{$lang->rpt} <strong>{$repliesperthread}</strong>
</td>
</tr>
<tr>
<td class="tcat" valign="top"><strong>{$lang->general}</strong></td>
</tr>
<tr>
<td class="trow1">
{$lang->newest_member} {$stats['newest_user']}<br />
{$lang->members_posted} <strong>{$havepostedpercent}</strong><br />
{$lang->todays_top_poster}<br />
{$lang->popular_forum}
</td>
</tr>
</table>
<div class="t_footer_t"><div class="t_footer_l"><div class="t_footer_r">&nbsp;
</div></div></div>

<br />

<div class="t_head_t"><div class="t_head_l"><div class="t_head_r">
<div class="tcat_text"><strong>{$lang->most_popular}</strong></div>
</div></div></div>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tcat" width="50%"><strong>{$lang->most_replied_threads}</strong></td>
<td class="tcat" width="50%"><strong>{$lang->most_viewed_threads}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">{$mostreplies}</td>
<td class="trow1" valign="top">{$mostviews}</td>
</tr>
</table>
<div class="t_footer_t"><div class="t_footer_l"><div class="t_footer_r">&nbsp;
</div></div></div>
{$footer}
</body>
</html>