• Page 1 of 1
  • 1
"Hidden user" option
aldrich_lucas
Posts: 4
Reputation: 0

Message # 1 | 6:39 AM
Hello everyone. smile

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. wacko

Post edited by aldrich_lucas - Monday, 2010-04-12, 6:40 AM
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 2:24 PM
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.
aldrich_lucas
Posts: 4
Reputation: 0

Message # 3 | 1:31 AM
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. wacko

NTP
Posts: 296
Reputation: 10

Message # 4 | 2:29 AM
You could try conditional operators using ip address or country id
Web design and film == my 2 passions.

Genesis Inc. ~ New Horizons, New Beginnings
  • Page 1 of 1
  • 1
Search: