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.

Url: www.thecomicszone.com

A couple of pages displaying the problem:

http://www.thecomicszone.com/news-f-2.html

In the separator row.

http://www.thecomicszone.com/general-f-24.html

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";
++$colspan;
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.