Hide Bots & Spiders

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29216
Joined: Sat Aug 16, 2003 7:36 am

Hide Bots & Spiders

Post by Extensions Robot »

Modification name: Hide Bots & Spiders
Author: MartectX
Modification description: Hides robots and spiders from the "Who is online?" list. They are also counted as such.

Administrators and moderators with permission to view hidden members may still see them.
Modification version: 1.0.1
Tested on phpBB version: 3.0.5

Download file: hide_bots_and_spiders_1.0.1.zip
File size: 57.33 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Sep 19, 2022 7:33 pm, edited 11 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18282
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Hide Bots & Spiders

Post by DavidIQ »

Modification validated/released

Notes:
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Hide Bots & Spiders

Post by MartectX »

Image

Image
User avatar
PinoyEngine™
Registered User
Posts: 244
Joined: Fri Apr 24, 2009 7:12 am

Re: Hide Bots & Spiders

Post by PinoyEngine™ »

Will this select only bots allowed to be seen in Whois Online?

Thanks in advance and more power.
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Hide Bots & Spiders

Post by MartectX »

PinoyEngine™ wrote:Will this select only bots allowed to be seen in Whois Online?
The modification will hide all bots from users with no privileges to see hidden members.
NicksNet
Registered User
Posts: 55
Joined: Sat Apr 04, 2009 1:16 pm

Re: Hide Bots & Spiders

Post by NicksNet »

hello,

nice mod, works perfectly ;)

but... how can i hide the bots in the view of last 24 hours?

Screenshot_209.jpg
Screenshot_209.jpg (53.06 KiB) Viewed 10727 times
thanks
Sorry, my English isn't the best...
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Hide Bots & Spiders

Post by MartectX »

NicksNet wrote:how can i hide the bots in the view of last 24 hours?
Hmmm... you'll have to ask the author of that MOD. :?
NicksNet
Registered User
Posts: 55
Joined: Sat Apr 04, 2009 1:16 pm

Re: Hide Bots & Spiders

Post by NicksNet »

i think this is the topic fo this mod?! so i hope he have a look - or should i send a privat message to him?

EDIT:
Author: MartectX

EDIT2:

I`m SO sorry!!! you speak about "activity_stats_mod" - i forgot that this is a mod and not standard in phpbb3 :oops:
Sorry, my English isn't the best...
GemBoard
Registered User
Posts: 16
Joined: Wed Jul 01, 2009 7:38 pm

Re: Hide Bots & Spiders

Post by GemBoard »

Can this be turned on and off in the ACP, I cant seem to find it anywhere in the ACP after installing it. I am using 3.0.5 and I did clear the cache and still dont see it. Thanks.
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Hide Bots & Spiders

Post by MartectX »

GemBoard wrote:Can this be turned on and off in the ACP
No, it cannot.
User avatar
Snorlaxative
Registered User
Posts: 85
Joined: Wed Feb 11, 2009 3:34 am
Location: The Web Tower
Contact:

Re: Hide Bots & Spiders

Post by Snorlaxative »

How can I hide them from the users with permission to see them as well.. I just don't like seeing bots at all :cry:
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Hide Bots & Spiders

Post by MartectX »

Snorlaxative wrote:How can I hide them from the users with permission to see them as well.. I just don't like seeing bots at all :cry:
OPEN viewonline.php

FIND

Code: Select all

	if ($row['user_id'] != ANONYMOUS && !isset($prev_id[$row['user_id']]))
ADD BEFORE

Code: Select all

if ($row['user_type'] == USER_NORMAL || $row['user_type'] == USER_FOUNDER || $row['user_id'] == ANONYMOUS)
{
FIND

Code: Select all

$db->sql_freeresult($result);
unset($prev_id, $prev_ip);
ADD BEFORE

Code: Select all

}
OPEN includes/functions.php

FIND

Code: Select all

			$online_users['online_users'][$row['session_user_id']] = (int) $row['session_user_id'];
			if ($row['session_viewonline'])
			{
				$online_users['visible_online']++;
			}
			else
			{
				$online_users['hidden_users'][$row['session_user_id']] = (int) $row['session_user_id'];
				$online_users['hidden_online']++;
			}
REPLACE WITH

Code: Select all

			if ($row['user_type'] == USER_NORMAL || $row['user_type'] == USER_FOUNDER || $row['user_id'] == ANONYMOUS)
			{
				$online_users['online_users'][$row['session_user_id']] = (int) $row['session_user_id'];

				if ($row['session_viewonline'])
				{
					$online_users['visible_online']++;
				}
				else
				{
					$online_users['hidden_users'][$row['session_user_id']] = (int) $row['session_user_id'];
					$online_users['hidden_online']++;
				}
			}
User avatar
Snorlaxative
Registered User
Posts: 85
Joined: Wed Feb 11, 2009 3:34 am
Location: The Web Tower
Contact:

Re: Hide Bots & Spiders

Post by Snorlaxative »

THANKS! :D
User avatar
themba
Registered User
Posts: 53
Joined: Wed Aug 20, 2008 9:54 am
Location: Pretoria, South Africa
Contact:

Re: Hide Bots & Spiders

Post by themba »

The Mods works on viewonline.php page, but I also want to hide them on the board index page, how can I do that? Thank you.
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Hide Bots & Spiders

Post by MartectX »

themba wrote:The Mods works on viewonline.php page, but I also want to hide them on the board index page, how can I do that? Thank you.
This modification does both.
Locked

Return to “[3.0.x] MOD Database Releases”