how do i hide the bots from being seen online?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
clubbersguide.com.au
Registered User
Posts: 38
Joined: Sun Jun 10, 2007 7:44 am

how do i hide the bots from being seen online?

Post by clubbersguide.com.au »

can i make the hidden by any chance?
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: how do i hide the bots from being seen online?

Post by Arty »

In includes/functions.php find this:

Code: Select all

if (($row['user_allow_viewonline'] && $row['session_viewonline']) || $auth->acl_get('u_viewonline'))
and replace with this:

Code: Select all

if (($row['user_allow_viewonline'] && $row['session_viewonline'] && $row['user_type'] <> USER_IGNORE) || $auth->acl_get('u_viewonline'))
I haven't tested it, but I think it should work. Only admins will see bots, other users won't see them.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
clubbersguide.com.au
Registered User
Posts: 38
Joined: Sun Jun 10, 2007 7:44 am

Re: how do i hide the bots from being seen online?

Post by clubbersguide.com.au »

lol, how accurate is this?
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: how do i hide the bots from being seen online?

Post by Arty »

you'll never know until you test it ;)
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
clubbersguide.com.au
Registered User
Posts: 38
Joined: Sun Jun 10, 2007 7:44 am

Re: how do i hide the bots from being seen online?

Post by clubbersguide.com.au »

lol okay i'll give it a go :P haha, do you also know how 2 put advertisements like these forums have but banners by any chance? :P hehe
clubbersguide.com.au
Registered User
Posts: 38
Joined: Sun Jun 10, 2007 7:44 am

Re: how do i hide the bots from being seen online?

Post by clubbersguide.com.au »

it worked, thank you very much :P
Locked

Return to “[3.0.x] Support Forum”