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
183
Reaction score
1,373
Points
93
Location
Italy
NullCash
9,402
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,801
Reaction score
462
Points
83
NullCash
30
thx bro for sharing. very useful.
 

4ngeluxpunk

Member
XNullUser
Joined
Feb 16, 2020
Messages
969
Reaction score
1
Points
18
NullCash
430
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
788
Points
113
NullCash
6,268
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,975
Reaction score
492
Points
83
NullCash
903
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
944
Reaction score
30
Points
28
NullCash
24
Thank you sir! This is what I've been looking for for so long
 

eMag06

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

Expertone

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