Facebook  Twitter 


+- +-


+- User Information

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

+- Forum Stats

Total Members: 12414
Latest: danilubrin
New This Month: 4
New This Week: 3
New Today: 0
Total Posts: 39956
Total Topics: 7034
Most Online Today: 42
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 29
Total: 29

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14982
    • 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

hashTags only used by admins, but visible to everyone? by Dwev
Today at 07:59:19 am

Install ad seller pro problem. by SMFHacks
December 13, 2019, 05:56:56 am

Contact Page Problem by emmebroke
December 11, 2019, 04:19:25 pm

Responsive Layout by Matthias
November 30, 2019, 03:05:57 pm

Secure connection failed Pretty Url Pro by Rock Lee
November 26, 2019, 10:44:23 am

Black Friday Sale Week 2019 by SMFHacks
November 23, 2019, 04:47:56 pm

German Translation missing in SMF 2.1R1 by SMFHacks
November 19, 2019, 02:38:42 pm

Unread items issue by SMFHacks
November 19, 2019, 10:07:32 am

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Powered by EzPortal