Extensions > botdetection

Bot Detection

[botdetection]

Thumbnail picture

Helper class to detect search engines, bots, spiders, crawlers ...

Bot Detection is a helper class for other extensions (Frontend) the need to detect whether the access is human or machine :-)

A reliable detection is not possible.
It is to use two methods to detect this:

  • User Agent
  • IP address (IPv4/IPv6)


The modul includes a method for the agent (BD_CheckBotAgent) and one for the IP detection (BD_CheckBotIP).
These two methods return only "true" or "false" and are only a rough search on strings and substrings to identify the most important bots.
Another method (BD_CheckBotAgentAdvanced) comes with an external configuration file for the user agent detection. As a result, it returns the short name of the bots or "false".

A test is attached to be called directly, as well as 2 front end module as a demo for the implementation in your own modules.

Version from Contao 3.0!

Users of Contao 2, please use version 1.6.x!

Version
3.0.0-beta1
Type
Free
Release date
02.06.2012
Category
Utility
License
LGPL
Copyright
© 2010..2012 Glen Langer
Author
Glen Langer (BugBuster) http://contao.ninja
Release functionality
 
Total functionality
10.00
Release usability
 
Total usability
10.00
Release quality
 
Total quality
10.00
Release rating
 
Total rating
10.00 (1 votes)
Release downloads
19
Total downloads
1637
Release installs
20
Total installs
19215
Release updates
4
Total updates
19908
Dependencies of this extension
Other extensions depending on this one
Name
Version from
Version to
Contao
3.0.0-beta1
3.0.0-beta1
Name
Version from
Version to
3.0.0-beta1
3.3.0
3.0.0-RC1
3.1.0
3.0.0-RC1
3.6.0
3.0.0-RC1
3.4.0-RC1
Package
Size
Date
59312
21.07.2016 04:18