Spuds / Elk-GeoIP

ElkArte addon that adds an on-line member map which will shows a map pin for each IP currently on your forum, also adds the ability to block or allow member registrations on a per country basis
Other
2 stars 0 forks source link

Use maxmind's new geoip database #2

Open live627 opened 7 years ago

live627 commented 7 years ago

GeoIP2 contains many more IP addresses than v1 (I assume this mod suses the old ddb). Here is a tutorial for converting from geoip to mysql long http://davidkane.net/installing-new-geoip-database-sql-database/

Also the query load data is possibly disabled on many hosts. Stumped me for weeks trying to figure this out on a site few months ago.

And lastly, you can use the buffer to add on country flags to the whos online page.

Spuds commented 7 years ago

The smf version of this one does use mysql and load data 😢 , this Elk version however does not (I also learned it was way to much of a pita to import the database for a lot of shared hosting, far to many support issues and whining)

The elk version uses the database via a webserver module ... which makes the values available as php constants. I use it with nginx with http://nginx.org/en/docs/http/ngx_http_geoip_module.html

Will look into the flags, don't use them myself so don't remember what I did !