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)

Dez_U 04-23-2006 10:17 AM

I have a problem viewing wit IE, see my link.

I am sure its something I have done as it looks fine in firefox but any help would be great
http://www.refrigeration-engineer.co...bgooglemap.php

stonyarc 04-23-2006 11:31 AM

Quote:

Originally Posted by Dez_U
I have a problem viewing wit IE, see my link.

I am sure its something I have done as it looks fine in firefox but any help would be great
http://www.refrigeration-engineer.co...bgooglemap.php

The DIV where the googlemap loads is called "map".

You can get this effect if you have an image map loading on your site with the same name.

Code:

<map name="Map">
  <area shape="rect" coords="449,3,789,99" href="http://www.refrigeration-engineer.com/jobs" target="_blank">
</map>

In combination with this
Code:

<img src="http://www.refrigeration-engineer.com/forums/images/misc/head/banner.jpg" width="789" height="100" border="0" usemap="#Map">

That line is the cause

To fix

Code:

<map name="Map1">
  <area shape="rect" coords="449,3,789,99" href="http://www.refrigeration-engineer.com/jobs" target="_blank">
</map>

In combination with this
Code:

<img src="http://www.refrigeration-engineer.com/forums/images/misc/head/banner.jpg" width="789" height="100" border="0" usemap="#Map1">
This should help you out

OrangeFlea 04-23-2006 11:42 AM

Quote:

Originally Posted by stonyarc
You can build your style around it.

The version 2.0.2 stores the markers locally so you can even create your own markers as long as you respect the filenames.

So I can replace the default map with a custom made map? Because that's exactly what I saw in that other user's board.

Dez_U 04-23-2006 12:35 PM

Quote:

Originally Posted by stonyarc
The DIV where the googlemap loads is called "map".

You can get this effect if you have an image map loading on your site with the same name.

Code:

<map name="Map">
  <area shape="rect" coords="449,3,789,99" href="http://www.refrigeration-engineer.com/jobs" target="_blank">
</map>

In combination with this
Code:

<img src="http://www.refrigeration-engineer.com/forums/images/misc/head/banner.jpg" width="789" height="100" border="0" usemap="#Map">

That line is the cause

To fix

Code:

<map name="Map1">
  <area shape="rect" coords="449,3,789,99" href="http://www.refrigeration-engineer.com/jobs" target="_blank">
</map>

In combination with this
Code:

<img src="http://www.refrigeration-engineer.com/forums/images/misc/head/banner.jpg" width="789" height="100" border="0" usemap="#Map1">
This should help you out

sorry, where am I looking for the above?

Thanks

stonyarc 04-23-2006 01:48 PM

In you main template probably FORUMHOME

stonyarc 04-23-2006 01:50 PM

Quote:

Originally Posted by OrangeFlea
So I can replace the default map with a custom made map? Because that's exactly what I saw in that other user's board.

You can change the default view standard in code but additionally the vbgooglemap also lets you create your own marker images if you want (/images/googlemap)

The core map remains the same and is of course google technology.

Dez_U 04-23-2006 02:22 PM

maybe this is the problem, I have looked in FORUMHOME and all the googlemap templates and I canny see the above code you speak of ..... mmmm, any help please?

sinucello 04-23-2006 02:43 PM

Hi stonyarc,

great extension, my forum-members love it ;-).

One remark:
a lot of the users try to enter their coordinates directly and use the wrong strings with the degree chars like: 47.6833 / 47° 40' 60

Then I get error-mails:

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO googlemap (userid,username,usergroupid,text_map,lat_map,lng_ map) VALUES ('1120','testuser','2','Testuser','47.6833 / 47° 40' 60'' ...','9.83333 / 9° 49' 60''');

Would it be possible to check the form for degree chars with JavaScript when the forum is submitted?

I also need a filter-feature that would allow the user to show only the markers of a certain usergroup. Is that possible? I`d sponsor this one, just drop me a line.

groetjes,
Sacha

sinucello 04-23-2006 03:14 PM

Hi,

I just updated the smallhelp phrase in german, maybe it`s useful for someone else
Quote:

Ermittle den L?ngen- und Breitengrad deines Wohnortes durch Vergr?sserung (zum Vergr?ssern einfach den Schieber auf der Skala nach oben bewegen und ggf. in die Satellitenansicht wechseln) und hin- un herziehen der Karte mit gedr?ckter linker Maustaste. Ein DOPPELKLICK zentriert die Karte punktgenau z. B. auf deinem Wohnhaus. Nach Eingabe der richtigen Koordinaten brauchst du nur noch das Textfeld auszuf?llen und auf "Aktualisieren" zu klicken. M?glicherweise ist es wesentlich einfacher, wenn du die Koordinaten deines Wohnortes hier: http://www.fallingrain.com/world/GM/ heraussuchst und direkt in die Eingabefelder links einf?gst. Dabei aber bitte beachten, dass immer nur der erste Wert eintragen wird. Also bei L?ngengrad z. B. "9.83333" und bei Breitengrad z. B. "47.6833".
I think this link: http://www.fallingrain.com/world/ could be added to the original phrase as it contains all coordinates of all towns worldwide (don`t know if it`s really true).

Ciao,
Sacha

stonyarc 04-23-2006 05:16 PM

Quote:

Originally Posted by sinucello
Hi,

I just updated the smallhelp phrase in german, maybe it`s useful for someone else


I think this link: http://www.fallingrain.com/world/ could be added to the original phrase as it contains all coordinates of all towns worldwide (don`t know if it`s really true).

Ciao,
Sacha

Great find.

I'll make it default in the next version


All times are GMT. The time now is 03:40 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.03796 seconds
  • Memory Usage 1,755KB
  • 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
  • (8)bbcode_code_printable
  • (6)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