Subscribe to
Posts
Comments
NSLog(); Header Image

Embedding Google Maps in vBulletin (BBCode)

Has anyone seen a method for embedding a google map into a vBulletin forum via bbcode? I've yet to see one, and the ones I've tried to make myself fail miserably. Either they're too complex, you can only have one per page (which messes up people who might quote the map or wish to embed more than one map), or the site blows up when someone has JavaScript disabled… something goes awry every time.

Anyone? Bueller? Bueller?

6 Responses to "Embedding Google Maps in vBulletin (BBCode)"

  1. I don't know much about vBulletin, but it seems like your best bet would be to use the Static Maps API, assuming a static map is sufficient for you:
    http://code.google.com/apis/maps/documentation/staticmaps/index.html

    It's just an IMG tag (or whatever the BBCode equivalent is).

  2. [quote comment="47490"]It's just an IMG tag (or whatever the BBCode equivalent is).[/quote]

    Thanks, I've built that. Unfortunately it doesn't seem to allow you to choose between the "mappy" view and the "satellite" view. For the forum, a satellite view is often the preferred method of showing a map because usually we're looking at a golf course or something. 😛

    Good idea, though. Thanks.

  3. Couldn't your users embed an iframe of the google map? You could write something that took the Google Map iframe URL, parsed it and created a custom "google map tag". Then when you render the post, transform that back to the iframe.

  4. [quote comment="47506"]Couldn't your users embed an iframe of the google map? You could write something that took the Google Map iframe URL, parsed it and created a custom "google map tag". Then when you render the post, transform that back to the iframe.[/quote]

    Perhaps. I'll have to look at that. You can't really "parse" anything with a bbcode, but you could just take a URL and use it as the source of an iFrame, probably. If you're allowed to do that, of course. Google might not allow off-site use in that manner. I'll look into it.

  5. Hi,

    New here. Need some help Well, actually Ms. Boots had five kittens.

    My wife gave all but one away. According to her she names it., I say I do because I take care of all the others. haha

    Any good websites for finding cat names?

    thanks