vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=99920)

stonyarc 11-06-2005 12:55 PM

Quote:

Originally Posted by pgowder
1. Ability to upload a photo
2. Have the points automactially placed--have the map read from the DB.

The locations ARE stored in the DB

your entry inserts them.

The googlemap requires to read the info out of an xml file. This is how the google API works.

So the scripts creates the XML file which is than read by the javascript parser function.

NuclioN 11-06-2005 02:27 PM

alt caption when hoovering on the marker :)

StarBuG 11-06-2005 06:33 PM

Hi

I tried to install this hack but I get "Cannot open XML File"

The markers.xml file is chmod 777 (-rwxrwxrwx)
it is in the forum root like the VBGooglemap.php

I have uploaded the product to the product manager and set the api key in the options for my forum.

Any Idea what is wrong?

EDIT: Got it to work after I set the whole server path to the file into VBGooglemap.php to specify the markers.xml location.

Unfortunatly Google does not have detailed maps about europe.
That is making this hack nearly impossible to use for me because I can?t find my city NOR can I enter long and lat by hand (Suggestion!! *hint* *hint* ;))

ricker 11-06-2005 08:46 PM

Effortless install, very impressive. This rocks!

ricker 11-06-2005 09:21 PM

I have an idea ... we are a Jeep-related forum, and it might be cool if the admin can post areas of interest (off-highway hotspots) on the map, like the Rubicon Trail or Moab, UT, but give them a different way of displaying, so you can tell it's not a user post.

stonyarc 11-06-2005 10:06 PM

Quote:

Originally Posted by StarBuG
Hi
I tried to install this hack but I get "Cannot open XML File"
The markers.xml file is chmod 777 (-rwxrwxrwx)
it is in the forum root like the VBGooglemap.php
I have uploaded the product to the product manager and set the api key in the options for my forum.
Any Idea what is wrong?
EDIT: Got it to work after I set the whole server path to the file into VBGooglemap.php to specify the markers.xml location.
Unfortunatly Google does not have detailed maps about europe.
That is making this hack nearly impossible to use for me because I can?t find my city NOR can I enter long and lat by hand (Suggestion!! *hint* *hint* ;))

http://earth-info.nga.mil/gns/html/cntry_files.html this one has about all zipcodes and locations in the world except US.

Google is working on detailed Europe maps.

You can edit the googlemap templates and change the <input text> for longitude an lattitude. Just remove to readonly's that are in there and your users can put it in themselves.
I think there are 4 occurences in total in VBGooglemap_display_yourlocation VBGooglemap_set_yourlocation.

After that you should be able to enter the data manually and keep the drag function.

Greetz

stonyarc 11-06-2005 10:08 PM

Quote:

Originally Posted by ricker
I have an idea ... we are a Jeep-related forum, and it might be cool if the admin can post areas of interest (off-highway hotspots) on the map, like the Rubicon Trail or Moab, UT, but give them a different way of displaying, so you can tell it's not a user post.

Hey, Ricker

Thanks for appreciating this mod.

The next version is a performance/stability release but event handling will be a feature.

I'll add the hotspots as a feature to add. You can follow the planning in the first reply to this thread.

GrendelKhan{TSU 11-07-2005 12:42 AM

hmm....problem:

the location markers are not appearing. :(

I successfully enter my location (and tested with other ids as well)....but no marker actually appears, which..well...defeats most of the purpose. heh.

everything else seems to be working fine.

Any ideas?
also, any word on a fully phrased version? :)



last, idea for future versoins: (if possible and time willing of course)

--automatically adds marker with new registration (somehow have set of most common of locations/cities).
--have fields for long/lat or choose preset cities for Googlemap FOR forum REGISTRATION PROCESS. Maybe this could be connected with daylight savings menu options.
--add location data (lat, long) via user cp.
--fun: CALCULATE/FIND DISTANCE between users. :) show a dot line and distance between two chosen markers.


(sorry for piling it on...I just think this hack RULES!! and I'm just excited for it to continue :) I think it has awesome potential to be very important part of all boards :D -- not just novety ;))

Andy R 11-07-2005 03:42 AM

Quote:

Originally Posted by stonyarc
Thanks for appreciating this mod.

Awesome hack!

Think there could be anyway to make a map like this using zip code and/or city/state/country profile fields using an opensource longitude/latitude database? It would just be so awesome to capture this geo location info during registration and automate the process of posting the locations onto the map.

stonyarc 11-07-2005 08:36 AM

Quote:

Originally Posted by Andy R
Awesome hack!

Think there could be anyway to make a map like this using zip code and/or city/state/country profile fields using an opensource longitude/latitude database? It would just be so awesome to capture this geo location info during registration and automate the process of posting the locations onto the map.

Andy,

This is included in the planning for future releases.

You could host a L&L database but to make it international it would need to be a very big one.

I'm still "inventing" a solution.


All times are GMT. The time now is 09: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.02459 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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