vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=244236

Digital Point User Map
by digitalpoint
08 Jun 2010 23:01

3 Attachment(s)
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.
  • Upgraded to Google Maps API v3.
You can see a live version in action here:
http://forums.digitalpoint.com/usermap.php

noppid 08 Jun 2010 23:03

Nice to see. Thanks!

Reeve of shinra 09 Jun 2010 01:02

Cool beans!

Trek 09 Jun 2010 01:16

Thanks much, installed!

*edit*

nm, can't use it. My webhost doesn't have the PHP extension required for this mod. Had to uninstall.

karlm 09 Jun 2010 02:04

Looks awesome... will investigate further soon..

digitalpoint 09 Jun 2010 03:09

Quote:

Originally Posted by Trek (Post 2050750)
Thanks much, installed!

*edit*

nm, can't use it. My webhost doesn't have the PHP extension required for this mod. Had to uninstall.

Yeah, sorry... I knew that was going to be the biggest sticking point, but it *is* a fairly common PHP extension so some people hosting on managed servers might have some luck. For those that run their own servers, it's pretty easy to install from RPM or just compile it.

Sadly there isn't a way around needing some sort of geotargetting mechanism though. I thought about making it geotarget against my servers for people, but then people would complain about privacy and such with all the geotargetting requests going to a central server. Can't make everyone happy unfortunately. :)

Brandon Sheley 09 Jun 2010 05:08

good deal, thanks Shawn

as7apcool 09 Jun 2010 06:34

good work ... thanks alot

CoZmicShReddeR 09 Jun 2010 09:13

I added extension=php_geoip.dll and restarted apache server and when I click on the map link I get

Fatal error: Call to undefined function geoip_record_by_name() \usermap.php on line 100

I am using vB_Datastore_Filecache

Abhik 09 Jun 2010 10:01

Thank you for the release Shawn..

digitalpoint 09 Jun 2010 10:40

Quote:

Originally Posted by CoZmicShReddeR (Post 2050871)
I added extension=php_geoip.dll and restarted apache server and when I click on the map link I get

Fatal error: Call to undefined function geoip_record_by_name() \usermap.php on line 100

Well for whatever reason it didn't get installed correctly if the functions aren't there... :)

Kolbi 09 Jun 2010 11:15

Thanks!

TeknoSounds 09 Jun 2010 11:49

dope :D Works wonderfully ty!

twitch 09 Jun 2010 14:38

Quote:

Originally Posted by digitalpoint (Post 2050903)
Well for whatever reason it didn't get installed correctly if the functions aren't there... :)

same problem

noppid 09 Jun 2010 14:57

It's not like the GeoIP site hands you the install instructions over there. But, I'm pretty sure a resourceful person could do the geoip pure install at the php file level rather then the apache server level if a shared host won't add it. http://geolite.maxmind.com/download/geoip/api/php/ Then you need the city database IIRC. http://www.maxmind.com/app/geolitecity and it looks like an edit to the DP php file to include the geoip api and initialize it.


All times are GMT. The time now is 07:10.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.