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)
-   -   BB Code Enhancements - Interactive Google Maps In Post (https://vborg.vbsupport.ru/showthread.php?t=235625)

BirdOPrey5 07-08-2010 04:37 PM

Quote:

Originally Posted by benstillman (Post 2066398)
Seems to be working fine for me. I just typed "Redmond City Hall 98052" within the map tags.

That's weird too- when I put in "Redmond City Hall 98052" like you it works fine but when I tried the full address like the guy posted, it doesn't show the place marker.

mimocherry 07-08-2010 05:01 PM

1 Attachment(s)
I think that I didnt give a good example. I apologize because even you enter the direct address in the maps.google.com, it will not display the picture, so it has nothing to do with your code. (although, I want to know why the name will display picture, but the address would not on the google map..odd)

take this example. that is an address of the sushi restaurant. I tried that in the maps.google first so I will not waste your time. do you see the nice picture?
11818 Northeast 8th Street, Bellevue, WA‎

but, when I enter the same address in your map bbcode, I will not see it!

benstillman 07-08-2010 06:20 PM

Quote:

Originally Posted by mimocherry (Post 2066415)
I think that I didnt give a good example. I apologize because even you enter the direct address in the maps.google.com, it will not display the picture, so it has nothing to do with your code. (although, I want to know why the name will display picture, but the address would not on the google map..odd)

take this example. that is an address of the sushi restaurant. I tried that in the maps.google first so I will not waste your time. do you see the nice picture?
11818 Northeast 8th Street, Bellevue, WA‎

but, when I enter the same address in your map bbcode, I will not see it!

Another bad example I think. The image shown on maps.google.com is simply a thumbnail link directing to the street view. Street view, as far as I know, isn't supported in embedded maps. So no, that picture wouldn't show up within this bbcode.

mimocherry 07-08-2010 06:33 PM

A bad example brought a good explanation!

I got it now! thanks!

what a pity. I really like that street view image :-(

benstillman 07-09-2010 04:57 PM

Quote:

Originally Posted by mimocherry (Post 2066455)
A bad example brought a good explanation!

I got it now! thanks!

what a pity. I really like that street view image :-(

Sweet. Glad that got worked out.

rares.stanescu 09-24-2010 05:40 PM

This code is awesome :) Thanks a lot!

I just need one more thing. how can i set the zoom and the default mode ( map satelite... )

Thanks :)

ravencr 09-24-2010 06:26 PM

How can I modify this to insert any page url into an iframe within any post?

Chris

BirdOPrey5 09-24-2010 07:53 PM

Quote:

Originally Posted by rares.stanescu (Post 2102790)
This code is awesome :) Thanks a lot!

I just need one more thing. how can i set the zoom and the default mode ( map satelite... )

Thanks :)

Try adding "&z=10" after "&output=embed" in the code... set the number 10 to whatever zoom level you want, I think it goes 1 to 14... Not sure what would happen if the link already specifies a different zoom.

Quote:

Originally Posted by ravencr (Post 2102809)
How can I modify this to insert any page url into an iframe within any post?

Chris

It is a bad idea to allow users to embed iframes because they can link to pages with security issues and your users could get viruses or exploited by malicious users... but if you don't care change the line:
Code:

src="http://maps.google.com/maps?q={param}&output=embed"
to

Code:

src="{param}"
Or alternatively you could search the mods for a dedicated "IFRAME" BB Code, I know there is one.

ravencr 09-24-2010 08:04 PM

I figured it out and posted it up for folks. Thanks for the help,

Chris

Bergler 11-05-2010 07:06 AM

Quote:

Originally Posted by ravencr (Post 2102848)
I figured it out and posted it up for folks. Thanks for the help,

Chris

What did you do and does it still work in 4.0.8?


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