News:

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

Main Menu

How to remove that bit at the bottom of the info centre?

Started by wynnyelle, January 26, 2011, 01:52:35 PM

Previous topic - Next topic

wynnyelle

I don't mean the copyright :P I mean, where it says, on my forum, this:

"Most Online Today: 242. : 656 (November 13, 2010, 02:37:42 PM) "

I tried using the language file on default to remove it but it didn't, entirely. I just think it's clutter, and not something anyone needs to care about. I want to remove this and the dotted line over on top of it and just let it be the names of the recently signed on people on the info centre.

I am running 2.0 version 3. Thanks!!

Antechinus

Remove exactly this from BoardIndex.template.php:

<p class="last smalltext">
', $txt['most_online_today'], ': <strong>', comma_format($modSettings['mostOnlineToday']), '</strong>.
', $txt['most_online_ever'], ': ', comma_format($modSettings['mostOnline']), ' (', timeformat($modSettings['mostDate']), ')
</p>


You need to leave the '; that is directly after the closing </p> tag. If you don't leave the '; you will get a parse error.

ETA: Alternatively, you could do it in the css:

Find:
#upshrinkHeaderIC p.last
{
margin: 0;
padding: 0.5em;
border-top: 2px dotted #bbb;
}


Replace:
#upshrinkHeaderIC p.last
{
display: none;
}

wynnyelle

#2
Edit: I got it! I was doing this in the default not my own custom theme. It worked! Thanks so much!!!

Masterd


Advertisement: