MyBB Community Forums

Full Version: Removing bots from who online?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys im trying to remove Bots from the whos online details at bottom of index page, at the mo ive done this:

Removed:

// Otherwise this session is a bot
        else if(my_strpos($user['sid'], "bot=") !== false && $spiders[$botkey])
        {
            $user['bot'] = $spiders[$botkey]['name'];
            $user['usergroup'] = $spiders[$botkey]['usergroup'];
            $guests[] = $user;
        } 

&

	// Fetch spiders
	$spiders = $cache->read("spiders");

from the online.php file but bots are still showing up in the whos online box Sad ...any ideas?

Thanks

removing bots entries at admin panel might be sufficient !! see responses here
hi mate & thanks for reply Smile

i dont mind the bots & i want to keep them for now, i just dont want them filling up my whos online list all the time Sad
Just delete them from the admin cp. They'll still crawl your forum, but they will show as guests.
But what bif I want them to be treated as bots etc. (so keep the bots settings in the ACP) but not show up on the index page? -- or, how can I move them to the end of the listing, *after* the members?
aye thats would be good also having guests show up @ the end of the whos online listing that way bots dont cause a prob with it then