Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Aiheen aloitti: Krillin - elokuu 29, 2011, 09:48:05 IP

Otsikko: Bots VS Broswers track by IP
Kirjoitti: Krillin - elokuu 29, 2011, 09:48:05 IP
Bots VS Browsers v1.1

There isn't a way to track an IP address and determine what is coming from the IP address. Is it a Guest or is it a Bot? This small modification will Cure your worries. Lately there are more 'false' Bots called User Agents going around the internet. Some are clever enough to falsify who they are and cause much confusion if you want to block them with /robots.txt, but before you can do that, you must know what User Agent to block from your site. This will help you get that User Agent.

Bots vs Browsers to Track User Agents Or Browser Agents by IP

Version: 1.1 Date 2011-08-29
Compatibility: SMF 1.1.4, SMF 1.1.5, SMF 1.1.6, SMF 1.1.7, SMF 1.1.5-1.1.7, SMF 2.0 Beta 3.1, SMF 2.0 Beta 4, SMF 2.0 RC2, SMF 2.0 RC3, SMF 2.0 RC4, SMF 2.0 RC5, SMF 2.0, SMF 2.0.1

What this package does: Searches the website botsvsbrowsers.com to detemine if an IP addres is a bot or a browser. If it is a bot, it will show 'X User Agents Found' on the page. If no user agents found from IP searched then the IP is from a user browser. ;-)

Configuration

Nothing to configure. Just open your Who's Online in SMF (logged in at the bottom of the Info Center). You will be taken to SMF's Track IP page. Click on an IP to search for. You will see a new whois-server, Bots vs Browsers IP Look Up Bots Or Browsers, has been added to your server list. Click it and you will be forwarded to botsvsbrowser page to determine if it is a bot (User Agent) or a browser (User Browser)! :)

How to determine if the IP is a User Agent (Bot) or Browser (User Browser)?

If the IP is a User Agents (Bot) then you will see the following message:
Lainaus käyttäjältä: Bots VS BrowserBot or Browser:
This User Agent is  is  a known bot.
If the IP is a Browser (User Browser) you will see the following message:
Lainaus käyttäjältä: Bots VS BrowserBot or Browser:
This User Agent is  not  a known bot.

Support

You may get support or submit questions and comments in the modification's support topic at the SMF site.

Credits: This mod is based on Deprecated's - Add IP2Location to Track IP (Thanks for your guidance)

Change Log

1.1 - Fixed link to botsvsbrowsers to work

1.0 - Initial release build

Copyright (c) 2011 by d0c (at) krillinsworld (dot) com. All rights reserved. Redistribution prohibited except at SimpleMachines.org

http://custom.simplemachines.org/mods/index.php?mod=3187
Otsikko: Re: [MOD] Bots VS Broswers track by IP
Kirjoitti: Sabre™ - elokuu 30, 2011, 03:53:59 AP
I quickly skimmed your post, as I do, and your 'Credits' section grabbed my attention.
I have Alot of respect and time for Greg, so seeing that made me pause, and reread your whole post thoroughly.
Sounds like a neat little feature.
Thank You for sharing :)
Otsikko: Re: [MOD] Bots VS Broswers track by IP
Kirjoitti: Krillin - elokuu 30, 2011, 04:59:46 AP
Thank you Sabre™ for your kind words. I always give credit where credit is due. I spent an entire afternoon trying to hunt down BaiDu User Agent and found out there are more then 20+ variations of the silly thing, could not stop it from showing up on my website, forums mainly. In my searching I stumbled across the Bots VS Browsers website. Thought it would be a perfect tool to determine a User Agent or User Browser.

I thought this was the place to post new mods, but I was incorrect. I found out how to post this in the Modifications as needed, just wasn't looking down on the page correctly. It is posted there now.

Hopefully this Modification gets approved.

Krillin
Otsikko: Re: [MOD] Bots VS Broswers track by IP
Kirjoitti: razors edge - elokuu 30, 2011, 07:48:01 AP
Where can I download this mod? The link is not correct.

Otsikko: Re: [MOD] Bots VS Broswers track by IP
Kirjoitti: Illori - elokuu 30, 2011, 07:57:17 AP
the mod is not approved, you will not be able to download it until the customize team has a chance to review the mod which could take over a month.
Otsikko: Re: [MOD] Bots VS Broswers track by IP
Kirjoitti: Krillin - elokuu 30, 2011, 11:20:32 AP
Lainaus käyttäjältä: razors edge - elokuu 30, 2011, 07:48:01 AP
Where can I download this mod? The link is not correct.
The link is correct it shows up for me. Opps. I guess it only shows up for me when I am logged in as it did not show up for me when I was not logged in. I have reattached the file above. Sorry about that.

Lainaus käyttäjältä: Illori - elokuu 30, 2011, 07:57:17 AP
the mod is not approved, you will not be able to download it until the customize team has a chance to review the mod which could take over a month.
Then I will not hold my breath. LOL. I am a patient one. I can wait for them to approve. I am in no hurry anymore I was just anxious but have settled down after sleeping on it. Thanks for your input. ;-)

Krillin
Otsikko: Re: [MOD] Bots VS Broswers track by IP
Kirjoitti: Krillin - syyskuu 27, 2011, 04:39:24 IP
Officially Approved MOD on 9/27/2011

Mod Main Link.
http://custom.simplemachines.org/mods/index.php?mod=3187

Support Thread:
http://www.simplemachines.org/community/index.php?topic=453949.0

Main Post here will have the download removed. All downloads should be accessed from the Mod Main Link above.

Thanks!