Additional Info
Package ID
First Created
October 05, 2008, 07:11:39 PM
Last Updated
May 23, 2009, 03:58:26 AM

Ip to Country v1.3

Country of IP where belongs shown in parenthesis next to IP. Normally you have to use manual whois.
Compatible With 1.1.6, 1.1.7, 1.1.9
Latest version v1.3
Downloads 96,943
Reviews 0
Rating 0/5
Subscribers 20
License (View License)

  • With this mod you will be able to view country names related to IP you are viewing.
    Normally you should manually check whois-server.
  • Mod is useful only for Administrators (One who can view IPs).
  • Country information of IPs will be included in these places:

    • Posts
    • Track IP
    • Track User
  • 2 letter based country code (GB, IR, CA...) printed in parenthesis next to IP if matches in database (either -- printed).
  • Full name of country popups while you hover the IP.
  • Keep in mind; Mod uses lookup database, so it may doesn't give you exact results (most of times does).

Version Info:

  • Its only working with smf 1.1.x versions.

How To Install:

  • There are two types of installer exist, automated and manual. Difference is laying on IP database installation mechanism. Try automated version first (click install in Package Manager, that's it), if you get 500 internal server error (execution timeout) then use manual version.
  • Here is how to install manual way;

    • Download and extract its content according this list;

      • ip-to-country-i.php and ip-to-country.csv into your SMF's main directory (where index.php located).
      • into your packages folder.
    • After you uploaded those files then you can point ip-to-country-i.php from URL address.
      ie: (bold is your smf's address)
    • When import process is done page says: "It is done. 86392 rows added in total." (86392 depends how many records in IP database)
    • Delete ip-to-country-i.php and ip-to-country.csv against any security hole after your installation is done.
    • Then begin the setup process within admin panel (Package Manager) as always you do.
  • Manually edit your Display.template.php and Profile.template.php if you use custom theme
    (You wont have these files most of custom themes, if so nothing needs change).
    If you have any of these files, use Manual Install Instructions for SMF listbox in the mod download page to manual edit.

How To Upgrade:

  • 1.0 to 1.3 - Just install upgrade package (
  • 1.2 to 1.3 - Just install upgrade package (

How To Uninstall:

  • If you installed automated version, use same method as you uninstalling other mods. Nothing special.
  • But if you installed manual version, its time to hard work;

    • Uninstal mod using Package Manager and then you can safely uninstall IP database (mod is first, then ip database).
    • Download and extract ip-to-country-u.php into your SMF's main directory (where index.php located).
    • Point ip-to-country-u.php from URL address.
      ie: (bold is your smf's address)
    • Page says: "It is done. IP table dropped."
    • Then delete ip-to-country-u.php and be sure there are no ip-to-country-i.php and ip-to-country.csv either.
Copyright Info:

  • "This script uses the IP-to-Country Database
    provided by WebHosting.Info (,
    available from"

Version History:

  • v1.3 (04-12-2008)

    • Country information added onto profile summary page besides of last used IP.
  • v1.2 (11-11-2008)

    • There is no major change. Only automated installer included.
  • v1.1 (07-10-2008)

    • Bug fixed in IP Database Installer.
  • v1.0 (05-10-2008)

    • Initial release.
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization