Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2616)
This is an add on I uploaded it here after seeing the request at this thread
http://www.simplemachines.org/community/index.php?topic=387296.0
It will add an extra options for the groups at your forum that can view the hidden users at the online list or not. The new options can be found now at Permissions->Usergroup->Modify. Below General permissions you will see a new permission, View hidden users in the online list. By default it is set to no. Tick the permission box if you want that group to view the the hidden users at the online list.
nice mod ;)
if you accept translations: good for spanish_es and spanish_latin, utf8 also ;)
$txt['permissionname_view_hidden'] = 'Ver los usuarios ocultos en la lista de usuarios';
$txt['permissionhelp_view_hidden'] = 'Este permiso determina si un grupo especifico puede o no ver a los usuarios ocultos en la lista de usuarios en línea.';
Those groups who have moderator power can still see it...
The (Hidden) text is suppose to be there?
Nice mod :) . is it possible that admin can be seen online only by global moderator , not even by moderator ?
Quote from: 130860 on July 13, 2010, 05:12:04 PM
nice mod ;)
if you accept translations: good for spanish_es and spanish_latin, utf8 also ;)
$txt['permissionname_view_hidden'] = 'Ver los usuarios ocultos en la lista de usuarios';
$txt['permissionhelp_view_hidden'] = 'Este permiso determina si un grupo especifico puede o no ver a los usuarios ocultos en la lista de usuarios en línea.';
Thank you. I will add it shortly.
Quote from: Delita Heiral on July 13, 2010, 06:04:43 PM
Those groups who have moderator power can still see it...
The (Hidden) text is suppose to be there?
Can you please tell me what you mean by The (Hidden) text is suppose to be there?
Quote from: Joker™ on July 14, 2010, 12:41:48 AM
Nice mod :) . is it possible that admin can be seen online only by global moderator , not even by moderator ?
To do it for the global moderators only, you should change the part for the groups, !allowedTo('view_hidden') with this condition in_array(2, $user_info['groups']) and then declare the $user_info variable as global.
Quote from: cicka on July 14, 2010, 11:23:44 AM
To do it for the global moderators only, you should change the part for the groups, !allowedTo('view_hidden') with this condition in_array(2, $user_info['groups']) and then declare the $user_info variable as global.
Quote from: cicka on July 14, 2010, 11:23:44 AM
i change the part for the groups, !allowedTo('view_hidden') with this condition !in_array(2, $user_info['groups'])
tried and it made hidden member only visible to global mods.
That code you gave to test will make only global mods to see invisible people.
i want that "Admins in hidden state can only be seen by Global mods" , if possible.
i know sometimes small looking tweaks are big tasks :)
Quote from: Joker™ on July 14, 2010, 12:49:56 PM
Quote from: cicka on July 14, 2010, 11:23:44 AM
To do it for the global moderators only, you should change the part for the groups, !allowedTo('view_hidden') with this condition in_array(2, $user_info['groups']) and then declare the $user_info variable as global.
Quote from: cicka on July 14, 2010, 11:23:44 AM
i change the part for the groups, !allowedTo('view_hidden') with this condition !in_array(2, $user_info['groups'])
tried and it made hidden member only visible to global mods.
That code you gave to test will make only global mods to see invisible people.
i want that "Admins in hidden state can only be seen by Global mods" , if possible.
i know sometimes small looking tweaks are big tasks :)
Sorry for the late response but somehow I had not seen your post.
To do that use the add on in the original state and give only the global mods the permissions to see the hidden users, including the admins. I have to admit that I am a little confused by your request because that is what the add on does.
If i give this permission to everyone then all can see hidden users .
i want to achieve that is,
for admins i want to over rule it, even after having permissions users can't see admin online .Only Global moderators can see them online not even Moderators.
Quote from: Joker™ on July 15, 2010, 11:30:52 PM
If i give this permission to everyone then all can see hidden users .
i want to achieve that is,
for admins i want to over rule it, even after having permissions users can't see admin online .Only Global moderators can see them online not even Moderators.
This will require a total new add on then.
Can this mod be made to work on 1.1.12? Even manually?
Phil
Quote from: Scoobymaniac on December 04, 2010, 10:01:26 PM
Can this mod be made to work on 1.1.12? Even manually?
Phil
Yes it can.
Quote from: cicka on December 06, 2010, 11:25:01 AM
Yes it can.
Does that mean it will work as is or is there modifying to be done to make it work?
Quote from: Scoobymaniac on December 09, 2010, 02:14:30 PM
Quote from: cicka on December 06, 2010, 11:25:01 AM
Yes it can.
Does that mean it will work as is or is there modifying to be done to make it work?
I have not used Smf 1 much except to test it a few times. But from what I have seen there are huge changes between the 2 version. You must adapt the changes to reflect the 1 version.
Ah right,
I wouldn't know where to begin with that :-\