Customers SupportDocumentation




Reply
 
Thread Tools
  #1  
Old 30-07-2007, 05:39 PM
admin's Avatar
vBulletin Skin Zone Staff
 
Join Date: May 2007
Posts: 1,811
How to add a space between categories

This tutorial will explain how to add a space between forum categories.

This tutorial should work for all versions of vBulletin 3.5 and 3.6.

In forumhome_forumbit_level1_nopost template:

Add the green code:

Code:
</table>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
 <tr>
  <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>
  </td>
 </tr>
 <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>
 </tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>

In FORUMHOME template:

Remove the red code:

Code:
[code extract]...
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
 <if condition="$show['guest']">
 <!-- guest welcome message -->
 <tr>
  <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
 </tr>
 <tr>
  <td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
   <phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
  </td>
 </tr>
 <!-- / guest welcome message -->
 </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>
 </tr>
</thead>
$forumbits
<tbody>
...[code extract]

(Optional)

In FORUMDISPLAY template:

Remove the red code:

Code:
[code extract]...
<if condition="$show['forumslist']">
<!-- sub-forum list  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
 <td class="tcat" width="100%">$vbphrase[subforums]<span class="normal">: $foruminfo[title]</span></td>
 <if condition="$show['forumsearch']">
 <td class="vbmenu_control" id="forumsearch.subforums"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></td>
 </if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
 <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>
 </tr>
</thead>
$forumbits
</table>
<br />
<!-- / sub-forum list  -->
</if>
...[code extract]
Reply With Quote
Reply

Tags
vbulletin articles , vbulletin tutorials

Thread Tools



All times are GMT. The time now is 02:25 PM.