Dos_Box Posted July 19, 2011 Posted July 19, 2011 What a pain this one is being. According to PHPBB, PHPBB3 has the [googlemaps][/googlemaps] BBCode built in (as far as I can gather at any rate), but my install does not. In my admin control panel it does not show it listed under installed BBCodes either. Anyone know where there are some instructions on how to add this tag, or know how to do it as it's driving me nuts!! All I want to do is show the occasional map in PHPBB
featured_spectre Posted July 19, 2011 Posted July 19, 2011 Have you updated it? It's a recent addition to the base code. Once updated you should see in the backend to update the phpbb portion of the forum. Enjoy.
RabbieBurns Posted July 19, 2011 Posted July 19, 2011 not the right place for this, but how the hell do you embed youtube !??!
Dos_Box Posted July 19, 2011 Author Posted July 19, 2011 Yup, it's the latest build (3.0.9) with no updates available. The only BBCodes showing are: {TEXT} {SIMPLETEXT} {INTTEXT} {IDENTIFIER} {NUMBER} {EMAIL} {URL} {LOCAL_URL} {COLOR}
featured_spectre Posted July 19, 2011 Posted July 19, 2011 in that case it should be a case of this [googlemaps]insert google map URL here[/googlemaps]
Dos_Box Posted July 19, 2011 Author Posted July 19, 2011 You'd think so wouldn't you? All you get is a URL with the tags shown at either end. Ah well, I'll come back to this one later.
featured_spectre Posted July 19, 2011 Posted July 19, 2011 How about this, fresh from google themselves... Google Earth API code is composed of two parts. One is two You can get your key here: Sign Up for the Google Maps API - Google Maps API Family - Google Code The second var ge; google.load("earth", "1"); function init() { google.earth.createInstance('map3d', initCallBack, failureCallBack); } function initCallBack(instance) { ge = instance; ge.getWindow().setVisibility(true); } function failureCallBack(errorCode) { } google.setOnLoadCallBack(init); If desired, some extra codes can be added to make other GE layers or your map files to show up in the 3D Earth. Here are a lot of examples: Google Earth API Developer's Guide - Google Earth API - Google Code In phpBB, all these goes into the overall_header.html template since is in that file. The second part of the API is a simple where the Earth will appear with an id "map3d" within the : needs this call: As an advanced usage, you can also add buttons or checkmarks to let the users turn on and off layers and features of GE like the navigation controls, the grids, the roads, international borders, that you can find their examples in the documentation. 1
Dos_Box Posted July 19, 2011 Author Posted July 19, 2011 You'd think so wouldn't you? All you get is a URL with the tags shown at either end. Ah well, I'll come back to this one later. Well, It'll give me something to do I suppose!!
featured_spectre Posted July 19, 2011 Posted July 19, 2011 haha, is it for edugeek or something else you have going on? I dont mind taking a look
SYNACK Posted July 19, 2011 Posted July 19, 2011 not the right place for this, but how the hell do you embed youtube !??! @RabbieBurns You just need to use the little movie strip button three from the end of the quickedit box which will prompt you for the URL. 1
Dos_Box Posted July 19, 2011 Author Posted July 19, 2011 haha, is it for edugeek or something else you have going on? I dont mind taking a look All in good time.
Diello Posted July 19, 2011 Posted July 19, 2011 Does it work if you manually add the BBCode in the ACP? Info here: Google Maps BBCode - BBCodes
Arthur Posted July 19, 2011 Posted July 19, 2011 Google's static maps API is pretty cool since it enables you to embed maps as images. http://maps.googleapis.com/maps/api/staticmap?center=51.50400,-0.08216&zoom=15&size=640x400&maptype=roadmap&sensor=false&markers=color:red|label:S|51.50400,-0.08216 http://maps.googleapis.com/maps/api/staticmap?center=51.50400,-0.08216&zoom=15&size=640x400&maptype=roadmap&sensor=false&markers=color:red|label:S|51.50400,-0.08216 1
Dos_Box Posted July 20, 2011 Author Posted July 20, 2011 That works, but it requires a bit of faffing around with the address (as I've spent the past 45 mins finding out!). I shall post more on this after I have got my head around it.
Dos_Box Posted August 24, 2011 Author Posted August 24, 2011 not the right place for this, but how the hell do you embed youtube !??! A bit late, but you can add the BBCode found here to enable the YouTube tag. phpBB • Adding Custom BBCodes in phpBB3 • 3.0
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now