Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module provides local based ip geolocation based on SypexGeo City database. It is fully free and has frequently updates.
How to use
Installation
At first you must download and install module as usual. Then you need to download SypexGeo PHP library and SypexGeo City database. You can do it in two ways:
First way - manually:
- Go to download page.
- Download "Sypex Geo для PHP 5.2+".
- Put SxGeo.php file to PATH_TO_SITE_INSTALLATION/sites/all/libraries/sypexgeo.
- File must be available at /sites/all/libraries/sypexgeo/SxGeo.php.
- Download "Sypex Geo City" UTF-8 edition.
- Navigate to /admin/config/regional/sypexgeo.
- Upload SxGeoCity.dat file and save it.
- You're done.
Second way - fastest
- Install all you needs with just single command
drush sypexgeo
. - It will ask you, what you want to install, choose it and thats it.
Yes, you can also update SypexGeo database with drush. Just use second option when you want to make database fresh.
For code example visit GitHub page or read the README.md.
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Module categories: Developer Tools, Site Structure
- 7 sites report using this module
- Created by Niklan on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.