Next Generation CMS :: Форум поддержки

Заинтересовала наша система? Тогда этот форум для Вас!

Вы не зашли.

#26 2010-05-19 12:30:58

Wolverine
Модератор
Откуда Домодедово
Зарегистрирован: 2008-10-13
Сообщений: 3,538
Рейтинг :   160 
Сайт

Re: Кто онлайн ?

Поисковый запрос User agent поисковых роботов

Не в сети

#27 2010-05-19 14:59:06

panoptus
Участник
Откуда Украина, Николаев
Зарегистрирован: 2009-02-18
Сообщений: 159
Рейтинг :   
Сайт

Re: Кто онлайн ?

Как-то так:

$robots = array(
				'Mail.Ru' => "Mail Ru",
				'spider' => "spider",
				'robot' => "robot",
				'crawl' => "crawl",
				'msiecrawler' => "MSIE Crawler",
				'spider17' => "yandex.ru",
				'spider17.yandex.ru' => "Вот",
				'twiceler' => "Cuil",
				'googlebot' => "Google",
				'mediapartners-google' => "Google AdSense",
				'slurp@inktomi' => "Hot",
				'archive_org' => "Archive.org",
				'Ask Jeeves' => "Ask Jeeves",
				'Lycos' => "Lycos",
				'WhatUSeek' => "What You Seek",
				'ia_archiver' => "IA.Archiver",
				'GigaBlast' => "Gigablast",
				'Yahoo!' => "Yahoo",
				'Yahoo-MMCrawler' => "Yahoo-MMCrawler",
				'TurtleScanner' => "TurtleScanner",
				'TurnitinBot' => "TurnitinBot",
				'ZipppBot' => "ZipppBot",
				'oBot' => "oBot",
				'rambler' => "Rambler",
				'Jetbot' => "Jet",
				'NaverBot' => "Naver",
				'libwww' => "Punto",
				'aport' => "Aport",
				//'msnbot' => "MSN",
				'msnbot' => "Bing",
				'MnoGoSearch' => "mnoGoSearch",
				'booch' => "Booch",
				'Openbot' => "Openfind",
				'scooter' => "Altavista",
				'WebCrawler' => "Fast",
				'WebZIP' => "WebZIP",
				'GetSmart' => "GetSmart",
				'grub-client' => "GrubClient",
				'Vampire' => "Net_Vampire",
				'Rambler' => "Rambler",
				'appie' => "Walhello appie",
				'architext' => "ArchitextSpider",
				'jeeves' => "AskJeeves",
				'bjaaland' => "Bjaaland",
				'ferret' => "Wild Ferret Web Hopper #1, #2, #3",
				'gulliver' => "Northern Light Gulliver",
				'harvest' => "Harvest",
				'htdig' => "ht://Dig",
				'linkwalker' => "LinkWalker",
				'lycos_' => "Lycos",
				'moget' => "moget",
				'muscatferret' => "Muscat Ferret",
				'myweb' => "Internet Shinchakubin",
				'nomad' => "Nomad",
				'scooter' => "Scooter",
				'slurp' => "Inktomi Slurp",
				'voyager' => "Voyager",
				'weblayers' => "weblayers",
				'antibot' => "Antibot",
				'digout4u' => "Digout4u",
				'echo' => "EchO!",
				'fast-webcrawler' => "Fast-Webcrawler",
				'ia_archiver' => "Alexa (IA Archiver)",
				'jennybot' => "JennyBot",
				'mercator' => "Mercator",
				'netcraft' => "Netcraft",
				'petersnews' => "Petersnews",
				'unlost_web_crawler' => "Unlost Web Crawler",
				'voila' => "Voila",
				'webbase' => "WebBase",
				'wisenutbot' => "WISENutbot",
				'fish' => "Fish search",
				'abcdatos' => "ABCdatos BotLink",
				'acme.spider' => "Acme.Spider",
				'ahoythehomepagefinder' => "Ahoy! The Homepage Finder",
				'alkaline' => "Alkaline",
				'anthill' => "Anthill",
				'arachnophilia' => "Arachnophilia",
				'arale' => "Arale",
				'araneo' => "Araneo",
				'aretha' => "Aretha",
				'ariadne' => "ARIADNE",
				'arks' => "arks",
				'aspider' => "ASpider (Associative Spider)",
				'atn.txt' => "ATN Worldwide",
				'atomz' => "Atomz.com Search Robot",
				'auresys' => "AURESYS",
				'backrub' => "BackRub",
				'bbot' => "BBot",
				'bigbrother' => "Big Brother",
				'blackwidow' => "BlackWidow",
				'blindekuh' => "Die Blinde Kuh",
				'bloodhound' => "Bloodhound",
				'borg-bot' => "Borg-Bot",
				'brightnet' => "bright.net caching robot",
				'bspider' => "BSpider",
				'cactvschemistryspider' => "CACTVS Chemistry Spider",
				'calif' => "Calif",
				'cassandra' => "Cassandra",
				'cgireader' => "Digimarc Marcspider/CGI",
				'checkbot' => "Checkbot",
				'christcrawler' => "ChristCrawler.com",
				'churl' => "churl",
				'cienciaficcion' => "cIeNcIaFiCcIoN.nEt",
				'collective' => "Collective",
				'combine' => "Combine System",
				'conceptbot' => "Conceptbot",
				'coolbot' => "CoolBot",
				'core' => "Web Core / Roots",
				'cosmos' => "XYLEME Robot",
				'cruiser' => "Internet Cruiser Robot",
				'cusco' => "Cusco",
				'cyberspyder' => "CyberSpyder Link Test",
				'desertrealm' => "Desert Realm Spider",
				'deweb' => "DeWeb© Katalog/Index",
				'dienstspider' => "DienstSpider",
				'digger' => "Digger",
				'diibot' => "Digital Integrity Robot",
				'direct_hit' => "Direct Hit Grabber",
				'dnabot' => "DNAbot",
				'download_express' => "DownLoad Express",
				'dragonbot' => "DragonBot",
				'dwcp' => "DWCP (Dridus' Web Cataloging Project)",
				'e-collector' => "e-collector",
				'ebiness' => "EbiNess",
				'elfinbot' => "ELFINBOT",
				'emacs' => "Emacs-w3 Search Engine",
				'emcspider' => "ananzi",
				'esther' => "Esther",
				'evliyacelebi' => "Evliya Celebi",
				'fastcrawler' => "FastCrawler",
				'fdse' => "Fluid Dynamics Search Engine robot",
				'felix' => "Felix IDE",
				'fetchrover' => "FetchRover",
				'fido' => "fido",
				'finnish' => "Hдmдhдkki",
				'fireball' => "KIT-Fireball",
				'fouineur' => "Fouineur",
				'francoroute' => "Robot Francoroute",
				'freecrawl' => "Freecrawl",
				'funnelweb' => "FunnelWeb",
				'gama' => "gammaSpider, FocusedCrawler",
				'gazz' => "gazz",
				'gcreep' => "GCreep",
				'getbot' => "GetBot",
				'geturl' => "GetURL",
				'golem' => "Golem",
				'grapnel' => "Grapnel/0.01 Experiment",
				'griffon' => "Griffon",
				'gromit' => "Gromit",
				'gulperbot' => "Gulper Bot",
				'hambot' => "HamBot",
				'havindex' => "havIndex",
				'hometown' => "Hometown Spider Pro",
				'htmlgobble' => "HTMLgobble",
				'hyperdecontextualizer' => "Hyper-Decontextualizer",
				'iajabot' => "iajaBot",
				'iconoclast' => "Popular Iconoclast",
				'ilse' => "Ingrid",
				'imagelock' => "Imagelock",
				'incywincy' => "IncyWincy",
				'informant' => "Informant",
				'infoseek' => "InfoSeek Robot 1.0",
				'infoseeksidewinder' => "Infoseek Sidewinder",
				'infospider' => "InfoSpiders",
				'inspectorwww' => "Inspector Web",
				'intelliagent' => "IntelliAgent",
				'irobot' => "I, Robot",
				'iron33' => "Iron33",
				'israelisearch' => "Israeli-search",
				'javabee' => "JavaBee",
				'jbot' => "JBot Java Web Robot",
				'jcrawler' => "JCrawler",
				'jobo' => "JoBo Java Web Robot",
				'jobot' => "Jobot",
				'joebot' => "JoeBot",
				'jubii' => "The Jubii Indexing Robot",
				'jumpstation' => "JumpStation",
				'kapsi' => "image.kapsi.net",
				'katipo' => "Katipo",
				'kilroy' => "Kilroy",
				'ko_yappo_robot' => "KO_Yappo_Robot",
				'labelgrabber.txt' => "LabelGrabber",
				'larbin' => "larbin",
				'legs' => "legs",
				'linkidator' => "Link Validator",
				'linkscan' => "LinkScan",
				'lockon' => "Lockon",
				'logo_gif' => "logo.gif Crawler",
				'macworm' => "Mac WWWWorm",
				'magpie' => "Magpie",
				'marvin' => "marvin/infoseek",
				'mattie' => "Mattie",
				'mediafox' => "MediaFox",
				'merzscope' => "MerzScope",
				'meshexplorer' => "NEC-MeshExplorer",
				'mindcrawler' => "MindCrawler",
				'mnogosearch' => "mnoGoSearch search engine software",
				'momspider' => "MOMspider",
				'monster' => "Monster",
				'motor' => "Motor",
				'muncher' => "Muncher",
				'mwdsearch' => "Mwd.Search",
				'ndspider' => "NDSpider",
				'nederland.zoek' => "Nederland.zoek",
				'netcarta' => "NetCarta WebMap Engine",
				'netmechanic' => "NetMechanic",
				'netscoop' => "NetScoop",
				'newscan-online' => "newscan-online",
				'nhse' => "NHSE Web Forager",
				'northstar' => "The NorthStar Robot",
				'nzexplorer' => "nzexplorer",
				'objectssearch' => "ObjectsSearch",
				'occam' => "Occam",
				'octopus' => "HKU WWW Octopus",
				'openfind' => "Openfind data gatherer",
				'orb_search' => "Orb Search",
				'packrat' => "Pack Rat",
				'pageboy' => "PageBoy",
				'parasite' => "ParaSite",
				'patric' => "Patric",
				'pegasus' => "pegasus",
				'perignator' => "The Peregrinator",
				'perlcrawler' => "PerlCrawler 1.0",
				'phantom' => "Phantom",
				'phpdig' => "PhpDig",
				'piltdownman' => "PiltdownMan",
				'pimptrain' => "Pimptrain.com's robot",
				'pioneer' => "Pioneer",
				'pitkow' => "html_analyzer",
				'pjspider' => "Portal Juice Spider",
				'plumtreewebaccessor' => "PlumtreeWebAccessor",
				'poppi' => "Poppi",
				'portalb' => "PortalB Spider",
				'psbot' => "psbot",
				'python' => "The Python Robot",
				'raven' => "Raven Search",
				'rbse' => "RBSE Spider",
				'resumerobot' => "Resume Robot",
				'rhcs' => "RoadHouse Crawling System",
				'road_runner' => "Road Runner: The ImageScape Robot",
				'robbie' => "Robbie the Robot",
				'robi' => "ComputingSite Robi/1.0",
				'robocrawl' => "RoboCrawl Spider",
				'robofox' => "RoboFox",
				'robozilla' => "Robozilla",
				'roverbot' => "Roverbot",
				'rules' => "RuLeS",
				'safetynetrobot' => "SafetyNet Robot",
				'search-info' => "Sleek",
				'search_au' => "Search.Aus-AU.COM",
				'searchprocess' => "SearchProcess",
				'senrigan' => "Senrigan",
				'sgscout' => "SG-Scout",
				'shaggy' => "ShagSeeker",
				'shaihulud' => "Shai'Hulud",
				'sift' => "Sift",
				'simbot' => "Simmany Robot Ver1.0",
				'site-valet' => "Site Valet",
				'sitetech' => "SiteTech-Rover",
				'skymob' => "Skymob.com",
				'slcrawler' => "SLCrawler",
				'smartspider' => "Smart Spider",
				'snooper' => "Snooper",
				'solbot' => "Solbot",
				'speedy' => "Speedy Spider",
				'spider_monkey' => "spider_monkey",
				'spiderbot' => "SpiderBot",
				'spiderline' => "Spiderline Crawler",
				'spiderman' => "SpiderMan",
				'spiderview' => "SpiderView™",
				'spry' => "Spry Wizard Robot",
				'ssearcher' => "Site Searcher",
				'suke' => "Suke",
				'suntek' => "suntek search engine",
				'sven' => "Sven",
				'tach_bw' => "TACH Black Widow",
				'tarantula' => "Tarantula",
				'tarspider' => "tarspider",
				'techbot' => "TechBOT",
				'templeton' => "Templeton",
				'titan' => "TITAN",
				'titin' => "TitIn",
				'tkwww' => "The TkWWW Robot",
				'tlspider' => "TLSpider",
				'ucsd' => "UCSD Crawl",
				'udmsearch' => "UdmSearch",
				'urlck' => "URL Check",
				'valkyrie' => "Valkyrie",
				'verticrawl' => "Verticrawl",
				'victoria' => "Victoria",
				'visionsearch' => "vision-search",
				'voidbot' => "void-bot",
				'vwbot' => "VWbot",
				'w3index' => "The NWI Robot",
				'w3m2' => "W3M2",
				'wallpaper' => "WallPaper (alias crawlpaper)",
				'wanderer' => "the World Wide Web Wanderer",
				'wapspider' => "w@pSpider by wap4.com",
				'webbandit' => "WebBandit Web Spider",
				'webcatcher' => "WebCatcher",
				'webcopy' => "WebCopy",
				'webfetcher' => "webfetcher",
				'webfoot' => "The Webfoot Robot",
				'webinator' => "Webinator",
				'weblinker' => "WebLinker",
				'webmirror' => "WebMirror",
				'webmoose' => "The Web Moose",
				'webquest' => "WebQuest",
				'webreader' => "Digimarc MarcSpider",
				'webreaper' => "WebReaper",
				'websnarf' => "Websnarf",
				'webspider' => "WebSpider",
				'webvac' => "WebVac",
				'webwalk' => "webwalk",
				'webwalker' => "WebWalker",
				'webwatch' => "WebWatch",
				'whatuseek' => "whatUseek Winona",
				'whowhere' => "WhoWhere Robot",
				'wired-digital' => "Wired Digital",
				'wmir' => "w3mir",
				'wolp' => "WebStolperer",
				'wombat' => "The Web Wombat",
				'worm' => "The World Wide Web Worm",
				'wwwc' => "WWWC Ver 0.2.5",
				'wz101' => "WebZinger",
				'xget' => "XGET",
				'awbot' => "AWBot",
				'baiduspider' => "BaiDuSpider",
				'bobby' => "Bobby",
				'boris' => "Boris",
				'bumblebee' => "Bumblebee (relevare.com)",
				'cscrawler' => "CsCrawler",
				'daviesbot' => "DaviesBot",
				'exactseek' => "ExactSeek Crawler",
				'ezresult' => "sEzresult",
				'gigabot' => "GigaBot",
				'gnodspider' => "sGNOD Spider",
				'grub' => "Grub.org",
				'henrythemiragorobot' => "Mirago",
				'holmes' => "Holmes",
				'internetseer' => "InternetSeer",
				'justview' => "JustView",
				'linkbot' => "LinkBot",
				'linkchecker' => "LinkChecker",
				'metager-linkchecker' => "MetaGer LinkChecker",
				'microsoft_url_control' => "Microsoft URL Control",
				'nagios' => "Nagios",
				'perman' => "Perman surfer",
				'pompos' => "Pompos",
				'rambler' => "StackRambler",
				'redalert' => "Red Alert",
				'shoutcast' => "Shoutcast Directory Service",
				'slysearch' => "SlySearch",
				'surveybot' => "SurveyBot",
				'turnitinbot' => "Turn It In",
				'turtle' => "Turtle",
				'turtlescanner' => "Turtle",
				'ultraseek' => "Ultraseek",
				'webclipping.com' => "WebClipping.com",
				'webcompass' => "webcompass",
				'wonderer' => "spider: Web Wombat Redback Spider",
				'yahoo-verticalcrawler' => "Yahoo Vertical Crawler",
				'zealbot' => "ZealBot",
				'zyborg' => "Zyborg",
				'BecomeBot' => "Becomet",
				'Yandex' => "Yandex",
				'StackRambler' => "Rambler",
				'ask jeeves' => "Ask Jeeves Bot",
				'lycos' => "Lycos.com",
				'whatuseek' => "What You Seek",
				'ia_archiver' => "Archive.org"
			    	);

		foreach($robots as $key => $value)
		{
			if(strstr(strtolower($useragent), strtolower($key)))
			{
				$robot = $value;
			}
		}

Не в сети

#28 2010-05-19 15:52:47

Евгений
Модератор
Откуда Россия
Зарегистрирован: 2009-04-08
Сообщений: 1,014
Рейтинг :   38 
Сайт

Re: Кто онлайн ?

panoptus, спасибо! wink


I NGeneration CMS

Не в сети

#29 2010-12-16 16:30:22

Tuan
Участник
Зарегистрирован: 2010-12-14
Сообщений: 38
Рейтинг :   

Re: Кто онлайн ?

Не хочет считать никого )
Тупо по нулям стоит...

Не в сети

#30 2010-12-16 16:45:25

LinMas
Участник
Откуда Украина, г. Черкассы
Зарегистрирован: 2010-04-26
Сообщений: 224
Рейтинг :   
Сайт

Re: Кто онлайн ?

Tuan,
плагин очень глючный

Не в сети

#31 2010-12-16 17:00:22

Tuan
Участник
Зарегистрирован: 2010-12-14
Сообщений: 38
Рейтинг :   

Re: Кто онлайн ?

А есть какая-нибудь рабочая альтернатива ? )

Не в сети

#32 2010-12-16 17:29:26

LinMas
Участник
Откуда Украина, г. Черкассы
Зарегистрирован: 2010-04-26
Сообщений: 224
Рейтинг :   
Сайт

Re: Кто онлайн ?

Tuan,
в данный момент нету полностью рабочего опубликованного
ждемс

Не в сети

#33 2010-12-16 17:45:48

Tuan
Участник
Зарегистрирован: 2010-12-14
Сообщений: 38
Рейтинг :   

Re: Кто онлайн ?

Вроде системе уже 2-3 года, как я понял, а до сих пор как-то пустовато в плане плагинов )

Не в сети

#34 2010-12-16 19:48:45

LinMas
Участник
Откуда Украина, г. Черкассы
Зарегистрирован: 2010-04-26
Сообщений: 224
Рейтинг :   
Сайт

Re: Кто онлайн ?

Tuan,
это дело поправимое, уже сейчас куча плагинов пишется
да и сначала нужно ядро до ума довести, а потом уже плагины пачками выпускать

Изменено LinMas (2010-12-16 19:49:15)

Не в сети

#35 2011-02-28 20:25:38

Wolverine
Модератор
Откуда Домодедово
Зарегистрирован: 2008-10-13
Сообщений: 3,538
Рейтинг :   160 
Сайт

Re: Кто онлайн ?

Поправил плагин, теперь считает.

Внутрь лучше не заглядывать, чувствуется, что его пилило несколько людей big_smile

Не в сети

#36 2011-02-28 22:58:54

magliona
Участник
Откуда Украина
Зарегистрирован: 2010-06-23
Сообщений: 215
Рейтинг :   
Сайт

Re: Кто онлайн ?

Wolverine, спасибо что доделал такую полезную вещь.
В возможно добавить кэширования пользиватилей ну что обновлялись раз в 10 минут.

Не в сети

#37 2011-02-28 23:25:08

Wolverine
Модератор
Откуда Домодедово
Зарегистрирован: 2008-10-13
Сообщений: 3,538
Рейтинг :   160 
Сайт

Re: Кто онлайн ?

Если тебе нужны данные за последние N минут, то в коде плагина найди - 300 и замени на нужное значение

Не в сети

Подвал раздела

Работает на FluxBB