|
uCoz Community Archives Locked "Hidden user" option |
"Hidden user" option |
Hello everyone.
In the Module Settings for Users, there is an option to enable "Hidden user". In the thread (/forum/7-9840) about the Module Settings, Dartz explains that
Quote With this option disabled users won’t be able to hide their username from the list of users online. I've tried it around, and I understand how this works. I was wondering if there was a way to only make this option available to certain users. For example, the administrator logged in and then was able to choose an option whereby he became invisible. I really like this option, but I don't want other users to be able to do this. Please help me!!! P.S. Maybe it's possible by using condition operators? I'm not sure. Post edited by aldrich_lucas - Monday, 2010-04-12, 6:40 AM
|
Quote (aldrich_lucas) Maybe it's possible by using condition operators? Yes. Edit the template "User login form" and hide this option from all users except administrators using conditional operators. I'm not active on the forum anymore. Please contact other forum staff.
|
But if I'm not logged in yet, how would this help?
Before logging in, I am just a guest. So, if I change the template to this:
Code <?if($PAGE_ID$="login" && $HIDDEN_ALLOWED$ && $GROUP_ID$='4')?><br /><input id="hid$PAGE_ID$" type="checkbox" name="hidden" value="1" /><label for="hid$PAGE_ID$">hidden</label><?endif?> it won't help because I'm not logged in yet, and not an administrator. When I log in, then I become an administrator, but I can't access the login form if I'm already logged in. |
| |||
| |||