Jake Bunce
Wed 16th Aug '06, 2:38pm
Note: This works with 3.7.x too.
The code for 3.6.x is slightly different than the 3.0.x code from this thread (http://www.vbulletin.com/forum/showthread.php?t=101615).
Edit this template:
Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Display Templates -> FORUMDISPLAY
Add the red code:
</if>
</if>
</tr>
</tbody>
</if>
<if condition="$show['threads']">
<!-- show threads -->
<tbody id="threadbits_forum_$foruminfo[forumid]">
<if condition="$show['stickies']">
$threadbits_sticky
<tr><td class="thead" colspan="<if condition="(($show['threadicons'] AND $colspan = 6) OR (!$show['threadicons'] AND $colspan = 5)) AND ($show['inlinemod'] AND $colspan++)"></if>$colspan"> </td></tr>
</if>
$threadbits
</tbody>
<!-- end show threads -->
<else />
<!-- show no threads message -->
<tbody>
<tr>
<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
That nasty conditional code calculates the appropriate colspan value of the separator (5, 6, or 7).
Tested on 3.6.0
The code for 3.6.x is slightly different than the 3.0.x code from this thread (http://www.vbulletin.com/forum/showthread.php?t=101615).
Edit this template:
Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Display Templates -> FORUMDISPLAY
Add the red code:
</if>
</if>
</tr>
</tbody>
</if>
<if condition="$show['threads']">
<!-- show threads -->
<tbody id="threadbits_forum_$foruminfo[forumid]">
<if condition="$show['stickies']">
$threadbits_sticky
<tr><td class="thead" colspan="<if condition="(($show['threadicons'] AND $colspan = 6) OR (!$show['threadicons'] AND $colspan = 5)) AND ($show['inlinemod'] AND $colspan++)"></if>$colspan"> </td></tr>
</if>
$threadbits
</tbody>
<!-- end show threads -->
<else />
<!-- show no threads message -->
<tbody>
<tr>
<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
That nasty conditional code calculates the appropriate colspan value of the separator (5, 6, or 7).
Tested on 3.6.0