MyBB Community Forums
$Colspan problems - Printable Version

+- MyBB Community Forums (
+-- Forum: Community Archive (
+--- Forum: Archived Forums (
+---- Forum: Archived Development and Support (
+----- Forum: MyBB 1.4 (
+------ Forum: MyBB 1.4 General Support (
+------ Thread: $Colspan problems (/thread-37123.html)

$Colspan problems - Ultron - 2008-09-02

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!

RE: $Colspan problems - Yumi - 2008-09-02

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).

RE: $Colspan problems - Ultron - 2008-09-02

Thanks a bunch, added one to the default values and it's fixed.