MyBB Community Forums

Full Version: $Colspan problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've got $colspan problems. It seem the number of columns is being calculated appropriately. So it leaves one or two columns not done in some rows. It this particular theme, they remain in dark blue at the end. I've copied the result HTML to Dreamweaver, and what seems is that the $colspan ends up being 8 when it should be 9, or somesuch, thus it doesn't cover the whole table.


A couple of pages displaying the problem:

In the separator row.

In the separator and footer rows.

Thanks in advance!
If you need to change the numbers in $colspan, you can do so by editing forumdisplay.php. You should find 3 lines regarding $colspan:
$colspan = "7";
$colspan = "6";
The first line is the number of columns when thread ratings are enabled, the second is when they're disabled. The 3rd line just means to add 1 to the number of columns if the user is a moderator (to show the inline moderator checkboxes).
Thanks a bunch, added one to the default values and it's fixed.