PDA

View Full Version : How To Remove The "Threads" And "Posts" Columns From The Forum Listing


Jake Bunce
Sat 27th Nov '04, 2:35pm
Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> FORUMHOME

Find this code, remove the red code and add the blue code:


<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175" colspan="3">$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>


Make a similar change to the FORUMDISPLAY template.

Then edit your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates in the same section of your Admin CP. Find this code, remove the red code and add the blue code:


<td class="alt2" nowrap="nowrap" colspan="3">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>


After making this change, you may want to adjust the widths of the remaining columns. Do like in this thread (http://www.vbulletin.com/forum/showthread.php?t=101612), but you will only be setting widths for the remaining columns.