MyBB Community Forums

Full Version: Screwed up tables on main index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I been trying to mess with the tables part on the index. I even used the % of table width's. I know I did couple mods to the index.
post icons and moderator colum.

I wonder what is better fix for this problem

here are pics.


my-mybbpr2.JPG = my test board
chris-mybbpr2.JPG = here

my-mybbrc4.JPG is mybb rc4 and there is no problem with tables.
it is board that is in use and modded.
It is because of the fact that the forums are now split on the index and are in individual tables. At the moment there isn't a fix (and there can't be one because you're using percentage/fluid width based layouts - only solution is to change it all to a fixed with layout for fixed widths for each column).

Chris
I think there have to be a fix or have to redo the templates for index/forums
Try this: Expand the forumbit templates and open the template "forumbit_depth1_cat". Search for the following line:
<td class="tcat" width="59%"><strong>$lang->forumbit_forum</strong></td>
and replace it with
<td class="tcat"><strong>$lang->forumbit_forum</strong></td>
I did better way.

this fix is for normal mybb Smile



 

//////////////////////////////////////////////////////

mybb pr 2 have problems of screwed up tables. 

somehow I fixed by messing with the templates

Forum Bit Templates  - > forumbit_depth1_cat
Index Page Templates - > index 

I was like looking at my mybb rc4 templates and 
thought of switching around the parts. 

It worked for me.  


I think the sub-header with forums/topic/posts should be shown one time
instead of shown in every catagory. 


ELY M. 
  

//////////////////////////////////////////////////////

go to your acp then templates. 

///////////////////////////////////////////////////

go into Forum Bit Templates  - > forumbit_depth1_cat

Select all of text then delete 


copy paste this:  


<tbody>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><a href="javascript:expandCollapse('cat_$forum[fid]');"><img src="$theme[imgdir]/$expcolimage" id="cat_$forum[fid]_collapseimg" border="0" alt="[-]" /></a></div>
<div><strong><a href="forumdisplay.php?fid=$forum[fid]"> $forum[name]</a></strong><br /><div class="smalltext">$forum[description]</div></div>
</td>
</tr>
</tbody>
<tbody style="$expdisplay" id="cat_$forum[fid]_e">
$forums
</tbody>



//////

go to 
Index Page Templates - > index 


find 

$forums

REPLACE with this: 

<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<thead>
<tr>

<td class="tcat" width="2%">&nbsp;</td>
<td class="tcat" width="59%"><strong>$lang->forumbit_forum</strong></td>
<td class="tcat" width="7%" align="center" nowrap="nowrap"><strong>$lang->forumbit_threads</strong></td>
<td class="tcat" width="7%" align="center" nowrap="nowrap"><strong>$lang->forumbit_posts</strong></td>
<td class="tcat" width="15%" align="center"><strong>$lang->forumbit_lastpost</strong></td>

</tr>
</thead>
$forums
</table>




#########################################################################################