Not Solved [How To?] Hide Bots From "Who's Online" List
#1
Not Solved
I think I've read somewhere before that this is possible but I remember that it had a lot of coding and special things to go with it but for the life of me I can't find that thread any longer.

Is is possible to hide bots from the who's online list? Right now I've just been banning every bot IP address that pops up but I'm sure there are MANY out there and would likely never be a could solution to the problem.

Any help is appreciated.


Attached Files Thumbnail(s)
   
Reply
#2
Not Solved
If you delete the existing Spiders / Bots within the ACP, the bots will show as "Guest" in Who's Online.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#3
Not Solved
Ah but then that'll get me all excited thinking there are actually people seeking out my forum when in reality its a bot.

If there are no other ways suggested to get rid of them I will end up doing that, thank you! Smile
Reply
#4
Not Solved
(2016-01-23, 10:12 PM)Nicole-Studios Wrote: Ah but then that'll get me all excited thinking there are actually people seeking out my forum when in reality its a bot.

If there are no other ways suggested to get rid of them I will end up doing that, thank you! Smile

You can always rename it then.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#5
Not Solved
you can try to comment out the lines, L115 and L116 from index.php to remove them from index page..

https://github.com/mybb/mybb/blob/featur...x.php#L114


however that will not remove them from the whos online page.. for that you need to edit online.php and comment the elseif part of the bots..

https://github.com/mybb/mybb/blob/featur...e.php#L235
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#6
Not Solved
Quote:Ah but then that'll get me all excited thinking there are actually people seeking out my forum when in reality its a bot.

The naming of spiders/bots is just a way of identifying them. Even if you hide known bots (Google/Facebook/etc), there are still millions of bots which can crawl your forum and will show up as guests. I'd recommend using Google Analytics to get a somewhat accurate look at your forum traffic.
No longer involved in the MyBB project.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)