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)

cbr929rrerion 12-19-2005 03:01 AM

ok.. read 30 pages.. How can I change the background color of the balloon?

Its late.. spelling stinks.. Help...

kommuni 12-19-2005 01:44 PM

Quote:

Originally Posted by cbr929rrerion
ok.. read 30 pages.. How can I change the background color of the balloon?

Its late.. spelling stinks.. Help...

i would love to see such a map combined with a citylocator. Unfortunately GoogleMaps are not very detailled yet for germany, so there's not really much sense for us when using this.

Besides from that, great work.

mkdevo 12-20-2005 10:37 PM

i found a bug in this today, though i'm not sure it's something that is fixable..

a user with an apostrophe in his username tried adding himself to the map, and it caused a db error. obviously the sql is reading it as an extra beginning quote, without an end..

can this be fixed?

Code:

Invalid SQL:
INSERT INTO googlemap (userid,username,usergroupid,text_map,lat_map,lng_map) VALUES ('430','test'user','11','testing','-18.646245142670608','-55.37109375');

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'user','11','testing','-18.646245142670608','-55.37109375')' at l Error Number : 1064


ConqSoft 12-20-2005 11:04 PM

Fix posted earlier in this thread...

kadafi_alive 12-23-2005 09:22 AM

Hmm,

I am having a problem with IE. When I add an entry in IE, it doesn't show at all but it does in FireFox.

knimrod 12-27-2005 03:18 AM

I installed this and it's working pretty well. My use is regional and I took advantage of the admin configurable default lat/longs and zoom level. However, several users reported problems when trying submit their locations where they were presented with a "blank map" from which to select from. What was happening is that the regional zoom level remained constant (10) but the apparently uninitialized lat/longs must point to some world center (0,0?) in the middle of the ocean. At a default zoom level of "10", all you got was a pale blue map. Users could however, zoom out, recenter, then zoom back in again but that wasn't very intuitive.

I made the following change that gets the default lat/long from the options before a new submitter is presented with the map. This will probably only be useful for those that default to a zoomed in region but it's currently working for me. Perhaps some consideration could be given to this problem in future releases (for which I'm anxiously waiting).

In VBGooglemap.php find this:
Code:

        eval('$VBGooglemap_set_yourlocation .= "' . fetch_template('VBGooglemap_set_yourlocation') . '";');
Before add:
Code:

        $lng_map = $vbulletin->options['VBGooglemap_lng'];
        $lat_map = $vbulletin->options['VBGooglemap_lat'];


Thanks for a great hack!

docvader 12-27-2005 05:46 PM

Installed easily and apparently working flawlessly, so far.

You might want to make Starbug's changes (https://vborg.vbsupport.ru/showpost....&postcount=160) standard for the next upgrade; the black text works much better.

Thanks! Great job.
rich

stonyarc 12-29-2005 08:03 AM

Quote:

Originally Posted by kadafi_alive
Hmm,

I am having a problem with IE. When I add an entry in IE, it doesn't show at all but it does in FireFox.

Can you post a link??

stonyarc 12-29-2005 08:04 AM

Quote:

Originally Posted by knimrod
I installed this and it's working pretty well. My use is regional and I took advantage of the admin configurable default lat/longs and zoom level. However, several users reported problems when trying submit their locations where they were presented with a "blank map" from which to select from. What was happening is that the regional zoom level remained constant (10) but the apparently uninitialized lat/longs must point to some world center (0,0?) in the middle of the ocean. At a default zoom level of "10", all you got was a pale blue map. Users could however, zoom out, recenter, then zoom back in again but that wasn't very intuitive.

I made the following change that gets the default lat/long from the options before a new submitter is presented with the map. This will probably only be useful for those that default to a zoomed in region but it's currently working for me. Perhaps some consideration could be given to this problem in future releases (for which I'm anxiously waiting).

In VBGooglemap.php find this:
Code:

        eval('$VBGooglemap_set_yourlocation .= "' . fetch_template('VBGooglemap_set_yourlocation') . '";');
Before add:
Code:

        $lng_map = $vbulletin->options['VBGooglemap_lng'];
        $lat_map = $vbulletin->options['VBGooglemap_lat'];


Thanks for a great hack!

Thanks for the tip.

I'll put it in the next standard

Robert Basil 12-29-2005 08:33 AM

Quote:

Originally Posted by stonyarc
I'll put it in the next standard

Any hints? When and what will be added to the next version?

Thanks again for the great hack. My members love it. :)


All times are GMT. The time now is 02:59 AM.

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.02154 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (4)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