TinyPortal

Development => Support => Topic started by: preed on February 23, 2009, 06:57:07 PM

Title: stats question
Post by: preed on February 23, 2009, 06:57:07 PM
quick question for you... ive been watching my stats, in my "stats Box" it shows "online today" as one number, lets say 2, then below that it shows "users online" as 9. shouldnt the "online today" say 9?
SMF 1.1.8
TP 0.9.8
GALLERY 2.3
HELIOS THEME
MISC MODS
Title: Re: stats question
Post by: Zetan on February 23, 2009, 07:40:41 PM
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)

We need a link to your site and a list of mods installed. Particularly whether you have Google Bots and Spiders mod installed as this has an option:

Count in "Most Online"
Title: Re: stats question
Post by: G6Cad on February 23, 2009, 07:51:07 PM
Misc mods are ?????????????
Title: Re: stats question
Post by: Zetan on February 23, 2009, 07:55:49 PM
Well, I found the link.. lol.

I think I need you to describe what's happening in a little more detail, because I'm not getting it to be honest. I visited your site and it hasn't been very active today.
Title: Re: stats question
Post by: preed on February 23, 2009, 08:03:06 PM
the only mod i have listed is auto embed video clips i had some a while back but i must have deleted them.
my site isnt very active, but right now it shows 6 "users online" and only 2 "online today" its really no big deal i was just wondering why it is.
and if you have any hints on how to make my site more active, im listening.
www.themasterangler.com

Title: Re: stats question
Post by: Zetan on February 23, 2009, 08:09:56 PM
From where I'm sitting, there hasn't isn't been 6 online today now.. though I expect that to change:

Quote
Total Members: 159
Latest: Xanfly Stats
Total Posts: 1284
Total Topics: 532
Online Today: 3
Online Ever: 19
(April 04, 2008, 11:03:59 AM) Users Online
Users: 1
Guests: 2
Total: 3

[edit] lol, confusing, these stats
Title: Re: stats question
Post by: preed on February 23, 2009, 08:28:18 PM
funny, like taking your car to the shop saying it makes this noise when.... and it doesnt make any noise.
its really no big deal. looking at google bot and spiders mod now...
thanks

Title: Re: stats question
Post by: Zetan on February 23, 2009, 08:49:40 PM
You'll need to add extra code into TP Stats block to display Spiders Count.
Title: Re: stats question
Post by: preed on February 24, 2009, 07:30:45 PM
ok here we go, this is what its showing now. again its not something im worried about or anything im just wondering why it shows it like that. i would think the "online today" would be showing 8 not 4

Stats
Total Posts: 1289
Total Topics: 532
Online Today: 4
Online Ever: 19
(April 04, 2008, 11:03:59 AM)
--------------------------------------------------------------------------------
Users Online
Users: 1
Guests: 7
Total: 8
Title: Re: stats question
Post by: G6Cad on February 24, 2009, 08:40:10 PM
Do a site maintenance, also, this is a question for SMF, TP just import the same data SMF puts out, so it's really their support to answer on.
Title: Re: stats question
Post by: ccbtimewizard on February 24, 2009, 09:14:15 PM
This seems to be an issue with SMF as stated.

In SMF 1.1.8, the online users are generated into $context['list_users_online'], which is a bool array() that is propogated from these arrays:


$context['users_online']
$context['num_guests']
$context['num_buddies']
$context['num_users_hidden']


In which are loaded using count() to generate each array entry:

$context['num_users_online'] = count($context['users_online']) + $context['num_users_hidden'];

If you're using a modification that attributes spider count (as default SMF 1.1.x does not contain this feature by default), make certain that, whatever variable it adds, is being added into $context['num_users_online'] in BoardIndex.php.

Likewise, the Users Online Today feature is defined briefly as $total_users;

$total_users = $context['num_guests'] + $context['num_users_online'];

That being, if you want spider count to increase the total users online count, edit that line in addition to the one previous.

Side note - As far as I'm aware, SMF does not count the same user from the same IP more than once for guests. That way, if a swarm of 69 bots attacked your site all using the IP 69.99.99.99, the guest count would be 69, but it would increase the total online by 1.
Title: Re: stats question
Post by: G6Cad on February 24, 2009, 09:39:58 PM
Thank you for clearing this topics question out for us ccbtimewiz  :up:  :)
Title: Re: stats question
Post by: preed on February 24, 2009, 09:41:24 PM
ok, i get it, thanks a lot.  :up:
Title: Re: stats question
Post by: Zetan on February 24, 2009, 10:26:52 PM
I think half of these are bots, spiders, crawlers, not being counted.

Get the mod.. it no longer bothers me what StaticTeFagArsePlanet is upto.. queeers.

Nowt better to do than to pretend to register on my site.. .. ..... ... ..  Ooooooh.. maybe tha anti queerio mod is working!
Title: Re: stats question
Post by: ccbtimewizard on February 25, 2009, 02:35:18 AM
Quote from: Zetan on February 24, 2009, 10:26:52 PM
I think half of these are bots, spiders, crawlers, not being counted.

Get the mod.. it no longer bothers me what StaticTeFagArsePlanet is upto.. queeers.

