The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Interactive Google Maps In Post Details »» | |||||||||||||||||||||||||||
No Google Maps API key, no mod install, no template edits, etc. This is based off YBMF's mod for 4.0, but a bit easier for the end user. Instead of the user having to input the full Google Maps link, just the address, name of business, etc is acceptable.
Admin CP --> Custom BB Codes --> Add New BB Code Title: Map BB Code Tag Name: map 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?q={param}&output=embed"></iframe></td> </tr> </table> </div> Example: [map]201 S. Grant Avenue, Columbus, Ohio[/map] Description: This will insert a Google map of the location you input Use {option}: No Button Image (Optional): whatever 20x20 image you want, attached is the one we use 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 Screenshots
Show Your Support
|
Благодарность от: | ||
iiioroh |
Comments |
#22
|
||||
|
||||
I wonder if this is the reason the spacing is different on the top and bottom? Seems the text is closer to the top of the map then the text is to the bottom?
|
#23
|
|||
|
|||
Cool works great thanks...
|
#24
|
|||
|
|||
One question please:
I want to display the name of a place with a placemarker in my map. How do I do that ? - thanks, Leo |
#25
|
|||
|
|||
Quote:
Quote:
|
#26
|
|||
|
|||
Awesome works well and just what I have been looking for!
Installed on vBulletin v4.0.3 and works perfectly! Thank you very much! |
#27
|
||||
|
||||
Seems I get an error in 4.0.4 PL 1
Quote:
|
#28
|
||||
|
||||
Did you edit or change anything from double quotes " " to single quotes' ' ? Perhaps a double single quote '' ? Looking over the text there is no error on the author's part so either something got changed or your vB is malfunctioning. Perhaps try copying and pasting the replacement again?
|
#29
|
||||
|
||||
I simply copy and pasted the code right from this page.
|
#30
|
||||
|
||||
I believe you, it's just damned weird, obviously many people have done it without this issue... Although I've never seen this happen before when copying into a vb text box perhaps some extra formating is being copied over for you? Try copying and pasting the code below... if that doesn't work try copying it into a text editor like notepad then re-copy from the editor and paste- that will remove any extra formatting.
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}&output=embed"></iframe></td> </tr> </table> </div> |
#31
|
||||
|
||||
If those still don't work then start removing tags from the text... yes I know it won't work right but it will, hopefully, narrow down exactly what tag is causing the issue... for instance try just:
Code:
<div align="center" style="margin: 5px 5px 5px 5px;"> </div> 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"></td> </tr> </table> </div> If you still get the error on even just a basic <div> </div> tag with no extras then I would look to the custom bb code immediately above this one, perhaps a quote is not closed throwing everything off... I've seen this issue cause havoc with css style sheets, never bb 's code but there's a first time for everything. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|