MyBB Community Forums

Full Version: myclean board stats help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to get the myclean board statistics that currently looks like this:

[attachment=24623]

to looking like the default board statistics that ships with the mybb theme. when I replace everything that's in the myclean index_boardstats with the default index_boardstats, it breaks the template like this:

[attachment=24624]

here's the myclean index_boardstats code:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
<tr>
	<td class="tcat" width="250"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td>
	<td class="tcat"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
	{$forumstats}
	{$whosonline}
</tr>
{$birthdays}
<tr>
	<td class="tfoot" style="text-align: right" colspan="2">
		<span class="smalltext">
			{$logoutlink}
			<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a> |
			<a href="showteam.php">{$lang->forumteam}</a> |
			<a href="stats.php">{$lang->forumstats}</a>
		</span>
	</td>
</tr>
</tbody>
</table>
<br />
if the forum is live then its link helps in providing better suggestions ...
appears to be a colspan issue for thead & tfoot
(2011-11-08, 05:53 AM)ranjani Wrote: [ -> ]if the forum is live then its link helps in providing better suggestions ...
appears to be a colspan issue for thead & tfoot

http://andrewshemo.com/testforum/index.php

^ change colspan to 4 for both thead & tfoot ...
(2011-11-08, 06:18 AM)ranjani Wrote: [ -> ]^ change colspan to 4 for both thead & tfoot ...

thanks. Now I just need to move a few other things around!
(2011-11-08, 06:23 AM)Shemo Wrote: [ -> ]
(2011-11-08, 06:18 AM)ranjani Wrote: [ -> ]^ change colspan to 4 for both thead & tfoot ...

thanks. Now I just need to move a few other things around!

Yup where would we be without colspan.

I ended up going into the upper template and moving the Whos Online down below boardstats.
Then I eliminated some <tr>s so they would stretch from one template to another.
Then I moved the <td> for the whos online next to the boardstats.

http://almost-there.org/forums/