1

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?

I've been down so long it's beginning to look like up..

Re: Logon as Admin without showing name

You don't want admin users to be visible in the online list?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: Logon as Admin without showing name

That's correct.
There is a valid reason which would take too long to explain.
It's only something I want to do temporarily.

I've been down so long it's beginning to look like up..

Re: Logon as Admin without showing name

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.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

5

Re: Logon as Admin without showing name

Maybe a user (and so also the Admin) in his profile can have a "Invisible mode" option.

Cheers,
P.

Re: Logon as Admin without showing name

That would probably be a mod wink

Re: Logon as Admin without showing name

Smartys took the words right out of my mouth :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Logon as Admin without showing name

Speaking of which
/me makes a note to put his mod for the toggle button up soon tongue