Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use maxmind's new geoip database #2

Open
live627 opened this issue May 14, 2017 · 1 comment
Open

Use maxmind's new geoip database #2

live627 opened this issue May 14, 2017 · 1 comment

Comments

@live627
Copy link

live627 commented May 14, 2017

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
Copy link
Owner

Spuds commented May 15, 2017

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants