vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point User Map (https://vborg.vbsupport.ru/showthread.php?t=244236)

digitalpoint 06-08-2010 10:00 PM

Digital Point User Map
 
1 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 06-08-2010 10:03 PM

Nice to see. Thanks!

Reeve of shinra 06-09-2010 12:02 AM

Cool beans!

Trek 06-09-2010 12:16 AM

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 06-09-2010 01:04 AM

Looks awesome... will investigate further soon..

digitalpoint 06-09-2010 02:09 AM

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 06-09-2010 04:08 AM

good deal, thanks Shawn

as7apcool 06-09-2010 05:34 AM

good work ... thanks alot

CoZmicShReddeR 06-09-2010 08:13 AM

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 06-09-2010 09:01 AM

Thank you for the release Shawn..


All times are GMT. The time now is 11:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01381 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete