SMF Mod Site

Mod Name:
Add IP2Location to Track IP
Created By:
Feature Enhancement
First Created:
August 06, 2008, 07:37:05 AM
Last Modified:
March 03, 2016, 03:02:54 PM
Latest Version:
Compatible With:
1.1.5, 1.1.6, 1.1.7, 2.0 Beta 3.1 Public, 2.0 Beta 4, 2.0 RC2, 2.0.7, 2.0.10, 2.0.11
Total Downloads:

Download this mod (4kB) [1637]
Manual Install Instructions for SMF


What this package does: You can find the physical location of your forum members and visitors, what country, what state or province, what city, and sometimes even which part of that city. This works by means of a free acount on a geolocation service.

IP2Location is a commercial service that provides geolocation data based upon IP addresses. This modification adds IP2Location to the list of whois servers on SMF's Track IP page to allow convenient access to the service.

IP2Location allows 20 free queries per day without registration, or you may register for a free demo account and get 200 queries per day. Try them out at the following URL:

"IP2Location™ is an award-winning solution to help you to identify visitor's geographical location i.e. country, region, city, latitude, longitude, ZIP code, time zone, connection speed, ISP and domain name using a proprietary IP address lookup database and technology without invading Internet user's privacy."

Their service provides the most accurate IP geolocation information that I've found. Most inaccuracies resolve to a town nearby the target, close enough for most purposes. On occasion the ISP has provided only general geographic information about their IP structure, so in these cases only a general location may exist, such as the name of the state, province or country. Nevertheless, most of the time it's pretty damned close! Even better, the service is free to people who need only a modest number of lookups per day.

Revision history

Version 1.31 (Jan. 22, 2014) Verified compatible with SMF 2.0.6, 2.0.7.  No code changes.

Version 1.3 (Dec. 9, 2009) Verified compatible with SMF 2.0 RC2 and works with both default/curve and core themes.

Version 1.2 (Nov. 21, 2008) Added language strings for English UTF-8 and British both with and without UTF-8.

Version 1.1 (Sept. 9, 2008) reorganized installation package. No code changes.

Version 1.0 (Aug. 6, 2008) original release.


      If you use this modification and like it I'll appreciate if you would support my modification package authoring work by making a small donation even if it's only a dollar. Thanks guys.