Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Digital Point User Map Details »
Digital Point User Map
Mod Version: 1.0.3, by digitalpoint (Coder) digitalpoint is offline
Developer Last Online: May 2016 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (14 votes - 4.71 average) Installs: 155
Released: 09 Jun 2010 Last Update: 02 Dec 2011 Downloads: 1622
Not Supported Uses Plugins Additional Files  

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	world.jpg
Views:	3174
Size:	150.3 KB
ID:	118226   Click image for larger version

Name:	europe.jpg
Views:	2266
Size:	153.5 KB
ID:	118227  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Digital Point Spy digitalpoint vBulletin 4.x Add-ons 446 30 Dec 2016 15:40

  #46  
Old 12 Jun 2010, 07:03
Tryppnotic69 Tryppnotic69 is offline
 
Join Date: Nov 2007
Originally Posted by docvader View Post
No, it shows up in Apache as a mod, and in the environment. They installed the Apache end of it, not the PHP end. According to Maxmind, it's another way of doing it, but, apparently, it doesn't work.

I've asked them to put the PHP extension in for geoip. we're using Linux. Finding the right directions for Linux was not clear; if you have a good link, I'd appreciate it.
Softlayer just installed it on my Linux server using these instructions, and it worked great.

http://www.maxmind.com/app/installation?city=1

On step 3 (http://www.maxmind.com/app/api), they used Apache Module (mod_geoip) as the API. Everything works great at my forum.
Reply With Quote
  #47  
Old 12 Jun 2010, 14:45
LbR's Avatar
LbR LbR is offline
 
Join Date: Nov 2009
Originally Posted by digitalpoint View Post
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.
will that work with a VPS?
Reply With Quote
  #48  
Old 12 Jun 2010, 18:54
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Originally Posted by docvader View Post
No, it shows up in Apache as a mod, and in the environment. They installed the Apache end of it, not the PHP end. According to Maxmind, it's another way of doing it, but, apparently, it doesn't work.

I've asked them to put the PHP extension in for geoip. we're using Linux. Finding the right directions for Linux was not clear; if you have a good link, I'd appreciate it.
I just installed the extension myself the other day on my Fedora box.

Just used YUM to grab the latest geoip packages (theres two you need), then just made sure the folder with the geoip.so was in my included path, restarted apache, and np
Reply With Quote
  #49  
Old 12 Jun 2010, 19:03
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Well, depending on the operating system you are running for your server, there probably is a pre-packaged RPM installer for it.

I just compiled mine from source...

Install the libraries by downloading and compiling as per the instructions here:
http://www.maxmind.com/app/c

Then download and compile/install the PHP module for it:
http://pecl.php.net/package/geoip

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).

You can download the .dat files from:
http://geolite.maxmind.com/download/...y/GeoIP.dat.gz
http://geolite.maxmind.com/download/...iteCity.dat.gz
Reply With Quote
  #50  
Old 12 Jun 2010, 20:01
pete_brady pete_brady is offline
 
Join Date: Mar 2002
i had to manually compile from source as above but also rename GeoLiteCity.dat to GeoIPCity.dat & copy it to /var/lib/GeoIP

i was probably doing it wrong though

installed & working just fine now. thanks!

(& thanks also for your vb optimisation article at digitalpoint)
__________________
thumped.com
Reply With Quote
  #51  
Old 12 Jun 2010, 20:40
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Yeah... they changed the name of their .dat file they distribute a few months ago for some reason and they haven't updated the libraries to reflect that. Not sure why they changed the name of the file, but renaming it to the old name works fine (as you found).
Reply With Quote
  #52  
Old 12 Jun 2010, 23:00
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
thanks for all the extra info.
Got it working. Great job DP
__________________
russbo.com
Reply With Quote
  #53  
Old 12 Jun 2010, 23:22
Boko577's Avatar
Boko577 Boko577 is offline
 
Join Date: Dec 2009
Originally Posted by CoZmicShReddeR View Post
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
Same problem??? Why won't it work?
Reply With Quote
  #54  
Old 12 Jun 2010, 23:30
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
pretty sure the windows version will need the .dat file too
Reply With Quote
  #55  
Old 13 Jun 2010, 00:15
MikeF MikeF is offline
 
Join Date: Jan 2006
Is there any way to completely exclude guests from this mod? It eats up a huge amount of resources, but is of no relevance to our full time members.
Reply With Quote
  #56  
Old 13 Jun 2010, 00:46
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Boko, that GeoLiteCity.dat file needs to be in usr/local/share/ directory, and it needs to be renamed to GeoIPCity.dat.
__________________
russbo.com
Reply With Quote
  #57  
Old 13 Jun 2010, 00:49
syrn's Avatar
syrn syrn is offline
 
Join Date: Mar 2010
not working ......??
Reply With Quote
  #58  
Old 13 Jun 2010, 03:07
imranbaig imranbaig is offline
 
Join Date: Sep 2005
Real name: Imran
Hey, Thanks for sharing with us.
Reply With Quote
  #59  
Old 13 Jun 2010, 14:30
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Any chance this will be updated for 3.8?
Reply With Quote
  #60  
Old 13 Jun 2010, 18:53
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Originally Posted by MikeF View Post
Is there any way to completely exclude guests from this mod? It eats up a huge amount of resources, but is of no relevance to our full time members.
What resources is it overloading on your server?
Originally Posted by Megatr0n View Post
Any chance this will be updated for 3.8?
No, sorry... I don't run any 3.x forums, so...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:38.

Layout Options | Width: Wide Color: