News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Users Online Today Mod Question

Started by heartbreakers, October 20, 2012, 11:18:28 PM

Previous topic - Next topic

heartbreakers

Hi,

I have the Users Online Today mod installed. It shows the user count in the following way: "Total: ## (Visible: ##, Hidden: ##)." How can I get rid of the "(Visible: ##, Hidden: ##)"?

Hj Ahmad Rasyid Hj Ismail

I thought it is there by default & the mod only modify the numbers? If that is true, may be you need to modify BoardIndex.template.php?

If I am wrong, you can go to that mod thread and get help.

hcfwesker

BoardIndex.template.php

Find & Remove these lines.
if ($context['viewing_allowed'])
echo
' (', $txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_users_hidden_today']), ', ', $txt['uot_hidden'], ': ', $context['num_users_hidden_today'], ')';

heartbreakers


CaviarDreams

Quote from: hcfwesker on October 21, 2012, 02:22:09 AM
BoardIndex.template.php

Find & Remove these lines.
if ($context['viewing_allowed'])
echo
' (', $txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_users_hidden_today']), ', ', $txt['uot_hidden'], ': ', $context['num_users_hidden_today'], ')';


I don't have a file named "boardindex.template.php".

Kill Em All

CaviarDreams, if you are using a custom theme it might not be there, it would be in the default theme's folder.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Advertisement: