ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: ahrasis on January 08, 2015, 10:42:25 pm

Title: Hidden user based on spider?
Post by: ahrasis on January 08, 2015, 10:42:25 pm
I don't like user hidden to be shown to public so I added context user is admin to user hidden code. Then I realized something is not quite right but I think I ask anyway. Is this intended in BoardIndex.template.php?
Code: [Select]
	if (!empty($context['num_users_hidden']))
$bracketList[] = comma_format($context['num_users_hidden']) . ' ' . ($context['num_spiders'] == 1 ? $txt['hidden'] : $txt['hidden_s']);

Or shoud it be:
Code: [Select]
	if (!empty($context['num_users_hidden']))
$bracketList[] = comma_format($context['num_users_hidden']) . ' ' . ($context['num_users_hidden'] == 1 ? $txt['hidden'] : $txt['hidden_s']);
Title: Re: Hidden user based on spider?
Post by: emanuele on January 09, 2015, 02:21:39 am
/me blames copy&paste. nods
Title: Re: Hidden user based on spider?
Post by: ahrasis on January 09, 2015, 03:56:46 am
;) I submitted PR for this (Fix User Hidden Count #1938)
Title: Re: Hidden user based on spider?
Post by: emanuele on January 09, 2015, 04:57:29 am
Thanks!
Title: Re: Hidden user based on spider?
Post by: emanuele on January 27, 2015, 09:09:54 am
To check if it was backported to 1.0.3
Title: Re: Hidden user based on spider?
Post by: Spuds on February 07, 2015, 01:33:59 pm
Was it ?  O:-)
Title: Re: Hidden user based on spider?
Post by: emanuele on February 07, 2015, 02:38:20 pm
Yep, yep. O:-)