Topic: Logon as Admin without showing name
Is there an easy way that I could mod some code so that when I log in as Admin it doesn't show Admin as logged in as a registered user?
Which file would it be and what would I need to change?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 discussion → Logon as Admin without showing name
Is there an easy way that I could mod some code so that when I log in as Admin it doesn't show Admin as logged in as a registered user?
Which file would it be and what would I need to change?
You don't want admin users to be visible in the online list?
That's correct.
There is a valid reason which would take too long to explain.
It's only something I want to do temporarily.
Take a look at update_users_online() in functions.php. Just check if $cur_user['username'] is Admin and if it is, skip the INSERT query at the end. That should do it.
Maybe a user (and so also the Admin) in his profile can have a "Invisible mode" option.
Cheers,
P.
That would probably be a mod
Smartys took the words right out of my mouth :)
Speaking of which
/me makes a note to put his mod for the toggle button up soon
PunBB Forums → PunBB 1.2 discussion → Logon as Admin without showing name
Powered by PunBB, supported by Informer Technologies, Inc.