MyBB Community Forums

Full Version: Where is {$colspan} defined in forumdisplay?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Where is {$colspan} defined in forumdisplay?
_announcements
_nothreads
_sticky_sep
_threads_sep
Sorry, I don't really understand and maybe my question was not clear.

How is the value for $colspan decided and where can I change it? It's higher than it should be and is messing up my theme.
I see. Where exactly is messed up? Colspan is defined in many places.
Pretty much all the theads on my site are too high in colspan. I was just wondering how MyBB determined this number. Would probably be better to just enter the values manually ...
So you've got something like this?

<td class="thead" colspan="{$colspan}">

you can change it to this,

<td class="thead" colspan="2">
Yeah, I was just wondering exactly what put the number in for $colspan in the first place. If it's just some hardcoded mystery I will just change each one.
its there to handle the extra column when a moderator is viewing, so it can add the inlinemod column
Is this a plugin? $colspan needs to be added to global in your function then altered.
Pages: 1 2