Author Topic: [MOD] Completely hide admins  (Read 4316 times)

0 Members and 1 Guest are viewing this topic.

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
[MOD] Completely hide admins
« on: March 11, 2005, 11:23:41 PM »
Author: V@no

If you'd like to prevent the administrators from being shown in the "users online" list:

open includes/sessions.php
and replace
Code: [Select]
WHERE s.session_lastaction >= $time_out
with

Code: [Select]
WHERE s.session_lastaction >= $time_out AND u.user_level <> ".ADMIN."
« Last Edit: March 11, 2005, 11:26:10 PM by martrix »
MAяTRIX


TheOracle

  • Guest
Re: [MOD] Completely hide admins
« Reply #1 on: August 30, 2005, 02:03:24 PM »
I like this patch. Perhaps I could MOD it in order to be used in ACP - > Settings page. ;)

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] Completely hide admins
« Reply #2 on: August 30, 2005, 04:54:34 PM »
Yeah - that would be a nice feature - to be able to switch this setting in the ACP and not in the code itself :)
MAяTRIX


TheOracle

  • Guest
Re: [MOD] Completely hide admins
« Reply #3 on: August 30, 2005, 04:55:53 PM »
You mean like this one :

http://www.4homepages.de/forum/index.php?topic=9518.0

? ;) (Just made it)