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.
For my installation, the GeoCity .dat files go into /usr/local/share/GeoIP/ (I think that's the default... don't think I would have changed the path for them).
Hi,
my provider stated I do have "mod_geoip" module, not GeoIP PHP extension (.
Is there any way to get the map working ?
(I assume - NO- but still hope ...)
I just installed this and have downloaded the files and uploaded them to there server. I am getting the following errors now and no map:
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
Figured it out. Apparently, I was not logged in when the errors were shown. Do I need to turn it off for guests then? Apparently, if there are no users and only guests on the site, is when the error occurs.
It should be fine if guests can/can't view as long as at least you have a user online.
I have the links only show to members now. Since I am still working on the site, there are times I come in as a guest and if there are no spiders or registered users online at the time, I get the error. There are quite a few smaller sites that run into that every now and then.
I just tried to get this rolling on my new server today and am not having any luck.
GeoIP is installed and can be seen here (http://www.nationofblue.com/info.php)
Product is imported and USERMAP template is installed.
The page loads but there is no Google Map. No errors are displayed anywhere.
Tried to change $_SERVER['REMOTE_ADDR'] to IPADDRESS at the bottom of usermap.php as you mentioned previously with no different results.
Hey digitalpoint, please ignore my previous post. The problem was that the usermap.css was not getting added to my styles directory in vbulletin_css. I am not sure why but manually creating it solved my problem.