News:

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

Main Menu

Possible to hide hidden users?

Started by letub, May 12, 2010, 03:37:03 PM

Previous topic - Next topic

letub

I'm wondering if it's possible to hide the hidden user group that shows at the bottom of my forums under Users Online?

No one is hidden but me, just checking to see if I could get rid of the (1 Hidden User) text.

SoLoGHoST


letub


Mick.

In /Themes/default/BoardIndex.template.php

Near the bottom look for....
if (!empty($context['num_users_hidden']))
$bracketList[] = comma_format($context['num_users_hidden']) . ' ' . $txt['hidden'];


Remove it.

SoLoGHoST

Yep, that looks about right to me, Cheers bluedevil.

Mick.

Quote from: SoLoGHoST on May 12, 2010, 04:10:12 PM
Yep, that looks about right to me, Cheers bluedevil.

Thanx SG,   lol,...i tested it before hand.

letub


Mick.


~DS~

Does this remove all hidden user or just the admin?
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

SoLoGHoST

Quote from: Dismal Shadow on June 30, 2010, 03:02:05 AM
Does this remove all hidden user or just the admin?

All Hidden Users, including the Admin.

Advertisement: