Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Removing the posts column on the board index?

Aloittaja trekkie2444, elokuu 09, 2013, 05:19:14 AP

« edellinen - seuraava »

trekkie2444

Where it says "posts" and "topics" I was wondering if there was a way to remove the column that says posts and has the number? It probably wouldn't take too much code modification to do so.

kat

It says "Posts" and "Topics", in a few places.

Where do you mean, exactly?

If you mean where I THINK you mean, you'll need to edit MessageIndex.template.php

Now, before I post the actual edit, I have to stress that I HAVEN'T CHECKED THIS!!! So, keep a copy of the original file, as a backup, in case I've goofed, OK?

Find this block of code:

// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="stats windowbg">
<p>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' <br />
', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
</p>
</td>
<td class="lastpost">';


and remove it. :)

Advertisement: