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-10-2005 03:14 PM

Quote:

Originally Posted by Greebo
In our case, zip code would be ideal - our users don't want to have their exact locations given away - we just want an overall survey of *generally* where people are, and zip code provides just the level of granularity we want.

We already track zip code as an extra user field, and I, for one, would be much more inclined to install this hack if it could take a list of member zip codes from our site and build the map from that, instead of lat/long.

Ironically, our members *do* know their lats and longs - they are pilots - but they arent technologically inclined and I'd rather not have them enter any more than they already have if I can avoid it (we ask them for zip code at registration).

Even some geocoding could solve that. I'm working on several approaches because I want this to be a global as possible.

I can go as far as going on address but this is in direct violation of privacy law (certainly in Europe).

Another split I'm working on is the event and hotspots map.

A zip code map is one of the additional maps I'm working on. But it's crazy to store all zipcodes in the world in a database unless you are able to offer it as a webservice. Moreover the zip code approach will put markers of the same area on exactly the same spot. This breaks the link with the user / text. and makes it less unique. If you zoom in, you won't be able to see through the stack of markers.

I know you all want this to be as flexible as frapper. But I'm alone in doing this and I don't want this to be a rush job. I do have a regular job too.

stonyarc 11-10-2005 03:34 PM

Quote:

Originally Posted by OttawaGolf
Cool. That's perfect. Thanks.

Don't forget to click install :ermm:

Holidazed 11-10-2005 03:56 PM

Quote:

Originally Posted by stonyarc
Version 1.0.3 is now online

Awesome work. Thank you.

Did you not say earlier that this version was going to have different pin colors for each usergroup? Or that we were going to define usergroup pin colors?

stonyarc 11-10-2005 03:59 PM

Quote:

Originally Posted by bitg
Awesome work. Thank you.

Did you not say earlier that this version was going to have different pin colors for each usergroup? Or that we were going to define usergroup pin colors?


Sorry for that I had to make the version 1.0.3 the special char release

That supermod and pin color will be in 1.0.4

PS:
Can you all do me a favour and read https://vborg.vbsupport.ru/showthread.php?t=100547

ricker 11-11-2005 04:47 AM

I am still running 1.0.2, haven't had time to upgrade yet, but someone has managed to get two entries in ... any ideas on that one? :)

stonyarc 11-11-2005 06:01 AM

Quote:

Originally Posted by ricker
I am still running 1.0.2, haven't had time to upgrade yet, but someone has managed to get two entries in ... any ideas on that one? :)

If you start clicking insert your information before the map is fully loaded the application can insert a a line for that user without any longitude and latitude.

If this is the case you can safely remove the extra line in the database (googlemap table) I'm building in a safeguard for that in the next version

Rabbitoh Warren 11-11-2005 07:42 AM

Quote:

Originally Posted by StarBuG
The second is, I figured out of to set the map to satelite by default but I would like to have hybride by default.

Care to share? I'd like to set my default to Satelite.

StarBuG 11-11-2005 09:15 AM

there are three instances of:

Code:

var dtypemap = "c";
change them all to:

Code:

var dtypemap = "s";
but I would recomend using the hybrid mode (see above for how to) by default cause it shows the country boarders as well

Rabbitoh Warren 11-11-2005 09:35 AM

Quote:

Originally Posted by StarBuG
there are three instances of:

No worries. Where do I look to make the changes... templates or...?

Quote:

Originally Posted by StarBuG
but I would recomend using the hybrid mode (see above for how to) by default cause it shows the country boarders as well

Not really a problem for the Australian continent. :)

JJR512 11-11-2005 01:54 PM

Here is a PLUGIN you can add to this hack to make all the templates from this hack to appear (in edit templates list, for example) grouped together:

Product (select from list): "VBGooglemap by StonyArc"
Hook location: template_groups (it's under vBulletin: General Administration)
Title: "VBGooglemap Template Grouping"
Plugin PHP code:
PHP Code:

$only['vbgooglemap'] = 'VBGooglemap'



All times are GMT. The time now is 07:41 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.02113 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (8)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