Don’t have an account yet? Register yourself now and be a part of our community!
This plugin allows users to embed Google Maps into a post using a BBCode.
Update to not require the forum portion of Woltlab for installation.
Me again Update for 5.2?
The email notifying me of your comment got buried.I'll update the package to allow installing on 5.2 hopefully tomorrow. It's an easy task, I'm not in front of a computer to do it with right now. ~Justin
Update for Version 3.1?
I probably won't continue updating this BBCode, but others have enjoyed and had success with this plugin.
This plugin does not work as well as yours. How much effort is it to update your Version? Its the last plugin I need to update to 3.1
It's a pretty easy thing to update, it's just that I've decided I don't want to continue supporting this plugin when other options (that many perceive as more appealing) exist.However, for yourself and anyone else who liked the simplicity and single purpose of this plugin, I've updated it to work for at least 3.1.0 and uploaded it to my package server. You can find it here.
Awesome! Thank you very much!
Have you removed the package from the server again? I can only find v2.1 for WCF 3.0.0
I've installed this plugin but don't understand how it works.
When I copy the embed code from Google Maps all I get is the code showing and no map. However, when I copy and paste the code shown here in the overview I get a map.
I don't see a dialogue button appear in the forum post input so could you please explain how this works?
This particular BBCode doesn't add a button. Instead, you just take a google map embed URL and put it in a googlemaps bbcode, such as below.
Ok...I'd really like to get this.
The code you just posted opens up a map in Belgium.
Now, here's code I copied from 'embed map' in Google Maps
<iframe src="https://www.google.com/maps/embed?pb=!1m10!1m8!1m3!1d297538.2258899053!2d-58.461535284317556!3d-34.51900428264772!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sar!4v1512992744998" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
What do I do with the code I just copied ^^^ for it to appear correctly?
I see that it needs to be wrapped [googlemaps]xxxx[/googlemaps] but it's the rest of it I don't get.
When posting, do I hit BBCcode button for example and is there any backend config required?
You shouldn't need any backend config. You'll want to copy the URL from the string you pasted above and then put that between [googlemaps][/googlemaps].
When I paste this:
All I get is the text and this '
The Google Maps Embed API must be used in an iframe.
Hmm. That test example works for me. On Woltlab here, it's automatically turning it into a link because they don't have the googlemaps bbcode. Is it doing something like that on your forum?
As something else with BBCodes, nothing can be between the ] and the h. When copy pasting, I had an issue where it was inserting a new line, so "https://..." was on the line after [googlemaps].
I copy and pasted the working BBCode below from my test forum with a freshly installed version of GoogleMaps BBCode.
Nach dem Versuch das Update durchzuführen sind nun alle Beiträge in der eine Karte eingefügt war total gerissen mit Code.
Mit einer neu Installation hat es geklappt. Der Fehler besteht jedoch noch immer.
Updating the regex check to:^https(:|%3A)(/|%2F)(/|%2F)www\.google\.(com|de)(/|%2F)maps(/|%2F)embed(\?|%3F)pb.*$may help you out. The regex check is necessary to help prevent users from doing malicious things.
An update of package com.dynamogeek.googlemaps from version 2.0.0 to 2.0.1 is not supported.
yes update doesn't work.
Uninstall the BBCode and then reinstall it and you'll be good to go!
If you modified the regex check, make sure to grab your updated regex before you uninstall.
Das ist ja doof das es für Artikel nicht geht nur im WBB
I just tested this and it's working in Articles. It's a BBCode, so it should work anywhere BBCodes are.
Other users have had trouble with the validation regex. The comment thread with Cyberlex below describes such a situation.
Mein Problem ist das dein Plugin das WBB braucht um überhaupt installiert zu werden
I've made an update here on Woltlab to remove the requirement for WBB. You can wait for it to move through review, download it manually from my package server, or add my package server in your ACP and get updates from there for my plugins moving forward.
My package server is located at http://wcfpackages.dynamogeek.com/
Hab es installiert, verstehe nur nicht wie ich es anwenden muss im Artikel scheint es nicht zu Funktionieren
Hmmm. I'm not sure what might be happening. Can you send me a Conversation with a few screenshots of you stepping through the process of using the BBCode?
Is it not possible that you configure the plugin that i can direct insert the link from google maps? every bode does it so. Why i have to delete die letters?
Geht nicht richtig zeigt von googlemaps .de nix an und auch .com nicht
Provide an example of a link or two that isn't working and I'll see if I can help you out.
Based on what I'm able to understand from the Google translate, this validation regex may work better for your situation (using both .de and .com Google Maps embed codes):^https(:|%3A)(/|%2F)(/|%2F)www\.google\.(com|de)(/|%2F)maps(/|%2F)embed(\?|%3F)pb.*$
geht nicht .........
okay habs ;_) [googlemaps]https://www.google.com/maps/em…1sde!2sde!4v1488811259116[/googlemaps]
Do you have it working, or is that an example of it not working?
Ja funktioniert ist ein wenig umständlich wenn man nicht genau weiß das man erstmal einen Link erstellen muss
Funktioniert nicht richtig, beim Einbinden des URLadresse wird nur ein Link angezeigt, keine Karte.
War bei mir auch so. Du musst alle Wörter, also Buchstaben rauslöschen aus dem Code, dann gehts. Ist bissl eine "fiesel Arbeit" aber dann funktionierts.
How I easily get the right URL from Google Maps?
I think the URL from "embed" at google maps is not the correct one, it doesn't work.
It only works when i erase als capital letters, like you told in an older version.
Is there an easier way?
You can loosen the regular expression in the Admin Control Panel to be less restrictive and allow letters. Something like ^https(:|%3A)(\/|%2F)(\/|%2F)www\.google\.com(\/|%2F)maps(\/|%2F)embed(\?|%3F)pb.*$ may help.
This is shown to me.
It has a bit of oddness/additional validation beyond what one would expect when using that box. This should work when used in that particular box:^https(:|%3A)(/|%2F)(/|%2F)www\.google\.com(/|%2F)maps(/|%2F)embed(\?|%3F)pb.*$