![]() |
|
|
Mod Options |
Google maps BBCode Details »»
|
|||||||||||||
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: ![]()
The others settings for the BBCode are: 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! ![]() Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
|||||||||||||
|
#121
|
||||||||
|
||||||||
|
Love this code...did not notice the glich with IE until I read the whole thread. This worked for me....
The only change is in the document.write statement for iframe... changing +url+ to replace with a regular expression...no need to detect the browser since the replaced text does not exist when it is working.
I tried cleaning up the URL before the if statement but it kept failing. Adding the replace text directly in the document.write worked fine. Enjoy.. ![]()
__________________
![]() The content person enjoys the scenery of a detour. Planning a ride? Visit http://www.TheRideCentral.com No members have liked this post.
Last edited by TRC-blurose : 19 Jun 2009 at 19:29. Reason: Really english IS my first language... |
||||||||
|
#122
|
||||
|
||||
|
Ok, I've just "installed" this hack with success! (on a v3.6.12 board)
Thank you ALL so very much for taking the time to develop (and help the developer) of this fantastic 'little' BIG hack! No members have liked this post.
|
|
#123
|
|||
|
|||
|
Originally Posted by TRC-blurose
Just when I thought there was hope for a fix...
This code works great in the Test area, but fails in a forum post. (vB3.8.2) Any further thoughts? No members have liked this post.
|
|
#124
|
|||
|
|||
|
Not work for me in vB 3.8.3
Ciao No members have liked this post.
|
|
#125
|
||||
|
||||
|
Originally Posted by spillage
No sorry, I have it working in both test and the main forum.
I will say the fix I did only works on new entries not old ones. My forum is still in conversion testing...so you can't view it...
__________________
![]() The content person enjoys the scenery of a detour. Planning a ride? Visit http://www.TheRideCentral.com No members have liked this post.
|
|
#126
|
||||
|
||||
|
Just a note I retested this morning with IE8 and had no issues.
Besure your using the Iframe code under the heading "Paste HTML to embed in website " and not just the map link on the top.
__________________
![]() The content person enjoys the scenery of a detour. Planning a ride? Visit http://www.TheRideCentral.com No members have liked this post.
Last edited by TRC-blurose : 25 Jul 2009 at 16:22. |
|
#127
|
|||
|
|||
|
Installed it on mychinamoto.com and it runs great so far. Much thanks to everyone who's helped put this together.
Seems to be more than a couple riders on this thread. Go figure... ![]() Now am trying to figure out what is and is not embeddable according to Google... ![]() Ride Safe, Have Fun CrazyCarl No members have liked this post.
|
|
#128
|
|||
|
|||
|
Great addon, thanks marked as installed and works fine on 3.8.3
One question, is it possible to add some code that will cause the link for directions to/from the point on the map to open in a new page/tab? At the moment if the find directions tab is clicked it loads in my forum tab. thanks Steve No members have liked this post.
|
|
#129
|
||||
|
||||
|
Took me a while to work out how to install it, didn't realise I had to go through "Add Custom BB Code"
Works beautifully, thank you ![]() No members have liked this post.
|
|
#130
|
|||
|
|||
|
See below.
No members have liked this post.
Last edited by Feign : 19 Jan 2010 at 14:48. |
|
#131
|
|||
|
|||
|
Wasn't working in 3.8.4 after a recent update.
Re-added the code and it's great now. No members have liked this post.
|
|
#132
|
|||
|
|||
|
I have installed and tested this in VB4 & it works fine
![]() No members have liked this post.
|
|
#133
|
||||||||
|
||||||||
|
Hi,
works fine with vB4 but not with vB4 and vBSEO 3.5.2 Change:
to
and it keeps working. Greetings Christian No members have liked this post.
|
||||||||
|
#134
|
|||
|
|||
|
Goood CThiessen, thank you!
No members have liked this post.
|
|
#135
|
||||||||
|
||||||||
|
Google link with https not working.
Anyone know what to change in code so Google link with SSL protocol works too? Here is example Google link location on Google map with http and with https: HTTPS
HTTP
__________________
www.pijanitvor.com Vrtlarstvo & Ribolov Gardening & Fishing - If you want, I will open english subforum for you ==> send me PM here
vBulletin v4.2.0 || Default style No members have liked this post.
|
||||||||
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 14:32.











