Quote:
Originally Posted by tmiland
Hello bobster65,
thanks for this great mod! 
I have a question, wich have troubled me all day, see the moderator column in the attached picture... What am i doing wrong? I am about to throw my comp out the window :erm:
|
no, don't throw it out the window lol.. I see whats wrong. Its a colspan issue..
in my sample code (step 18) look for this towards the beginning of the step..
What I did was include my custom code that didn't account for the 6th column (Moderator) (See the part in BOLD RED) Below...
Code:
<!-- CUSTOM tbody CODE BASED ON YOUR STYLE -->
<tbody>
<tr>
<td class="tcat" colspan="5"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_66')"><img id="collapseimg_forumbit_66" src="images/solido/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=6">CATEGORY NAME</a></td>
</tr>
</tbody>
<tbody id="collapseobj_forumbit_66" style="">
$forumbits2
</tbody>
<!-- /CUSTOM tbody CODE BASED ON YOUR STYLE -->
so what you can do is add this condition to it
Code:
<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>
So it would look something like this..
Code:
<!-- CUSTOM tbody CODE BASED ON YOUR STYLE -->
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_66')"><img id="collapseimg_forumbit_66" src="images/solido/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=6">CATEGORY NAME</a></td>
</tr>
</tbody>
<tbody id="collapseobj_forumbit_66" style="">
$forumbits2
</tbody>
<!-- /CUSTOM tbody CODE BASED ON YOUR STYLE -->
That will fix it for you..