Facebook  Twitter 


+- +-


+- User Information

Welcome, Guest.
Please login or register.
Forgot your password?

+- Forum Stats

Total Members: 12374
Latest: LevelLord
New This Month: 1
New This Week: 2
New Today: 1
Total Posts: 40210
Total Topics: 7081
Most Online Today: 95
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 58
Total: 58

Author Topic: [Mod]geoIP Location Mod  (Read 1827 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
[Mod]geoIP Location Mod
« on: March 03, 2016, 06:27:48 pm »
geoIP Location Mod


This modification adds the ability to determine the latitude & longitude of a member given their IP address. This is commonly referred to as geolocation. The mod makes use of the GeoLite? data created by MaxMind?, available from http://www.maxmind.com/

In some instances the IP address will not be found in the installed database, or will have incomplete data. In this case the mod will make use of the hostip.info site as a secondary source to gather its information.

A note on accuracy: Maxmind shows that this database (which is updated on a monthly basis) is over 99.5% accurate on a country level making it a viable source for registration blocking.

When it comes to the city level accuracy this number is and 79% for the US (within a 25 mile radius). That is the best accuracy, and other countries city/region location accuracy tapper off from that. Even with that it still makes for an entertaining online member map.

The software is licensed under Mozilla Public License 1.1 (MPL-1.1).

    Adds the ability to block or allow member registrations on a per country basis
    Adds an on-line member map which will show a map pin for each IP currently on your forum (needs the Country & City database)
    Adds in the geoIP information under the track IP sections, allows you to see city / region (state) / country of the IP address
    Currently only for IP4 addresses

There are admin settings available with this mod, go to admin - configuration - modification settings - geoIP. Installation


The package will install on all systems, however to have the mod install the maxmind geoIP databases you need to be running MYSQL

If you do not have the zip module installed (the mod will inform you of this) then you may run into an out of memory issue when unzipping the large database. Without the zip module the memory requirements are 272M which may be a problem on some systems. If you get an out of memory error or white screen your options are to use the country only database or to use the manual install option which requires that you upload the unzipped CSV files and then mod will install them.

Often the maxmind download site is slow, as such some sites may timeout when downloading the database files. The mod does request more time but some hosts still do not allow this. If you time out, simply try again at another time.

This mod is compatible with SMF 2.0 Only.
« Last Edit: March 13, 2016, 08:53:16 pm by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/


Related Topics

  Subject / Started by Replies Last post
4 Replies
Last post June 18, 2010, 08:50:58 am
by jos
7 Replies
Last post October 20, 2010, 12:13:37 am
by SMFHacks
2 Replies
Last post September 02, 2011, 08:38:35 am
by SMFHacks
15 Replies
Last post April 30, 2012, 10:35:20 pm
by dougvarrieur
6 Replies
Last post June 26, 2017, 10:42:01 am
by kirkvan

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal