PDA

View Full Version : How to Remove Last Post, Threads, Posts Columns?


Neutral Singh
10-27-2006, 03:21 PM
Just have a look at my forum: http://www.sikhbusiness.net

How to Remove Last Post, Threads, Posts Columns?

I want to remove all these columns from the forumhome alltogether. Is it possible without code changes? :cool:

SkyCatcher
10-27-2006, 04:10 PM
You'd just have to remove them from the templates.

In forumhome_forumbit_level1_post, forumhome_forumbit_level2_post get rid of those instances:


<td class="alt2">$forum[threadcount]</td>
<td class="alt1">$forum[replycount]</td>

<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>

<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>



and then in forumhome_forumbit_level1_nopost, forumhome_forumbit_level2_nopost

play with the



<td class="tcat"><span class="smallfont">&nbsp;</span></td>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">5<else />4</if>">



Basically if you get rid of those three columns you'll probably want to change


<if condition="$vboptions['showmoderatorcolumn']">5<else />4</if>">


to


<if condition="$vboptions['showmoderatorcolumn']">5<else />1</if>">


Telling the forumhome that you want it to span 1 column, and not 4 columns anymore. (I'm ignoring the mod column because you don't have it enabled).

That should do it.

Neutral Singh
10-27-2006, 04:17 PM
Thanks I will try this soon and get back to you. :)

SkyCatcher
10-27-2006, 04:19 PM
Thanks I will try this soon and get back to you. :)

Just be sure to backup the templates you're playing with (or copy them to notpad) so you can get it back to the way it was if my instructions are missing anything :P

chiselneck
11-30-2006, 12:58 AM
Thanks SkyCatcher, worked perfectly.