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
187
Reaction score
1,450
Points
93
Location
Italy
NullCash
9,917
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,912
Reaction score
465
Points
83
NullCash
3
thx bro for sharing. very useful.
 

4ngeluxpunk

Active member
XNullUser
Joined
Feb 16, 2020
Messages
1,019
Reaction score
1
Points
38
NullCash
473
Muchas gracias buena actualización y buen compartir buen trabajo mi amigo.
 

Sillumin

Well-known member
☆ Pro ☆
Master
Diamond
Elite
Joined
Jun 18, 2021
Messages
3,620
Reaction score
791
Points
113
NullCash
6,289
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
3,048
Reaction score
493
Points
83
NullCash
922
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
973
Reaction score
31
Points
28
NullCash
19
Thank you sir! This is what I've been looking for for so long
 

eMag06

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

Expertone

Member
XNullUser
Joined
Nov 15, 2022
Messages
261
Reaction score
6
Points
18
Location
none
NullCash
257
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