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)

BirdOPrey5 09-21-2010 01:50 PM

This code takes the whole URL from the LINK code given by Google so even if the exact code changed this should still work, at least for new entries... But best I can tell everything is still working... But I use the "alternate code" mentioned in the top post mostly and can confirm that is still working.

jacobsen1 09-21-2010 04:23 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2100966)
Disable Automatic Link Parsing Within This BB Code must be set to "Yes."

thank you, that was it. It was working before the upgrade, and old posts don't have the link parsed, so I think the upgrade itself somehow switched that setting.

BirdOPrey5 09-21-2010 04:54 PM

In older versions of vbulletin "Disable Automatic Link Parsing.." wasn't even an available option, you should probably check all your other bb codes and set as appropriate.

jacobsen1 09-21-2010 06:57 PM

well I came from 4.0.1, it was an option there right?

BirdOPrey5 09-21-2010 07:37 PM

I don't know, it may not have been... it wasn't an option in 3.8.5, it was new in 3.8.6 so I don't know if 4.0.1 was before or after 3.8.5. I first saw 4.0.4 and it was there.

orca 09-22-2010 05:03 PM

Hi,

how would it be possible to include the following link provided by google maps when clicking on link:

http://goo.gl/maps/RAWi

Using this gives the error that IFRAMES are not supported.

Bergler 10-21-2010 06:47 PM

Doesnt work at all? Is there a fix for this 4.0.8

Bergler 11-05-2010 06:51 AM

Any update for this yet?

cmmguy 05-17-2011 05:20 PM

This doesnt work in IE9

But I did find that if you slightly resize the IE window, the map appears. Maybe it is a default setting in IE that is making this not work the first time a map is shown.

SuperTaz 05-18-2011 04:11 AM

N/M. I got it to work.

Remember, the replacement code uses HTML. Anytime you use "div" tags in the replacement area, you might have to enable HTML in the forums that you want to post this BB Code for it to work. Unless it is recoded, I do not see any other way around this issue.

Use the Allow HTML option at your own risk.

Go to your Forums & Moderators drop-down menu > Click on Forum Manager > Click on "Edit" of the forum(s) that you want to post the BB Code in and scroll down and enable "Allow HTML = YES!". Make sure you do this for the category as well as the forum and it should work. I also altered the code to allow for 1024x768 maps.

New replacement code:

Code:

<div align="center"  style="margin: 5px 5px 5px 5px;">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
        <tr>
                <td class="thead" style="text-align:center"><iframe width="1024" height="768" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{param}&output=embed"></iframe></td>
        </tr>
</table>
</div>

It should work now.

Works great for me.


All times are GMT. The time now is 05:02 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.02071 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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