Version: 1.0.3, by digitalpoint
Developer Last Online: May 2016
Category: Miscellaneous Hacks -
Version: 4.x.x
Rating:
Released: 06-08-2010
Last Update: 12-01-2011
Installs: 156
Uses Plugins
Additional Files
No support by the author.
About
This is a system for geo-locating your currently online users and plotting them on a world Google Map. You can click any of the pins for a link to pull up the user's location in Google Earth.
This is something I originally made almost 5 years ago. Now that I rewrote it for vBulletin 4, I wrapped it up as a product package and released it for the world to use.
Installation
Put the usermap.php file in your forum folder.
Install the product-digitalpoint_usermap.xml product under AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product
Notes
Important! - this uses the free GeoIP PHP extension, so you must have it installed on your server in order for it to work.
Uses datastore cache so it does not repeat GeoIP queries unnecessarily.
Hmm. No I didn't edit the file. I just re-downloaded the zip, uploaded it and overwrote what was already there, and re-imported the XML (with overwrite on), with the same results.
I am getting the following errors, I confirmed with host that everything was successfully installed and renamed as per some of the comments listed above however a series of errors appears at the top of the page before the map.
No map is shown either.
Any help or assistance would be superb.
Cheers!
PHP Code:
Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /opt/geoip/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100
Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 128
Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 133
Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 152
Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /opt/geoip/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 158
EDIT:
This is a listing of the two directories - am I missing anything?
-
Quote:
bash-3.2# ls -aslh /var/lib/GeoIP
total 29M
2.0K drwxr-xr-x 2 root root 2.0K Dec 20 19:06 .
2.0K drwxr-xr-x 19 root root 2.0K Dec 20 18:38 ..
1.2M -rw-r--r-- 1 root root 1.2M Dec 20 19:06 GeoIP.dat
28M -rw-r--r-- 1 root root 28M Dec 20 18:38 GeoIPCity.dat
-bash-3.2# ls -aslh /usr/local/share/GeoIP/
total 57M
2.0K drwxr-xr-x 2 root root 2.0K Dec 20 18:38 .
2.0K drwxr-xr-x 6 root root 2.0K Dec 20 10:32 ..
1.2M -rw-r--r-- 1 root root 1.2M Dec 20 10:32 GeoIP.dat
28M -rw-r--r-- 1 root root 28M Dec 20 18:38 GeoIPCity.dat
28M -rw-r--r-- 1 root root 28M Dec 3 19:41 GeoLiteCity.dat
Ok, I've installed as part of my hosting service (from what I can see) and get this
Fatal error: Call to undefined function geoip_record_by_name() in /data03/????/public_html/usermap.php on line 100
I've checked my php folder here /php/Net/GeoIP and see these files location.php and DMA.php
Any ideas?
Bit more info after speaking to my hosting company is that they use PEAR packages and have confirmed I have install what I need to use GeoIP, these being Console_Getopt 1.3.0 and Net_Geo 1.0.5