![]() |
Google maps BBCode
Hi all
I've made a Custom BBcode to be able to insert any kind of google map into the forum posts, so the Plugins I tried were'nt working as we expected. I post the code, I hope it can be useful for anyone. Security problems, improvements and tunning will be apreciated... I used the tag [gmap], and inside you have to copy the code for the HTML inclusion you can copy when you click the link icon in the map: http://forums.tinet.org/images/usmapes.jpg Code:
<script type="text/javascript"> Use {option}: -> No 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 Please, mark as installed if it worked and you are using it. Hope it helps! :) |
What kind of HTML code can be added? Every?
|
No, it's to insert google maps references.
The javascript checks you're introducing a valid maps.google URL. Into the image,the code you must paste is shown.... |
Super!
|
Dude, this is awsome !!!
Let's see how it goes (intalling right now) and get back for a feedback. Good job. |
Very good. Was looking for this a few weeks ago. This seems to work for all manner of Google Maps, including the "route" type ones which is good for planning weekend cruises!
|
Any demo ? TIA
|
It iframes the entire page as I see. Is there a way to display just a map?
|
As far as I know, it only iframes the map, if you tested and it appeared all the page, please send how you did it to parse this case....
Here is an example (it's in our local language, but the map is the map XD) http://forums.tinet.org/showthread.php?t=103 |
hey guys, I got a problem using this wonderful code..
when I paste the html code (iframe...) I have this message in the post : Error Forbidden Your client does not have permission to get URL /maps?f=q&hl=fr&geocode=&q=tour+eiffel+%20%20paris& ie=UTF8&ll=48.858072,2.294859& sp%20%20n=0.006295,0.006295&output=embed&s=AARTsJr %20%20CvdyoV0AZQw6_BVqD495b8b0 qyA from this server. (Client IP address: 82.238.112.139) |
All times are GMT. The time now is 11:18 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:
|