• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Stats

OverHere

Active member
#1
At my site Satisfy.tv which is currently being tested for launch, when I add a new thread and go to homepage all of a sudden the number of guests shown shoots up to something like 20, 25 or more - the no. of Bots increases to 2 or so only.

Now, when I log in as Admin and check 'Current Visitors' and IP addresses, most of these seem to be Bots?

So, is my Stats playing up? Are Bots being shown as guests? If so, what would be the issue and resolution?

Thanks.
 

OverHere

Active member
#3
Not all bots are defined - you would need to edit one of the core .php files to expand the list.
This works a bit odd - if a number of guests shown are actually bots, other potential members will wonder why there are always so many guests who are not signing up?

Any how by 'list' do you mean my 'Current Visitors' list? And, if the relevant file edit is made will this also reflect the bot and guests stats in the stats box?

Also, on this site I assume your stats box is as is, without any edit etc., simple default box?

Thanks.
 

Brogan

XenForo moderator
Staff member
#4
The robots are defined in /library/xenforo/Session.php.

If they don't match the credentials defined in that file, they won't be listed as robots.
 

OverHere

Active member
#5
The robots are defined in /library/xenforo/Session.php.

If they don't match the credentials defined in that file, they won't be listed as robots.
Ok, thanks. So, on this site I assume none of the potential changes you state above have been done on this site? Is the bots set up on this site all default as it is on my site?
 

OverHere

Active member
#6
Ok, thanks. So, on this site I assume none of the potential changes you state above have been done on this site? Is the bots set up on this site all default as it is on my site?
@Brogan 1. Please respond to the above

2. At http://xenforo.com/community/members/ you see 'Today's Birthdays' - is this a default xF 1.2 feature? I can't see this in the new version features list?

Or, is this an Add-On? If so, which Add-On is this?

Thanks.
 

Brogan

XenForo moderator
Staff member
#7
Other than the RM, the "Buy Xenforo" tab in the nav bar and the footer, this site is default.
What you see here is what you get in 1.2.1.
 

OverHere

Active member
#8
Other than the RM, the "Buy Xenforo" tab in the nav bar and the footer, this site is default.
What you see here is what you get in 1.2.1.
ok, thanks. But, how come your Registered Members list has vanished from your 'Members' section? Or, is this disabled here?

On this site, this used to show 'Highest Posting Members' as well as 'Newest Members' like you can see at my site at http://satisfy.tv/members/list?

Where are these 2 features now on this site?
 

OverHere

Active member
#10

Tracy Perry

Well-known member
#12
So, is my Stats playing up? Are Bots being shown as guests? If so, what would be the issue and resolution?
Thanks.
My modified Sessions.php section to add a few more in that I have noticed in my log file.

Code:
        /**
         * Known robot user agent substrings. Key is user agent substring, value is robot key name.
         *
         * There's a great list here: http://user-agent-string.info/list-of-ua/bots
         *
         * @var array
         */
        protected $_knownRobots = array(
                'a6-indexer' => 'a6-indexer',
                'archive.org_box' => 'archive.org',
                'ahrefsbot' => 'ahrefsbot',
                'baiduspider' => 'baidu',
                'bingbot' => 'bing',
                'facebookexternalhit' => 'facebookextern',
                'googlebot' => 'google',
                'googlebot-mobile' => 'google',
                'grapeshotcrawler' => 'grapeshot',
                'mediapartners-google' => 'google',
                'adsnot-google' => 'google',
                'ia_archiver' => 'alexa',
                'linkdexbot' => 'linkdexbot',
                'magpie-crawler' => 'brandwatch',
                'mj12bot' => 'mj12',
                'msnbot' => 'msnbot',
                'netseer crawler' => 'netseer',
                'proximic' => 'proximic',
                'scoutjet' => 'scoutjet',
                'sogou web spider' => 'sogou',
                'yahoo! slurp' => 'yahoo',
                'yandex' => 'yandex',

                /*'crawler',
                'php/',
                'zend_http_client',*/
        );

        /**
         * Maps an robot key to info about it.
         *
         * @var array
         */
        protected $_robotMap = array(
                'a6-indexer' => array(
                        'title' => 'A6-Indexer',
                        'link' => 'http://www.a6corp.com/a6-web-scraping-policy',
                ),
                'ahrefsbot' => array(
                        'title' => 'Ahrefs',
                        'link' => 'http://ahrefs.com/robot/',
                ),
                'alexa' => array(
                        'title' => 'Alexa',
                        'link' => 'http://www.alexa.com/help/webmasters',
                ),
                'archive.org' => array(
                        'title' => 'Internet Archive',
                        'link' => 'http://www.archive.org/details/archive.org_bot'
                ),
                'baidu' => array(
                        'title' => 'Baidu',
                        'link' => 'http://www.baidu.com/search/spider.htm'
                ),
                'bing' => array(
                        'title' => 'Bing',
                        'link' => 'http://www.bing.com/bingbot.htm'
                ),
                'brandwatch' => array(
                        'title' => 'Brandwatch',
                        'link' => 'http://www.brandwatch.com/how-it-works/gathering-data/'
                ),
                'facebookextern' => array(
                        'title' => 'Facebook',
                        'link' => 'http://www.facebook.com/externalhit_uatext.php'
                ),
                'google' => array(
                        'title' => 'Google',
                        'link' => 'http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1061943'
                ),
                'grapeshot' => array(
                        'title' => 'GrapeshotCrawler',
                        'link' => 'http://www.grapeshot.co.uk/crawler.php'
                ),
                'linkdexbot' => array(
                        'title' => 'Linkdexbot',
                        'link' => 'http://www.linkdex.com/about/bots'
                ),
                'mj12' => array(
                        'title' => 'Majestic-12',
                        'link' => 'http://majestic12.co.uk/bot.php',
                ),
                'msnbot' => array(
                        'title' => 'MSN',
                        'link' => 'http://search.msn.com/msnbot.htm'
                ),
                'netseer' => array(
                        'title' => 'NetSeer',
                        'link' => 'http://www.netseer.com/crawler.html'
                ),
                'proximic' => array(
                        'title' => 'Proximic',
                        'link' => 'http://www.proximic.com/info/spider.php'
                ),
                'scoutjet' => array(
                        'title' => 'Blekko',
                        'link' => 'http://www.scoutjet.com/',
                ),
                'sogou' => array(
                        'title' => 'Sogou',
                        'link' => 'http://www.sogou.com/docs/help/webmasters.htm#07'
                ),
                'unknown' => array(
                        'title' => 'Unknown',
                        'link' => ''
                ),
                'yahoo' => array(
                        'title' => 'Yahoo',
                        'link' => 'http://help.yahoo.com/help/us/ysearch/slurp'
                ),
                'yandex' => array(
                        'title' => 'Yandex',
                        'link' => 'http://help.yandex.com/search/?id=1112030'
                )
        );
 
Last edited: