News:

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

Main Menu

About "total time logged in".

Started by Xepernas, February 06, 2009, 09:42:59 AM

Previous topic - Next topic

Xepernas

It makes some of our forumgoers panic a bit. I thought they would be a way to remove it, from the Profiles parameters or the Theme options, but I can't find it. Would it require to alter the theme's code ?

I'm using SMF 2.0 RC1, and the default theme (named "core", I think).

...At least until someone upgrades the "Default Multicolour Theme", that is.  :-[

karlbenson

#1
Themes/default/index.template.php

FIND and REMOVE
// Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']))
{
echo '
<li>', $txt['totalTimeLogged1'];


Themes/default/Profile.template.php

FIND and REMOVE
<td nowrap="nowrap">', $txt['statPanel_total_time_online'], ':</td>
<td align="right">', $context['time_logged_in'], '</td>
</tr><tr>

Xepernas

Thanks. :)

I will try the Scary Procedure in a little while, and mark the topic solved if it worked well.

Advertisement: