MyBB Community Forums

Full Version: Tables disorder on forum index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Here what I do ....

I edit Forum Bit Templates > forumbit_depth2_forum and I put the code

<td class="$bgcolor" valign="middle" align="right" nowrap="nowrap">$lastpost</td>
threads & posts


</td>
<td class="$bgcolor" valign="middle" align="right" nowrap="nowrap">$lastpost</td>
<td class="$bgcolor" valign="middle" align="center" nowrap="nowrap">$threads</td>
<td class="$bgcolor" valign="middle" align="center" nowrap="nowrap">$posts</td>
</tr>

After I do this the tables are disordered as you can see in the attached.

Is there anyway to order them

[attachment=2887]
Inspite that i didn't understand much what you have typed.

But your code should be
</td>
<td class="$bgcolor" valign="top" align="center" nowrap="nowrap">$threads</td>
<td class="$bgcolor" valign="top" align="center" nowrap="nowrap">$posts</td>
<td class="$bgcolor" valign="top" align="right" nowrap="nowrap">$lastpost</td>
</tr>

because you have lastpost before threads and posts.

regards
Zaher look at the default index page of Mybb and look at mine.

Default is listed

Forum - Threads - Posts - Last Post

But I changed the order on my board as


Forum - Last Post - Threads - Posts

The problem is the cells with the top and bottom don't look proper the are sliped.
oh i see, it is the matter of width.

alright, try to set width for all the cell in that template.
for example

<td class="$bgcolor" valign="top" width="10%" align="right" nowrap="nowrap">$lastpost</td>


Thanx Zaher


I used "25%" and now its perfect