Have installed the module and works fine using:

$ip = $_SERVER['REMOTE_ADDR'];
$country_code = ip2country_get_country($ip);

but doesn't seem to get stored in the Drupal $user object as $user->country_iso_code_2 despite logging out logging and even creating a new user account.

Comments

greggles’s picture

Priority: Normal » Critical

Seems pretty important.

tr’s picture

Priority: Critical » Normal
Status: Active » Closed (duplicate)
greggles’s picture

So, time for a new release?

tr’s picture

I intend to, when I get some free time, but I don't currently have time to volunteer thousands of unpaid hours a year to Drupal as I've done in the past. -dev always contains the most current, most bug-free version of all my modules.