![]() |
List Search engine Spider at Who's online
I've created this hack, cause I wanted to see, when search engine spiders are browsing my forums.
This hack adds a textbox, where you can enter a list of Spider-IPs, so they would be recognized as 'Search engine spider' on who's online. I'm using the lists from www.iplists.com right now and it seems to work without problems, though I've had to add some IPs from Inktomisearch that aren't listed there. First I've used parts of the banip-function, but that was really slow then, so I've had to tweak it. Now its only slightly slower, than without it. You won't even recognize it. I've ported it to the banip-function in order to reduce server-load, when using a big list of banned IPs. I'll release that, when I'm finished here. Screenshots: Search engine spider browsing forums New textbox to add IPs in Admin-CP PS: I'd be happy, if you only click install, if you really installed it, since I want to know, how many really installed it and since I need feedback. I've added a version, that uses the useragent rather, than using an IP-List. I recommend using spiderips_useragent.txt from now on. |
Search engine spider browsing forums
|
New textbox to add IPs in Admin-CP
|
[high]* Beanyhead installs :)[/high]
|
Nice hacks. I plan to install both of them tomorrow, as I don't have enough time right now. :(
|
That would be good :)
I'm running it for some days on our forums now and have occurred no problems so far, but maybe there are still bugs I haven't occured yet. |
Only problem is this relies on knowing the IP's of the spiders and recognising them ;)
- miSt |
e. g. with the lists from www.iplists.com? ;)
|
Great, I got the same idea a week ago ... and than I found it's done by you.
|
Hey great hack, clicked install...
but howto? just copy&paste the ip's from iplist.com to acp ? |
Quote:
|
cool hack
**clicks install** |
Maybe you want to look at the useragent instead of going by ip (the vb3 way)? It can be spoofed but it is a whole lot simpler and faster. Look at Who's Online on vbulletin.com
preg_match('#(googlebot|lycos|ask jeeves|scooter|fast-webcrawler|slurp@inktomi|turnitinbot)#' |
Test/Install via 2.3.0 failed, no errors, no change on whos online.
|
Unfortunately we're running vB3 now, so I need to install vB2.3.0 locally. Maybe I'll take a look in the next few days, to get it to work with vB2.3.0 and maybe I'll take a look at freddies suggestion, but I suppose I'll hardcode it then, like in vB3 Beta 3 so its easier to install.
|
Does this work for 2.3.0?
|
|
Installation was pretty easy, good job. :)
I added the IPs from iplists.com, where do I see the active users though? |
Stadler - Its a nice hack, but can you get it to work on 2.3.0 stable release also ?
Thanks |
Sorry, but I can't find any problems. It worked without problems with a freash installation of vB 2.3.0 for me.
I'll take a look into freddies suggestion, soon. But I can only debug locally. |
Quote:
|
Who's Online? ... Click on 'Currently active Users: xx'
in german: 'Zur Zeit aktive Benutzer: xx' ;) |
Quote:
There is a crawler on my forum right now! Yay!!! Danke. ;) |
This hack works well. I wish it could tell me who's spider it is but here is a screenshot....
Doesn't show up on who's online though UPDATED: must switch on "must resolve IPs" in the admin control panels to see the name of the spider. Can we get this to also show up on who visited the site today? |
this is a cool hack, doomo arigato
|
vbulletin 2.3.2
------------------ Using freddies suggestion, works quite well... ;) preg_match('#(googlebot|lycos|ask jeeves|scooter|fast-webcrawler|slurp@inktomi|turnitinbot)#' See screenshot. Quote:
|
OK, now I've created a version, that works similar to freddies suggestion. But I need someone, who tests it for me. First, that I didn't forgot something in the attached file and second, that it works fine in a live environment.
***The Attachment was moved to the first post*** |
Where's the user-agent box to add ips
I ran the query but don't see it in the admin cp search the database and don't find anything realted to the query for it. |
Quote:
PHP Code:
|
OK cool :) damn come on bots
*** installed *** |
Great hack,
works like a charm :) So far only GoogleBots bother me but Ill keep my eyes open :) Thanks again Dimitry |
i have a problem with a new searchbot .. ..always when he is coming.. i have the error displayed on the screen and he is messig up the whole db .. i will loose the mysql server if i dont switch the forum offline .. he is making a server load of 7 or more .. normaly when i have 100 users online i have maybe a server load of 0.5 maximum 1.2 ..the sql server crashes when this bot is coming..
what i can do? deinstall this hack? |
in index.php on 219 it writes following code:
PHP Code:
(server: dual xeon SQL server!) |
That hack doesn't affect index.php or any other file, except online.php, so this hack is hardly related to this. You have to find out, which requires you to apply the change you've posted above.
btw: which version of MySQL is your Database-Server running? |
All times are GMT. The time now is 03:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|