Atory wrote:What's the code to display IP Addresses? I've been looking for this for a while now.
Here we go I've improved my MOD quite alot now.
"Location" now contains '##, #### <IP>' where '##' is two byte country code, '####' is the country name and 'IP' is well the IP address.
And have packaged it up into a neat little MOD here
, extract it to phpBB's inculdes dir.
The country lookup API I'm using is from http://www.maxmind.com/app/php
The GeoLite Country 'GeoIP.dat' file can be updated from http://www.maxmind.com/app/geoip_country
The GeoLite City
can also be used, But currently I don't see the need for it and it is alot bigger at 17.7MB vs 640KB.