This IP2Nation module provides API to access ip2nation
(http://www.ip2nation.com/) database in Drupal. With this module you can easily display visitor’s country flag and name. This module originaly developed by leon.
Requirement
Any version of drupal 5.
Installation
This module include ip2nation database but does not modify or add database schema in any way.
You can download this module from http://drupal.org/project/ip2nation

Fri, 08/01/2008 - 17:00
Neither the latest official release or the dev snapshot work on a fresh install of D5.9.
The following error is generated immediately after enabling the module, which suggests the table isn't being created correctly to begin with.
user warning: Table 'drupal5.ip2nationCountries' doesn't exist query: SELECT c.code, c.country FROM ip2nationCountries c INNER JOIN ip2nation i ON c.code = i.country WHERE i.ip < INET_ATON('::1') ORDER BY i.ip DESC LIMIT 0,1 in /Applications/MAMP/htdocs/drupal5/includes/database.mysql.inc on line 172.Can you please fix this?
Also, some documentation on what variables the module generates would be handy so that users can reference the info and place the flags wherever they like.
Fri, 08/01/2008 - 17:08
Please submit issue on drupal project site.
http://drupal.org/node/add/project_issue/ip2nation/bug
Regards,
Suryanto
Post new comment