News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Remove post&topic count in mainpage

Started by vlajce992, June 08, 2012, 11:44:55 AM

Previous topic - Next topic

vlajce992

So here is the picture that says 1000 words.. and i need simple word to remove my problem. :D



Just need to remove that counts.

Btw im using Foro Vietnam theme.
shhh

vlajce992

i just need that simle code removing..
shhh

Arantor

Yes, we did realise what you wanted removed, but bumping inside 24 hours when everyone here is a volunteer is more than a little bit rude.

It's also not just a 'simple code' to remove, actually.

Is http://custom.simplemachines.org/themes/index.php?lemma=2504 the theme you're using?

vlajce992

shhh

Arantor

Link to your site would be helpful too.

vlajce992

shhh

Arantor

OK, in the Themes/Forovietnam folder, you'll find that theme's BoardIndex.template.php.

Find this 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">';


Change it to:

// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="stats windowbg"></td>
<td class="lastpost">';


In this case it's only modestly simple to change.

vlajce992

shhh

vlajce992

I have just one more correction about one more theme. Its about Duvvar Theme
http://custom.simplemachines.org/themes/index.php?lemma=2544

The same thing. I wanted to delete post and topic count but it isnt same code as it was with Viet foro.

again the same site

www.profej.com


thxx in 4ward
shhh

Advertisement: