How To Remove The "Threads" And "Posts" Columns From The Forum Listing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    How To Remove The "Threads" And "Posts" Columns From The Forum Listing

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> FORUMHOME

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

    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" [color=blue]colspan="3"[/color]>$vbphrase[last_post]</td>
    	  [color=red]<td class="thead">$vbphrase[threads]</td>
    	  <td class="thead">$vbphrase[posts]</td>[/color]
    	  <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:

    Code:
    		<td class="alt2" nowrap="nowrap" [color=blue]colspan="3"[/color]>$forum[lastpostinfo]</td>
    		[color=red]<td class="alt1">$forum[threadcount]</td>
    		<td class="alt2">$forum[replycount]</td>[/color]
    		<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, but you will only be setting widths for the remaining columns.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...