MyBB Community Forums

Full Version: how to restore original forum tables?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
my forums here http://www.cyberforce-me.com/forums/ started to have misaligned tables.

How can i restore the original adjustments or have them aligned the same?



Thank you all
What do you mean exactly? I saw your page and everything look good. RTL is everywhere.
Anyway if you want change adjustment and general look, this is in the "Themes" menu (admin pages)
There you can change almost details. Some elements exceeds CSS code, so maybe you need change templates...
I know this is not too much useful

When you want change templates, always you can revert to original.
If you want change "theme" (CSS) is good if you have a copy

-------
I like your welcome guest text Smile Now i'm "dear guest" - it's nice, very friendly
[attachment=6917]

that is a screen shot of what i mean.

I'm new to php, i've chosed mybb and been trying to edit things here and there before the problem happend.


Thanks
this problem is in template - there is not set the width of column "forum".
in the adminCP -> templates -> your template -> forum bits templates -> template forumbit_depth1_cat
you have something like:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" /></div>
<div><strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong>   <div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" width="35">&nbsp;</td>

    <td class="tcat"><strong>{$lang->forumbit_forum}</strong></td>

<td class="tcat" width="85" align="center" style="white-space: nowrap"><strong>{$lang->forumbit_threads}</strong></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><strong>{$lang->forumbit_posts}</strong></td>
<td class="tcat" width="200" align="center"><strong>{$lang->forumbit_lastpost}</strong></td>
</tr>

you need some changes there:
 add a "width to the <table> tag
 <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="800">
next in
<td class="tcat"><strong>{$lang->forumbit_forum}</strong></td>
add width too
<td class="tcat" width="400"><strong>{$lang->forumbit_forum}</strong></td>

please check 
<td class="tcat" width="35">&nbsp;</td> (first TD in the table)
there must be &nbsp; for IE
this trick you need apply in "forumbit_depth2_forum" template. ... And other templates where you see that this is displayed not correctly

Maybe is any other way, but i don't see this way
-- you can change width of the table, i give 800 only for example
it must be a plugin that made those changes, i did not miss with any width values. I'll try what you explained here, many thanks Big Grin