Quote:
How can u get rid of the Counters?
|
If you want to hide statistics (counters) and last post info, in the same two templates, you need to add the same conditions before the statistics code.
Locate this part:
Code:
<h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
<ul class="forumstats td">
<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
</ul>
<div class="forumlastpost td">
<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
<div>
{vb:raw forum.lastpostinfo}
</div>
</div>
Before this part you add the condition:
Code:
<vb:comment>Do not show statistics and last post info in these forums</vb:comment>
<vb:if condition="$forumid != in_array($forumid, array(X,Y))">
And after you close your if condition:
Code:
</vb:if>
<vb:comment>Do not show statistics/last post info - end</vb:comment>
So, the result should be this:
Code:
<vb:comment>Do not show statistics and last post info in these forums</vb:comment>
<vb:if condition="$forumid != in_array($forumid, array(X,Y))">
<h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
<ul class="forumstats td">
<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
</ul>
<div class="forumlastpost td">
<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
<div>
{vb:raw forum.lastpostinfo}
</div>
</div>
</vb:if>
<vb:comment>Do not show statistics/last post info - end</vb:comment>