Description:
Smart IP identify visitor's geographical location (longitude/latitude), country,
region, city and postal code based on the IP address of the user. These information
will be stored at session variable ($_SESSION) with array key 'smart_ip' and Drupal
$user->data object with array key 'geoip_location' of the user but optionally it can
be disabled (by role) at Smart IP admin page. Other modules can use the function
smart_ip_get_location($ip_address) that returns an array containing the visitor's
ISO 3166 2-character country code, longitude, latitude, region, city and postal code. It
provides a feature for you to perform your own IP lookup and admin spoofing of an arbitrary
IP for testing purposes.
Requirements:
Drupal 8.x
Installation:
1. Copy the extracted smart_ip directory to your Drupal sites/all/modules directory.
2. Login as an administrator. Enable the module at http://www.example.com/?q=admin/modules
3. Set your private file system path at http://www.example.com/?q=admin/config/media/file-system
4. Configure/update Smart IP database/lookup an IP at
http://www.example.com/?q=admin/config/people/smart_ip.
Support:
Please use the issue queue for filing bugs with this module at
http://drupal.org/project/issues/smart_ip
View source
-
- Description:
- Smart IP identify visitor's geographical location (longitude/latitude), country,
- region, city and postal code based on the IP address of the user. These information
- will be stored at session variable ($_SESSION) with array key 'smart_ip' and Drupal
- $user->data object with array key 'geoip_location' of the user but optionally it can
- be disabled (by role) at Smart IP admin page. Other modules can use the function
- smart_ip_get_location($ip_address) that returns an array containing the visitor's
- ISO 3166 2-character country code, longitude, latitude, region, city and postal code. It
- provides a feature for you to perform your own IP lookup and admin spoofing of an arbitrary
- IP for testing purposes.
-
- Requirements:
- Drupal 8.x
-
- Installation:
- 1. Copy the extracted smart_ip directory to your Drupal sites/all/modules directory.
- 2. Login as an administrator. Enable the module at http://www.example.com/?q=admin/modules
- 3. Set your private file system path at http://www.example.com/?q=admin/config/media/file-system
- 4. Configure/update Smart IP database/lookup an IP at
- http://www.example.com/?q=admin/config/people/smart_ip.
-
- Support:
- Please use the issue queue for filing bugs with this module at
- http://drupal.org/project/issues/smart_ip