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 |
#122
|
||||
|
||||
I don't know what you mean. Here is a screen shot.
|
#123
|
||||
|
||||
Seems this was the problemo. Mod working perfectly now, thanks.
|
Благодарность от: | ||
Mr_Running |
#124
|
||||
|
||||
|
#125
|
|||
|
|||
original code did not work for me, but this one works.. thanks :up:
|
#126
|
|||
|
|||
Will this work on VB 4.2?
This would be perfect for my forum. F |
#127
|
|||
|
|||
Yes
|
#128
|
|||
|
|||
Thank you..
F |
#129
|
|||
|
|||
I uploaded the button and even re-sized it to 16X16 and I have the path correct but the button will not show...I am using Twisted Dark as my skin (theme) and I added the button to both the Twisted Dark editor and the public html editor and I tried both path's but it still will not load...any idea's?....it has the button there, (blank) and when I hover the cursor over it it says" wrap MAP tags around text) but even after I put the path in (and I tried both paths for the default skin editor and the Twisted Dark editor) and it just shows the image of the separator in the ACP under "Button Image"....I re-sized the images from 20X20 to 16X16 like it said in the ACP, but still no image...see attached thumbnails...Other than that, the map works great!...I just need to get the button to show up...
F EDIT: Nevermind...I solved it...I had /public html in the path...I took it out and now all is good...Thanks F |
#130
|
|||
|
|||
Thanks for the mod/bbcode, it is very cool.
I am having an issue with my site that affects this mod that I just cannot get to the bottom of. For some reason my maps are only sizing to about 30% of the width of a post area instead of the full post area shown in the Mod sample. Also when I change the value of the width to something lower than 100% it only acts to move the map across the page like an alignment property. In general my site has had issues with any use of the width property...no problems with height. I've gone through my settings and can't figure out what is doing this. I've also changed my themes to see if that effected it, nope. I'm betting the answer is probably something really simple I am overlooking, but I have overlooked now many times, help is appreciated. Ideally I would like to be able to create a map 400X400px (or 300X300px with the ' google maps info balloon suppressed'). It's running vBulletin 4.2.0 (3) Thanks. |
#131
|
|||
|
|||
OhP are you using the mods Replacement code? If so check this thread...perhaps use Replacement code in post #124
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|