![]() |
Embed Interactive SAVED Google Maps
1 Attachment(s)
Per request: This embeds an interactive Google Map which you have previously created and saved to your "My Maps".
Admin CP --> Custom BB Codes --> Add New BB Code Title: Saved Map BB Code Tag Name: savedmap Replacement: <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/ms?{param}&output=embed"></iframe> </td> </tr> </table> </div> </div> Example: [savedmap]source=ig&hl=en&ie=UTF8&hq=&hnear=Browns+Summit,+N C&gl=us&ei=5Pw5S5CTGI3ilAfR 8_GgBw&ved=0CAsQ8gEwAA&msa=0&msid=1082868885536792 96824.00047bd3022f955f5a820&ll =36.75539,-81.285095&spn=0.792197,1.149445&z=10[/savedmap] Description: This will insert a saved Google map Use {option}: No Button Image (Optional): whatever 20x20 image you want, or none Remove Tag If Empty: Yes Disable BB Code Within This BB Code: Yes Disable Smilies Within This BB Code: Yes Disable Word Wrapping Within This BB Code: Yes Edited per trumpetrhapsody's recommendation. |
Thank you!
|
works perfectly!
|
Glad to hear.
|
Installed!
Thank you very much! :D |
Hi.
For me it did not work at first. In the cms it messed around with the background. On carefull inspection I found a </Div> at the end to much. I am no expert but it fixed the problem. Thanks for this, and yes Marked as installed. |
Wouldn't this allow any URL to be used?
|
I changed the code to this just in case:
Code:
<div align="center" style="margin: 5px 5px 5px 5px;"> Code:
[savedmap]source=ig&hl=en&ie=UTF8&hq=&hnear=Browns+Summit,+NC&gl=us&ei=5Pw5S5CTGI3ilAfR 8_GgBw&ved=0CAsQ8gEwAA&msa=0&msid=108286888553679296824.00047bd3022f955f5a820&ll =36.75539,-81.285095&spn=0.792197,1.149445&z=10[/savedmap] Using the "Test Your BB code" at the bottom of the manager it shows up properly, but in the actual replacement example box it doesn't show up. Just a FYI. |
Is there any way to merge this code with this mod's code? https://vborg.vbsupport.ru/showthread.php?t=234318
|
Quote:
|
All times are GMT. The time now is 09:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|