Removing the Post and Thread count columns.
Removing the columns
The different snippets of code might differ from style to style. I'm writing this basing it on my own (VBStyle's Element), but you have to pay close attention and focus on the code in bold. You'll identify the snippets quickly that way.
FORUMDISPLAY
Find
PHP Code:
<td class="thead"> $vbphrase[threads] </td>
<td class="thead"> $vbphrase[posts] </td>
Comment it or remove it. (How to comment? wrap the code between <!-- and -->)
Found nothing. 3.7.0 search this instead. (without the "<!- ->" of course)
PHP Code:
<!--
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
-->
forumhome_forumbit_level1_nopost
Find
PHP Code:
<td class="thead"> $vbphrase[threads] </td>
<td class="thead"> $vbphrase[posts] </td>
Comment it or remove it.
Found nothing. Did not change . . .
forumhome_forumbit_level1_post
Find
PHP Code:
<td class="alt2"><if condition="$forum[link] != ''"> <else />$forum[threadcount]</if></td>
<td class="alt1"><if condition="$forum[link] != ''"> <else />$forum[replycount]</if></td>
Comment it or remove it.
Search this instead:
PHP Code:
<!--
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
-->
forumhome_forumbit_level2_post
Find
PHP Code:
<td class="alt1" width="80"><if condition="$forum[link] != ''"> <else />$forum[threadcount]</if></td>
<td class="alt2" width="80"><if condition="$forum[link] != ''"> <else />$forum[replycount]</if></td>
Comment it or remove it.
Same. Search this instead:
PHP Code:
<!--
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
-->
================================================== ====
Adding the counts below the forum description
Now you might or might not want to display that information. If you do, keep reading.
Edit the following templates
forumhome_forumbit_level2_nopost
Find
PHP Code:
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
Add below:
HTML Code:
<div id="pcnts" class="smallfont forumcount"><strong>{$vbphrase[threads]}:</strong> $forum[threadcount] | <strong>{$vbphrase[posts]}:</strong> $forum[replycount]</div>
forumhome_forumbit_level2_post
Find
PHP Code:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">$forum[subforums]</div></if>
Add
above (not below!):
HTML Code:
<div id="pcnts" class="smallfont forumcount"><strong>{$vbphrase[threads]}:</strong> $forum[threadcount] | <strong>{$vbphrase[posts]}:</strong> $forum[replycount]</div>
================================================== ====
As far as styling goes I liked what appletalk did but made one minor adjustment as far as positioning was concerned. Note div "id="pcnts"" added which allows you to move both count fields as one and then the following CSS:
PHP Code:
#pcnts {float: left; margin-left: 30%;}
.forumcount {
margin: 3px 0;
color: #333;
font-size: 10px;
}
Cheers, and thx for a nice, cleaner looking style, so how does one make a sceenshot?
Wabbit