No need to install a new hack for it. One template modification for each style and you will be fine.
Edit ForumDisplay template and search for:
PHP Code:
Code:
<if condition="$show['threads']">
<!-- show threads -->
<if condition="$show['stickies']">
$threadbits_sticky
</if>
$threadbits
<!-- end show threads -->
Below $threadbits_sticky add this code:
PHP Code:
Code:
<tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>"> </td></tr>
__________________
i would change the code from the cache template plugin into:
PHP Code:
Code:
if (THIS_SCRIPT==forumdisplay)
{
$globaltemplates = array_merge($globaltemplates, array('FORUMDISPLAY_Separate','FORUMDISPLAY_Separate2','FORUMDISPLAY_Separate_top'));
}
__________________
This hack was almost what I wanted... Unfortunately it displays the separator after the stickies even if there are NO normal threads to display, which is not quite the look I wanted
I did a manual change to the FORUMDISPLAY template as follows...
before...
Code:
after...
Code:
Code:
$threadbits_sticky
<if condition="$totalthreads>0">
<tr><td class="thead" colspan="7"> </td></tr>
</if>
Seems to do what I needed - Does this make sense? Might be worth adding the if condition (as as option) to the hack ;-)
__________________
I did thin it like this:
In file "product-separate.xml"
FIND
Code:
Code:
<template name="FORUMDISPLAY_Separate2" templatetype="template" date="1148491155" username="gizli" version="3.5.4"><![CDATA[<tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>"> </td></tr>]]></template>
REPLACE with:
Code:
Code:
<template name="FORUMDISPLAY_Separate2" templatetype="template" date="1148491155" username="gizli" version="3.5.4"><![CDATA[<tr><td class="thead" style="height: 5px; padding: 0; font-size: 0" colspan="<if condition="$show['threadicons']">7<else />6</if>"> </td></tr>]]></template>
If you don't like the thickness of the border, change "height: 5px" to whatever you may find appropriate.
After the change, import the product (overwrite old product if necessary) and have fun.
It only changes the thickness for style 1 since it doesn't make sense to me to do this for separators with text in them