Support

Admin Tools

#23780 Geolocate IP address

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Saturday, 26 December 2015 17:20 CST

sabroso
Hi there,

I'm looking for a bit of direction and help in what I'm trying to achieve.

Upon user registration I want to geolocate their IP address and store the matching Country in the User database. I have developed a simple user plugin for this and everything is working fine, but just the translation from IP address to Country is missing.

Since I have an Admin Tools Pro subscription and I can see this translation is already being done by Admin Tools Pro I thought surely there is a method in any of the admin tool files I can call from my plugin to achieve this task.

I have been looking around the admin tools files but I didn't find any obvious way of achieving this.

I'd appreciate if you can put me in the right direction

Many thanks,
Daniel

tampe125
Akeeba Staff
Hello Daniel,

IP to Country conversion is performed by the Akeeba GeoIP plugin. You have to use that plugin to actually get the country name from an IP address.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!