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 |
#72
|
||||
|
||||
FWIW, I finally got around to using Bing maps by changing the src line (the Google road names are still incorrect in my area). But I can't figure out how to automatically close the task area on the left. Oh well, this should hold me until Google gets around to correcting their map.
Quote:
|
#73
|
||||
|
||||
Just an fyi the "&output=embed" is just being ignored by Bing Maps, they don't have that option best I can tell. You are embedding the real Bing Maps page, the same one if you just went to the link.
The way to make Bing maps embedded is here: http://www.microsoft.com/maps/isdk/ajax/ But its complicated Javascript and only works based on latitude/longitude... there is no way to put a street address ans get and embedded map. |
#74
|
||||
|
||||
Is there a way to stop the map from showing in the resent forums post widget?
|
#75
|
||||
|
||||
Odd, my Recent Posts widget doesn't show the contents of the post, only the thread name and some other info. I think I'm using the built in one. Is this some modified widget? Do you have a link?
|
#76
|
||||
|
||||
I just avoid using this mod in the forum, I wanted to use it in the articles mostly anyway. I will just have to remove it if I can't find a way to block it out of the widget or a way to set permissions on it.
|
#77
|
||||
|
||||
If you completely ignore questions then nobody can be of any help.
|
#78
|
||||
|
||||
Quote:
This is a brand new install of vb 4.1.1 and this mod is basically the only mod that is installed. The real question is, is there a way to set permissions on this or some how prevent the maps from showing in the resent posts widget? Maybe there is some way to stop it from being used in the forums? or prevent registered users from using it? |
#79
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showthread.php?t=122942 |
#80
|
||||
|
||||
But if you disable everyone's permission to see the map bbcode, then what would be the point of using it?
I'm still not understanding why your Recent Posts widget shows entire posts and not just summaries like mine does. It seems to me that with the limited space in a sidebar you'll quickly fill the widget with a single post, making it useless. Also, articles shouldn't be showing up in Recent Posts anyway, but that's a different subject entirely. |
#81
|
||||
|
||||
Is there a way I can create a widget for this for the CMS? See... I'd like to be able to add pinpoints and stuff to a google map. For example... I have a New York page. Within the NY page, I have say 6 restaurants and 2 pizza places. I'd like to have all of these displayed within a widget.
Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|