v1.6-v1.7 Support for MaxMind GeoLite2 Databases (MMDB) 1.4.0

Crazy2016

Well-known member
Master
Diamond
Elite
XNullUser
Joined
Nov 4, 2019
Messages
182
Reaction score
1,241
Points
93
Location
Italy
NullCash
8,522
Replaces the old core for GeoLite databases (legacy since April 2018) included into PrestaShop for a new one adding support for the new GeoLite2 databases (MMDB).

What this module does for you
  • Get your Geolocation system updated
  • Allow connections from unresolved countries, don't lose customers
  • Force a country for unresolved queries to MMDB
  • Better geolocation accuracy
  • Save time updating your databases with a simple cronjob
Link : https://addons.prestashop.com/en/in...maxmind-geolite2-databases-mmdb.html#overview

What's New in Version 1.4.0 (07/22/2021)
  • Refactored Code
  • Updated Documentation
 

Attachments

  • v1.4.0-maxgeo2.zip
    3.7 MB · Views: 20

hxcode

Well-known member
Master
Diamond
Elite
Joined
Aug 16, 2020
Messages
3,670
Reaction score
447
Points
83
NullCash
7
thx bro for sharing. very useful.
 

4ngeluxpunk

Member
XNullUser
Joined
Feb 16, 2020
Messages
885
Reaction score
1
Points
18
NullCash
441
Muchas gracias buena actualización y buen compartir buen trabajo mi amigo.
 

slavi_946

Active member
XNullUser
Joined
Dec 1, 2020
Messages
905
Reaction score
29
Points
28
NullCash
14
thx bro for sharing. very useful.
 

Sillumin

Well-known member
☆ Pro ☆
Master
Diamond
Elite
Joined
Jun 18, 2021
Messages
3,620
Reaction score
780
Points
113
NullCash
6,212
Thank you very much! This is very useful module! It seems that they just changed autor from version 1.3.0 to 1.4.0. Ie replaced author from PSBlog to Labelgrup Networks.
 

unique

Well-known member
Diamond
Elite
XNullUser
Joined
Dec 12, 2020
Messages
2,834
Reaction score
481
Points
83
NullCash
1,181
What\'s New in Version 1.4.0 (07/22/2021)
  • Refactored Code
  • Updated Documentation
 

slavi_946

Active member
XNullUser
Joined
Dec 1, 2020
Messages
905
Reaction score
29
Points
28
NullCash
14
Thank you sir! This is what I've been looking for for so long
 

eMag06

New member
XNullUser
Joined
Aug 3, 2023
Messages
15
Reaction score
0
Points
1
Location
Nice
NullCash
4
This is what I've been looking for for so long. Great module!
 

Expertone

Member
XNullUser
Joined
Nov 15, 2022
Messages
236
Reaction score
6
Points
18
Location
none
NullCash
310
Thank you bro for sharing with us!
Post automatically merged:

By testing seems it cannot be able to download a compressed database file. If you enable the debug you will see that the module download a zero size tar file.
Post automatically merged:

for who want to update the mmdb with a siumple cron you can use this code:

/usr/bin/curl -L --silent 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=<YOUR_LICENSE_KEY>&suffix=tar.gz' | /bin/tar -C '/home/u3p3/domains/xyz.tld/public_html/app/Resources/geoip' -xvz --keep-newer-files --strip-components=1 --wildcards '*GeoLite2-City.mmdb'

where:
<YOUR_LICENSE_KEY> = you license API key obtained free from maxmind
/home/u3p3/domains/xyz.tld/public_html/app/Resources/geoip = fisical path tp the folder: "/app/Resources/geoip"

put it in a cronjob and schedule one time a day so every day you have a fresh GeoLite2-City.mmdb database
 
Last edited:
Top