TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

July 03, 2024, 07:25:30 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,285
  • Total Topics: 21,228
  • Online today: 46
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 57
  • Total: 58
  • @rjen

stats question

Started by preed, February 23, 2009, 06:57:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ccbtimewizard

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.

G6Cad

Thank you for clearing this topics question out for us ccbtimewiz  :up:  :)

preed

ok, i get it, thanks a lot.  :up:

Zetan

#13
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!

ccbtimewizard

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?

ZarPrime


Zetan

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.