MyBB Community Forums

Full Version: Theme went weird
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed plugin which displays a legend of members colors. Everything was fine and I added few themes. On all of them it was working, then I got back to Default theme and it went weird (Picture below):

http://img52.imageshack.us/img52/5947/fixing.png


Anybody knows how to fix it?


Index Page Templates >> index_boardstats

Find:
<td class="thead">
Change to:
<td class="thead" colspan="2">

Find:
<td class="tfoot" style="text-align: right">
Change to:
<td class="tfoot" style="text-align: right" colspan="2">

Open Index Page Forums >> index_whosonline

Find:
<td class="tcat">
Change to:
<td class="tcat" colspan="2">
Find:
<td class="trow1">
Change to:
<td class="trow1" colspan="2">
Nope, still not fixed. Now it just changed direction of board statistic.
Screenshot?
Can you post the code in your index_boardstats template?
Please post link of your forum so we can see code.
(2011-02-09, 09:36 PM)Joshee Wrote: [ -> ]Can you post the code in your index_boardstats template?

Of course I can post, I'm head admin Dodgy

This is my whole index_boardstats template:

<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">
{$whosonline}
{$ugl_userlegend}
{$birthdays}
{$forumstats}
<tr>
	<td class="tfoot" style="text-align: right" colspan="2">
		<span class="smalltext">
			{$logoutlink}
			<a href="misc.php?action=markread">{$lang->markread}</a> |
			<a href="showteam.php">{$lang->forumteam}</a> |
			<a href="stats.php">{$lang->forumstats}</a>
		</span>
	</td>
</tr>
</tbody>
</table>
<br />

And this is my index_whosonline:
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="trow1" colspan="2"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>
I just looked at the code for the plugin. Change every colspan="2" in all the places I told you to colspan="7"

You will also have to open up Index Page Templates >> index_stats and add colspan="7" right after class="tcat" and also after class="trow1"

I tested it an it should fix the problem. Unless of course I didn't make sense, just let me know.
It's fixed finally. Thanks.