Nowt better to do than to pretend to register on my site.. .. ..... ... ..  Ooooooh.. maybe tha anti queerio mod is working!

Pardon?
Title: Re: stats question
Post by: ZarPrime on February 25, 2009, 03:03:12 AM
 :2funny: :2funny: :2funny:

ZP
Title: Re: stats question
Post by: Zetan on February 25, 2009, 07:43:51 AM
Half of the visitors to any site are robots, web crawlers. half of those are trying to register to post spam. here's whats crawling my site right now:



Guests

218.249.35.246 (218.249.35.246), Opera
User agent: Opera/9.01 (Windows NT 5.1; U; en)
Guest 06:09:53 Viewing the board index of Slaying Steel. 61.234.254.69
61.234.254.69 (), Opera
User agent: Opera/7.54 (Windows NT 5.1; U) [pl]
Guest 06:04:01 Viewing the board index of Slaying Steel. 124.125.56.252
124.125.56.252 (), Opera
User agent: Opera/7.54 (Windows NT 5.1; U) [pl]
Guest 05:35:06 Viewing Arcade index 219.237.199.113
219.237.199.113 (),
User agent:
Guest 05:34:14 Viewing the topic Download 07, photos! (56k warning). 61.238.77.41
61.238.77.41 (061238077041.ctinets.com), MSIE
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Guest 05:34:03 Unknown Action 120.28.64.69
120.28.64.69 (120.28.64.69), MSIE
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Guest 05:32:56 Viewing the topic Download 07, photos! (56k warning). 219.205.144.44
219.205.144.44 (softbank219205144044.bbtec.net), MSIE
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Guest 05:27:06 Viewing the topic Atheist - New Album in the works!!!. 83.78.9.143
83.78.9.143 (143-9.78-83.cust.bluewin.ch), MSIE
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Sgrunt|V109|867|S1354384428|dial; GTB5; XBE|29|S04027771521143; snprtz|S04040233701347; .NET CLR 1.1.4322)
Guest 05:15:56 Posting in Bolt Thrower [Video Thread]. 85.222.86.50
85.222.86.50 (86-50-N1.aster.pl), MSIE
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)
Guest 04:15:22 Viewing the topic LEO FENDER + Factory Tour. 189.182.84.208
189.182.84.208 (dsl-189-182-84-208.prod-infinitum.com.mx), MSIE
User agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; Media Center PC 5.0)
Guest 03:37:15 Viewing the board index of Slaying Steel. 220.181.61.222
220.181.61.222 (220.181.61.222), Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)
User agent: Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)
Guest 02:53:45 Unknown Action 38.108.180.59
38.108.180.59 (h-180-59.scoutjet.com), Mozilla/5.0 (compatible; ScoutJet; +http://www.scoutjet.com/)
User agent: Mozilla/5.0 (compatible; ScoutJet; +http://www.scoutjet.com/)
Guest 02:39:33 Viewing the board index of Slaying Steel. 61.247.222.56
61.247.222.56 (), Yeti/1.0 (NHN Corp.; http://help.naver.com/robots/)
User agent: Yeti/1.0 (NHN Corp.; http://help.naver.com/robots/)
Guest 02:38:13 Unknown Action 38.99.13.124
38.99.13.124 (crawl-3.cuill.com), Mozilla/5.0 (Twiceler-0.9 http://www.cuil.com/twiceler/robot.html)
User agent: Mozilla/5.0 (Twiceler-0.9 http://www.cuil.com/twiceler/robot.html)

Spiders
User Time Action IP
Baiduspider 07:13:31 Viewing the board index of Slaying Steel. 220.181.50.226
220.181.50.226 (), Baiduspider
User agent: Baiduspider+(+http://www.baidu.com/search/spider.htm)
Baiduspider 06:37:09 Viewing the board index of Slaying Steel. 220.181.50.240
220.181.50.240 (220.181.50.240), Baiduspider
User agent: Baiduspider+(+http://www.baidu.com/search/spider.htm)
Yahoo spider 06:24:32 Viewing the topic Sweet Child Of Mine - Sitar Version. 74.6.22.90
74.6.22.90 (llf520091.crawl.yahoo.net), Yahoo! Slurp
User agent: Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)
Google spider 05:11:51 Viewing the topic Link to LAB Radio!. 66.249.73.201
66.249.73.201 (crawl-66-249-73-201.googlebot.com), Googlebot
User agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Google spider 04:54:05 Viewing the topic CANNIBAL CORPSE FEAST ON BACK CATALOGUE. 66.249.71.140
66.249.71.140 (crawl-66-249-71-140.googlebot.com), Googlebot
User agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Google spider 04:27:12 Viewing the board index of Slaying Steel. 209.85.238.11
209.85.238.11 (rate-limited-proxy-209-85-238-11.google.com), Feedfetcher-Google
User agent: Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; 1 subscribers; feed-id=11625737140356655544)


Some are fine. I see an agent called Statictheplanet at least 10 times a day, every day. It used to bother me, I used to place server bans.. but unless they really start hammering the site and use up more server resources.. I'll leave em be.


I don't think you are seeing half that information from Who's Online by default. Guests are often the concern, the unknown bots.