|
Joined: Nov 2007
Posts: 99
journeyman
|
journeyman
Joined: Nov 2007
Posts: 99 |
I would like to hide the "who's online" and I know how to do that through CP, but my question is, is there a way that I (as admin) can see who is online - users and anon and their IPs whilst still hiding the who's online box from others?
Last edited by toonarrow; 12/05/2007 10:16 PM.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
yah, a slight tweak to ubbthreads.inc.php to check for 'Administrator' and then display would do the trick
|
|
|
|
Joined: Nov 2007
Posts: 99
journeyman
|
journeyman
Joined: Nov 2007
Posts: 99 |
Apologies in advance for the hand holding Sirdude, but I'm lost. Is that something I can do within the control panel?
|
|
|
|
Joined: Nov 2007
Posts: 99
journeyman
|
journeyman
Joined: Nov 2007
Posts: 99 |
Ah. Okay. So I found that ubbthreads.in.php file. I presume I must change it in my text editor, save it, upload it to my ftp server to replace existing file, right?
I can do that. Can you tell me what to change check for admin?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
In situations like this I simply tell the admin to disable the island, and bookmark the " details" page...
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
which points out what i deem a flaw. lowly guests can peruse that link, even if the admin doesn't want it. so what i do for /scripts/online.inc.php is change "admin_only" => 0 to "admin_only" => 1 and that prevents all but admins to view that link. 1 character edit
|
|
|
|
Joined: Nov 2007
Posts: 99
journeyman
|
journeyman
Joined: Nov 2007
Posts: 99 |
so I'm in the ubbthreads.inc.php file and when I do a "find" for "admin_only" i come up with no results?
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
sorry for the misdirect toon.. rather than waddle thru ubbthreads.inc.php, the easiest way is to combine giz idea, but further restrict it to admin only.. sooooooo 1. open /scripts/online.inc.php 2. find "admin_only" => 0 ( ~ line 39ish) 3. change to : "admin_only" => 1 4. save file and upload 5. go to admin cpanel and disable who's online island 6. bookmark (just for you) http://yourforum/ubbthreads/ubbthreads.php?ubb=online*poof* done note: 'yourforum' is your domain and i assumed it was under the ubbthreads directory.. your mileage may vary note: this will allow YOU (admins too) only to access that URL without getting an access error like "yo dude, no can do that" for all other users, including guests. it's essentially hidden AND protected this way
|
|
|
|
Joined: Nov 2007
Posts: 99
journeyman
|
journeyman
Joined: Nov 2007
Posts: 99 |
Done. Look at me. Programming and stuff
|
|
|
|
Joined: Nov 2007
Posts: 99
journeyman
|
journeyman
Joined: Nov 2007
Posts: 99 |
Oh. PS - THANK YOU
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
you are welcome toon.. and i'm glad you asked the question, because i think the way it is now (wide open) isn't the way it should/could be.. dunno... having to edit code ain't what i'd deem the way to do it.. /me checks out 7.3 code to see
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
<snicker> yeh, the admin only tick is good too if you want to ensure no one goes there; you can set it mod only or regged only too if you wanted to open things up slightly
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
SD, yeh, I'd definitely have it regged only ...
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
well, we have a group perm 'can view member list' that -- although not the same -- could be used to make it configurable (possibly).. along with regonly=1 but, that's a Rick call from where i stand
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
815
guests, and
186
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|