Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Remove Reply
#1
Not Solved
This user has been denied support. This user has been denied support.
How to remove reply column in forums. means wanna hide replies number in forum display.
#2
Not Solved
AdminCP > Templates > Your theme's templates > Forumbit Templates;

Open "forumbit_depth1_cat" template, find the following and remove;
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>

Now open "forumbit_depth2_forum" template, find the following and remove;
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>

In Forumdisplay Templates > forumdisplay_subforums > find the following and remove;
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
#3
Not Solved
This user has been denied support. This user has been denied support.
didnt found 1st code

jus a minute

not found
#4
Not Solved
It should be there. It may have edited code but should be similar to many parts of the mentioned code>
#5
Not Solved
This user has been denied support. This user has been denied support.
just tell me where this is located i mean this "replies" word as i shown in here http://community.mybb.com/thread-122203.html
#6
Not Solved
Post these template's code here using [code] tags.
#7
Not Solved
This user has been denied support. This user has been denied support.
ok wait m posting

forumbit_depth1_cat
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2"><strong><a href="{$forum_url}">{$forum['name']}</a></strong> ยป <span style="font-size: 11px;"> {$forum['description']}
<td class="thead" width="85" align="center" style="white-space: nowrap" colspan="1"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="thead" width="85" align="center" style="white-space: nowrap" colspan="1"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="thead" width="200" align="center" colspan="1"><span class="smalltext" ><strong>{$lang->forumbit_lastpost}</strong></span><span style="float: right;"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></span></td>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
<div class="table_footer"></div>
<br />

forumbit_depth2_forum
<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">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="left" style="white-space: nowrap">{$lastpost}</td>
</tr>

forumdisplay_subforums
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" width="2%">&nbsp;</td>
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<div class="table_footer"></div>
<br />
#8
Not Solved
Find and remove - forum_depth1_cat
<td class="thead" width="85" align="center" style="white-space: nowrap" colspan="1"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>

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

Finally Find and remove - forumdisplay_subforums
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>

i am pretty sure that is correct but please make backups of the templates should something go wrong.


Forum Jump:


Users browsing this thread: 1 Guest(s)