No announcement yet.

category spacing, how do i?

  • Filter
  • Time
  • Show
Clear All
new posts

  • category spacing, how do i?

    Okay I know you can space the categories and I've installed that moderation to my forum, however I want to space some categories and not others, I've seen this done on other forums.

    Just encase your not sure what I mean, like this

    How do I go about doing this, to I have to specify certain forum id numbers and stuff? if so could you help me out with the code for that, I'm not overly good at these things, thank you .

  • #2
    This thread shows how to make an exception and not space some forums.

    Originally posted by Jake Bunce

    You might also need to add the green code if you have the problem shown in this picture:


    <if condition="$forum[forumid] != X">
    <br />
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    		<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
    			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
    			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
    			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
    			<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    	<tr align="center">
    	  <td class="thead">&nbsp;</td>
    	  <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
    	  <td class="thead" width="175">$vbphrase[last_post]</td>
    	  <td class="thead">$vbphrase[threads]</td>
    	  <td class="thead">$vbphrase[posts]</td>
    	  <if condition="$vboptions['showmoderatorcolumn']">
    	  <td class="thead">$vbphrase[moderator]</td>
    <if condition="$childforumbits">
    <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
    Where X is the forumid of the top category on the page. This will prevent the forum listing table from being restarted for that category.



    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.