Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
List Search engine Spider at Who's online Details »»
List Search engine Spider at Who's online
Version: 1.00, by Stadler Stadler is offline
Developer Last Online: Jul 2018 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-07-2003 Last Update: Never Installs: 13
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-03-2003, 09:42 PM
Till Till is offline
 
Join Date: May 2002
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 04:15 PM Stadler said this in Post #20
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.
Can you tell me where the screenshot is from where it showed the bot spidering in the list of active users?
Reply With Quote
  #23  
Old 08-03-2003, 09:47 PM
Stadler Stadler is offline
 
Join Date: Apr 2002
Location: Kiel, Germany
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Who's Online? ... Click on 'Currently active Users: xx'

in german: 'Zur Zeit aktive Benutzer: xx'
Reply With Quote
  #24  
Old 08-03-2003, 10:22 PM
Till Till is offline
 
Join Date: May 2002
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 12:47 AM Stadler said this in Post #22
Who's Online? ... Click on 'Currently active Users: xx'

in german: 'Zur Zeit aktive Benutzer: xx'
Oh! I disabled this one... hehe.

There is a crawler on my forum right now! Yay!!!

Danke.
Reply With Quote
  #25  
Old 09-05-2003, 11:45 AM
Megadeuce Megadeuce is offline
 
Join Date: Jul 2003
Location: League City, Texas USA
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #26  
Old 09-19-2003, 05:15 AM
Moyses's Avatar
Moyses Moyses is offline
 
Join Date: Mar 2002
Location: El Salvador
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a cool hack, doomo arigato
Reply With Quote
  #27  
Old 10-24-2003, 10:25 AM
Dominus Dominus is offline
 
Join Date: Oct 2003
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Originally Posted by Stadler
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.
Reply With Quote
  #28  
Old 10-24-2003, 08:31 PM
Stadler Stadler is offline
 
Join Date: Apr 2002
Location: Kiel, Germany
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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***
Reply With Quote
  #29  
Old 10-26-2003, 05:03 AM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #30  
Old 10-26-2003, 06:28 AM
Dominus Dominus is offline
 
Join Date: Oct 2003
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rampag33
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.
You do not add IPS, you add useragents into this.

PHP Code:
// spider list
$spidernamelist = array(
  
'scooter'         => 'Altavista',
  
'fast-webcrawler' => 'AlltheWeb',
  
'ask jeeves'      => 'Ask Jeeves',
  
'googlebot'       => 'Google',
  
'grub.org'        => 'Grub Client',
  
'slurp@inktomi'   => 'Inktomi',
  
'lycos'           => 'Lycos',
  
'turnitinbot'     => 'Turnitin.com'
); 
Reply With Quote
  #31  
Old 10-26-2003, 01:57 PM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK cool damn come on bots

*** installed ***
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09848 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete