MyBB Community Forums

Full Version: What's wrong with this table?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
[Image: indexscreenshot.gif]
As you see, tables are in diffrent sizes. That's very odd. I looked around a little bit but I cant get it correct. This theme worked great on 1.2.1. but when I upgraded to 1.2.2 it became like this.

Any ideas plz? I am going mad about this problemSad
This is index templates:
<html>
<head>
<title>$settings[bbname]</title>
$headerinclude
</head>
<body>
$header
$forums
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><a href="javascript:expandCollapse('boardstats');"><img src="$theme[imgdir]/collapse$collapsedimg[boardstats].gif" id="boardstats_collapseimg" border="0" alt="[-]" /></a></div>
<div><strong>$lang->boardstats</strong></div>
</td>
</tr>
</thead>
<tbody style="$collapsed[boardstats_e]" id="boardstats_e">
$whosonline
$birthdays
$forumstats
</tbody>
</table>
<br />
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="trow1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" align="right">
<table cellspacing="0" cellpadding="2" border="0">
<tr><td><img src="$theme[imgdir]/on.gif" alt="$lang->new_posts" /></td><td class="trow"><span class="smalltext">$lang->new_posts</span></td></tr>
<tr><td><img src="$theme[imgdir]/off.gif" alt="$lang->no_new_posts" /></td><td class="trow"><span class="smalltext">$lang->no_new_posts</span></td></tr>
<tr><td><img src="$theme[imgdir]/offlock.gif" alt="$lang->forum_locked" /></td><td class="trow"><span class="smalltext">$lang->forum_locked</span></td></tr>
</table>
</td>
<td valign="top" align="right">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td valign="top" align="right">
<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>

</table>
</td></tr>
</table>
</td></tr>
</table>
$footer
</body>
</html>
I thing the problem you can find it in the forum display templets, not the index
thx buddy. there are a lot of subcategories in forum display template.
Which one should I copy here?

forumdisplay	
 	forumdisplay_announcement	
 	forumdisplay_announcements	
 	forumdisplay_announcements_announcement	
 	forumdisplay_inlinemoderation	
 	forumdisplay_inlinemoderation_col	
 	forumdisplay_inlinemoderation_custom	
 	forumdisplay_inlinemoderation_custom_tool	
 	forumdisplay_moderatedby	
 	forumdisplay_moderatedby_moderator	
 	forumdisplay_newthread	
 	forumdisplay_nothreads	
 	forumdisplay_orderarrow	
 	forumdisplay_password	
 	forumdisplay_password_wrongpass	
 	forumdisplay_rssdiscovery	
 	forumdisplay_rules	
 	forumdisplay_rules_link	
 	forumdisplay_searchforum	
 	forumdisplay_sticky_sep	
 	forumdisplay_subforums	
 	forumdisplay_thread	
 	forumdisplay_thread_attachment_count	
 	forumdisplay_thread_gotounread	
 	forumdisplay_thread_modbit	
 	forumdisplay_thread_multipage	
 	forumdisplay_thread_multipage_more	
 	forumdisplay_thread_multipage_page	
 	forumdisplay_thread_rating	
 	forumdisplay_threadlist	
 	forumdisplay_threadlist_clearpass	
 	forumdisplay_threadlist_inlineedit_js	
 	forumdisplay_threadlist_rating	
 	forumdisplay_threadlist_sortrating	
 	forumdisplay_threads_sep	
 	forumdisplay_usersbrowsing	
 	forumdisplay_usersbrowsing_user
I think it's 'forumdisplay'.
here it is. there's not much to change, is there?
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
</head>
<body>
{$header}
{$moderatedby}
{$usersbrowsing}<br /><br />
{$rules}
{$subforums}
{$threadslist}
{$footer}
</body>
</html>
beside, it is the original template.

could it be sth wrong with tables of Mybb database?
arashpour Wrote:As you see, tables are in diffrent sizes. That's very odd. I looked around a little bit but I cant get it correct. This theme worked great on 1.2.1. but when I upgraded to 1.2.2 it became like this.

Any ideas plz? I am going mad about this problemSad

Hey dude, don't be mad.

Try this go to your ACP, make the defult MyBB theme your defult theme, then remove this one you used and just reupload it.

I hope that work
Thx dude. Done that a hundred times. hey maybe I should give this information:
I was using the theme when I was running 1.2.1 before 'n it worked like charm. When I upgraded to 1.2.2 there was a lot of problems going on including this thing that you see above. So I prefered to go back to 1.2.1. I did a fresh install n so on. But since then this theme doesnt seem to get to work. That's why I say there should be a problem in database.

Does that help? Any clue?
Thx
thx I already have that on my board. I just wanna get that one right,
I Know, but I thing the one I just direct you updated, and working good with MyBB 1.2.2
Pages: 1 2