phpbb3 hide bots

Hide Bots in phpBB 3

Submitted by CyberAlien, Jun 2007.
This tutorial explains how to hide bots from list of online users in phpBB 3.

Open includes/functions.php, find this:
  1. if (($row[‘session_viewonline’]) || $auth->acl_get(‘u_viewonline’)) 
and replace with this:
  1. if (($row[‘session_viewonline’] || $auth->acl_get(‘u_viewonline’)) && $row[‘user_type’] <> USER_IGNORE) 

After this change only administrators will use bots in list of online users, other users won’t see them.

Share this tutorial

If you want to show this tutorial to someone else please use following code to link to this tutorial:

HTML Link:
Hide Bots in phpBB 3” class=”text” onclick=”this.focus();;”/>
Forum BBCode:

Content of this tutorial may not be published anywhere else without author’s permission. Please link to this page instead.