MyBB Community Forums

Full Version: How to Hide or Remove Posts counting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
Support
i need help about my theme template, i want need remove or hide my forum sections thread or posts counts numbering, i don't need quantity of forum posts, i attach a screen shot of my forum theme home page......
In the Template manager:

forumbit_depth1_cat
Remove:
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>

forumbit_depth2_cat
Remove:
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>

forumbit_depth2_forum
Remove:
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>

I think that's it...
i have problem about your edit code setting i follow your all steps but my forum section are invisible ,,,,, i don't know where is going,,,,,
forumbit_depth1_cat (My Forum Section Visible )
forumbit_depth2_cat (My Forum Section Visible )
forumbit_depth2_forum ( i edit last step my forum section r invisible) what is this ?
Fully Detail
Revert your forumbit_depth2_forum to original and post the code here.
forumbit_depth2_forum (My Theme Name "4.1.1 Ajdija.com Public")
Quote:<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><span class="largetext">{$threads}</span>{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><span class="largetext">{$posts}</span>{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
I feel its better to keep unapproved threads & unapproved posts number visible for admin / moderators

change below code
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><span class="largetext">{$threads}</span>{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><span class="largetext">{$posts}</span>{$unapproved['unapproved_posts']}</td>

to this :
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$unapproved['unapproved_posts']}</td>

OR if you do not want unapproved threads & posts number then change to below code

<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"></td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"></td>
Ranjani My Question is not solved i need your appreciation in this matter...i don't understand your your editing method.... told me which template file to edit this code......
(2011-12-29, 12:11 PM)ranjani Wrote: [ -> ]I feel its better to keep unapproved threads & unapproved posts number visible for admin / moderators

change below code
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><span class="largetext">{$threads}</span>{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><span class="largetext">{$posts}</span>{$unapproved['unapproved_posts']}</td>

to this :
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$unapproved['unapproved_posts']}</td>

OR if you do not want unapproved threads & posts number then change to below code

<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"></td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"></td>

(2011-12-29, 08:38 PM)Layraf Wrote: [ -> ]Ranjani My Question is not solved i need your appreciation in this matter...i don't understand your your editing method.... told me which template file to edit this code......i need only remove my posts count number not anymore.......

Change the forumbit_depth2_forum to:
<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>

(2011-12-29, 08:38 PM)Layraf Wrote: [ -> ]Ranjani My Question is not solved i need your appreciation in this matter...i don't understand your your editing method.... told me which template file to edit this code......
(2011-12-29, 12:11 PM)ranjani Wrote: [ -> ]I feel its better to keep unapproved threads & unapproved posts number visible for admin / moderators

change below code
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><span class="largetext">{$threads}</span>{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><span class="largetext">{$posts}</span>{$unapproved['unapproved_posts']}</td>

to this :
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$unapproved['unapproved_posts']}</td>

OR if you do not want unapproved threads & posts number then change to below code

<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"></td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"></td>

(2011-12-29, 08:38 PM)Layraf Wrote: [ -> ]Ranjani My Question is not solved i need your appreciation in this matter...i don't understand your your editing method.... told me which template file to edit this code......i need only remove my posts count number not anymore.......

That's referring to forumbit_depth2_forum