|
How do I hide a group from "who's online"?
|
|
01-17-2009, 04:05 PM
Post: #1
|
|||
|
|||
|
Hi,
I don't want the spiders/bots to apear in the "Who's Online" stat so I created a group for them. Now, how can I hide the full group members from the "Who's Online"? btw, I used the guest group permissions as a template for this one and removed any posting permissions (left only the viewing ones). Thanks, Ori... Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred. simplified translation of Occam's razor |
|||
|
01-23-2009, 09:43 PM
Post: #2
|
|||
|
|||
|
RE: How do I hide a group from "who's online"?
Hi all,
Isn't this possible? As I wrote, I don't want the spiders/bots to appear, so I created a special group for them and I want this group to be "hidden" (mostly from the "Who's Online"). Ori... Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred. simplified translation of Occam's razor |
|||
|
01-23-2009, 10:02 PM
(This post was last modified: 01-23-2009 10:03 PM by No0oB.)
Post: #3
|
|||
|
|||
|
RE: How do I hide a group from "who's online"?
If you don't want the bots to show up in the Who's Online List, you can open the index.php in the MyBB root folder and comment an if block of the Who's Online Generator:
PHP Code: elseif(my_strpos($user['sid'], "bot=") !== false && $spiders[$botkey])This is in line 108, if you comment the line starting with $onlinemembers and the line with $comma, they will most likely not be shown. Result: PHP Code: elseif(my_strpos($user['sid'], "bot=") !== false && $spiders[$botkey])MyBB Integrator - Integrate your MyBB forum into your site! |
|||
|
01-23-2009, 10:34 PM
Post: #4
|
|||
|
|||
|
RE: How do I hide a group from "who's online"?
Thanks, this is a way I didn't think of. But, I would like to know if there's a way for a group to be hidden as this is sometimes necessary.
Ori... Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred. simplified translation of Occam's razor |
|||
|
02-01-2009, 03:53 PM
Post: #5
|
|||
|
|||
RE: How do I hide a group from "who's online"?
(01-23-2009 10:34 PM)okitai Wrote: Thanks, this is a way I didn't think of. But, I would like to know if there's a way for a group to be hidden as this is sometimes necessary. I've answered your question here: How to add a custom location to Who's Online List? - Comprehensive Tutorial - nice image... MyBB addicted huh? ![]() דרך אגב, גם אני מישראל... אם אתה צריך עזרה - בכיף Creativity is a drug I cannot live without.
|
|||
|
02-21-2009, 07:41 PM
Post: #6
|
|||
|
|||
|
RE: How do I hide a group from "who's online"?
What do you mean "comment".
I dont get it. |
|||
|
02-21-2009, 07:46 PM
Post: #7
|
|||
|
|||
|
RE: How do I hide a group from "who's online"?
In PHP, to comment something, there's two types - // and /*. If you wrap something in /* and after it put */, it will "hide it" but not delete the code. And if you put // before a SINGLE line of code, it will stop that code from executing it.
The CMS is currently being moved to http://elite-area.com/!
|
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help





- nice image... MyBB addicted huh? 
