MyBB Community Forums

Full Version: Removing 'Rating' Column
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
original forumbit_depth1_cat
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" /></div>
<div><strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" width="35">&nbsp;</td>
<td class="tcat"><strong>{$lang->forumbit_forum}</strong></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><strong>{$lang->forumbit_threads}</strong></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><strong>{$lang->forumbit_posts}</strong></td>
<td class="tcat" width="200" align="center"><strong>{$lang->forumbit_lastpost}</strong></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />
Have you reverted the template? what is the issue at the moment? dennis had led you to the way to remove the colomn then we helped you with the header these are basicly all the steps. Can you screen shot please or provide a link.

Thx
i deleted that line in the forumbit_depth2_forum template and turned off the moderator listing in the settings area

[Image: boardyk1.th.png]
Okay that's so different from MyBB base style, you should have mentioned that before.
I believe that the code we were referring to can be in thr index template with your current theme.
If you provide a link i'd be thankfull, because then i can read the codes and tell the excat template as again this is a modified theme which i can't predict anything about it.
i did mention it didn't i?
Quote:now how do i remove the 'Moderator' column on the index page? (i'm using MyBulletin)

anyways.... www.lowprofileforums.com
Delete in Index Page Templates ---> Index

<td class="tcat" width="112" align="center"><strong>Moderator</strong></td>

if you want to make it balance because you remove the moderator then change the bold one to 85 (suggestion)... Toungue

Quote:<td class="tcat" width="46" align="center" nowrap="nowrap"><strong>Threads</strong></td>
<td class="tcat" width="50" align="center" nowrap="nowrap"><strong>Posts</strong></td>
that worked, thanks

i'm done bugging you guys now Smile
DennisTT Wrote:Admin CP --> Templates --> *expand your template set* --> Forum Display Templates
You will need to edit these two templates:
forumdisplay_thread
Find and remove:
	{$rating}

forumdisplay
Find and remove:
		{$ratingcol}

I cant see them, here is my code: am i blind?

forum display:

<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
</head>
<body>
{$header}
{$moderatedby}
{$usersbrowsing}<br /><br />
{$rules}
{$subforums}
{$threadslist}
{$footer}
</body>
</html>

forum display thread:

<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>
<td class="{$bgcolor}">
{$attachment_count}
<div><span>{$prefix} {$gotounread}<a href="showthread.php?tid={$thread['tid']}" class="{$inline_edit_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span></div>
</td>
<td align="center" class="{$bgcolor}">{$thread['profilelink']}</td>
<td align="center" class="{$bgcolor}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}" style="white-space: nowrap">
<span class="smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="showthread.php?action=lastpost&amp;tid={$thread['tid']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
Pages: 1 2