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)
-   -   Mini Mods - YBMF-Google Maps BB Code (https://vborg.vbsupport.ru/showthread.php?t=234318)

War.Frog 01-28-2010 02:46 AM

This is great! I find however if I use the Streetview link code, it will not translate into the streetview as it would if I pasted the URL code into a browser window...it goes straight to map.

It's weird, because all you're really doing is using an iFrame but it must be something on Google's end?

TimberFloorAu 01-28-2010 02:49 AM

The BBCODE parses the google linking.

Iframe is different.

The code for iframe is similar: I use this...

Use this code in your text replacement.
Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%"  height="600" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2" style="text-align:center">
                        <a href="{param}" title="Go to site directly" target="_new">Go to the site directly</a>
                </td>
        </tr>
</thead>
<tr>
<td>
<iFrame src="{param}" width="100%" height="600"marginheight="0" scrolling="no" frameborder="0"></iframe>
</td>
</tr>
</table>

Then [iframe]link goes here[/iframe]

Ste

wacnstac 01-28-2010 12:47 PM

I am putting the following between the [maps] tags:
PHP Code:

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=houghton+lake+mi&sll=37.0625,-95.677068&sspn=49.71116,95.888672&ie=UTF8&hq=&hnear=Houghton+Lake,+Roscommon,+Michigan&t=h&z=13 

But keep getting a map of the Coffeyville Country club :)

voglermc 01-28-2010 02:31 PM

Quote:

Originally Posted by wacnstac (Post 1968906)
I am putting the following between the [maps] tags:
PHP Code:

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=houghton+lake+mi&sll=37.0625,-95.677068&sspn=49.71116,95.888672&ie=UTF8&hq=&hnear=Houghton+Lake,+Roscommon,+Michigan&t=h&z=13 


I get the middle of a lake

wacnstac 01-28-2010 02:42 PM

Thats what it should be, but when I do it on my site I get Coffeyville. Don't understand it. I have the BBCode implemented just as you suggested with the fix you put on this thread last night.

wacnstac 01-28-2010 02:48 PM

<a href="http://www.michigan-sportsman.com/forum/showthread.php?p=3058169#post3058169" target="_blank">http://www.michigan-sportsman.com/fo...69#post3058169</a>

TimberFloorAu 01-28-2010 07:15 PM

Just posted on your site, Stone Mountain. Atlanta Georgia.

Works A1.

http://www.michigan-sportsman.com/fo...6&postcount=13


What browser are you using.?
Are you copying the full URL from the link dropdown above the map, on the right, not the embed url.?

Ste

wacnstac 01-28-2010 07:44 PM

I am copying from a drop down at the upper RH corner of the map. I tried each of these but both give me the "default location"
PHP Code:

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=houghton+lake+mi&sll=37.0625,-95.677068&sspn=49.71116,95.888672&ie=UTF8&hq=&hnear=Houghton+Lake,+Roscommon,+Michigan&t=h&z=13


http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=pictured+rocks+michigan&sll=37.0625,-95.677068&sspn=49.71116,95.888672&ie=UTF8&hq=pictured+rocks+michigan&hnear=Pictured+Rocks+National+Lakeshore,+Grand+Marais,+MI+49839&t=h&z=11 

We must be doing something different.

wacnstac 01-28-2010 07:56 PM

I figured it out. Seems that if you search for a location on GM and immediately find it, and copy and paste that URL, it won't work. You have to move the map around and maybe zoom in or out and copy that URL and it will work.

TimberFloorAu 01-28-2010 07:57 PM

I am still at a loss, what are you typing into the search box at www.maps.google.com ?


All times are GMT. The time now is 12:57 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.01158 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (1)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