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 11-05-2010 02:47 PM

I'm using this on my 4.0.8 test board just fine using the original instructions and "Disable Automatic Link Parsing" to YES.

BadgerDog 11-05-2010 03:43 PM

Tried to set up and save this BBCode for 4.04 but get this error when attempting to save ... :confused:

Can someone fix this code?

Quote:

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

* <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="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&output=embed"></iframe></td> </tr> </table> </div>
Thanks ... :)

Regards,
Badger

BirdOPrey5 11-05-2010 04:40 PM

You can safely hit "Continue" and ignore that error... it's a bug- the code it correct and safe.

BadgerDog 11-05-2010 06:45 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2118342)
You can safely hit "Continue" and ignore that error... it's a bug- the code it correct and safe.

Thank you .. :)

Appreciate the feedback ... :up:

Regards,
Badger

dall100 11-25-2010 10:54 PM

I love this mod and my members do, however it won't work on my frontpage (vbadvanced 4.1) I get a blank square and my left-hand column doesn't show.

(VBulletin 4.8.0)

smirkley 12-04-2010 09:37 PM

How would I use this to embed the satellite view version instead of road maps.

tia

BirdOPrey5 12-04-2010 09:46 PM

Try adding &t=h to the embed URL, so the replacement would be:

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="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&t=h&output=embed"></iframe></td>
</tr>
</table>
</div>


smirkley 12-04-2010 10:29 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2129377)
Try adding &t=h to the embed URL, so the replacement would be:

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="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&t=h&output=embed"></iframe></td>
</tr>
</table>
</div>


THANK YOU !!


Out of curiosity, how many other url configurations are there?

Like if for example, I wanted the satellite view without the streets and labeles.

BirdOPrey5 12-04-2010 11:58 PM

Go to google maps, make the map how you want it, click on the "link" option to generate the link and look at the long URL it generates. Look at whatever is after "&t=" h=hybrid probably... maybe 's' is satellite only? Make the link and check.

smirkley 12-05-2010 08:08 PM

Thanks again...

note, found out that "k" is for sat only.


All times are GMT. The time now is 09:42 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.01100 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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