vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Interactive Google Maps In Post (https://vborg.vbsupport.ru/showthread.php?t=235625)

hoatran 02-22-2011 03:35 PM

Oh my God, you are the hero man...

Cigarcritic 03-07-2011 04:07 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2138273)
I see you have since removed the google map from that post... before it was gone I was able to see that whatever is causing it seems to be part of your css.php file... when I removed the css link to this file the map was normal sized, though of course everything else was bad without the css.

I'm not really sure what this means, possibly a mis configured stylevar... I can't really troubleshoot anymore from here.

One more thing to try, in the replacement code for the BB Code get rid of the table tag, the only code you really need is:

Code:

<iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&output=embed"></iframe>
See if that gives better results.

Thank you!!!! That corrected my issue with a narrow map in Firefox.

The Fathom 03-10-2011 08:36 AM

I am getting a 404 when trying.....

USing version 4.1

The Fathom 03-10-2011 08:42 AM

Ok it works for 50%. USed Disable Automatic Link Parsing Within This BB Code and now i see it. But it only fills 50% of the frame :)

The Fathom 03-10-2011 08:46 AM

And replacment is
<iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&output=embed"></iframe>

And it works fine for 4.1! Awesome mod!

giaguaro 03-12-2011 12:23 PM

hi.
I tried it on my site, it says: {param}it's no good.It seems it wants " .
Could help me? thx!!

EDIT: IT WORKS THE SAME :) thx, great mod.
How to have different measure?
And: how to let the user calculate his road to the place?

fulviods 03-30-2011 01:13 PM

I need a thread per street with a google map inside. But also a general google map with a link to all the street-threads. How can i do that? Thanks!

Videx 04-01-2011 01:48 AM

I suppose there's nothing stopping you from doing it manually. I sure can't imagine software that would automatically scan a map and create a subforum for each street on it. Or a thread, though I don't know what good a single thread per street would do.

Rofo 04-02-2011 06:29 PM

Thanks for the code, seems to be working fairly well. Only problem I have is that it displays on my forum like this and not in "full screen". I made changes to the HTML code Google gives you in the 'Share' Option but made it worse. Anyway to make it wider?

https://vborg.vbsupport.ru/external/2011/04/53.jpg

Installed / 4.1.1

BirdOPrey5 04-02-2011 08:47 PM

Quote:

Originally Posted by Rofo (Post 2180181)
Thanks for the code, seems to be working fairly well. Only problem I have is that it displays on my forum like this and not in "full screen". I made changes to the HTML code Google gives you in the 'Share' Option but made it worse. Anyway to make it wider?

https://vborg.vbsupport.ru/external/2011/04/53.jpg

Installed / 4.1.1

I posted code in Post #64 that should resolve this issue.

Rofo 04-02-2011 09:13 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2180212)
I posted code in Post #64 that should resolve this issue.

Thank you, that did the trick! Sorry for not reading the whole thread, I skimmed right over that post.

Works great.

hoadiem 04-03-2011 12:05 AM

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
•<div align="center" style="margin: 5px 5px 5px 5px;"> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%"> <tr> <td class="thead" style="text-align:center"> <iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&output=embed"> </iframe> </td> </tr> </table> </div>

click continue and tested look like it just show me the full US map not the address i put in the tag

BirdOPrey5 04-03-2011 01:24 AM

The warning about the properly formed code can be ignored. It has nothing to do with your problem.

You either have an address google maps can't find, so it reverts to the USA map, or sometimes google maps just doesn't work... come back to it in 15 minutes and it will probably be fine. I've only seen the USA map about 5 times over 2 years I've used this code. (I know this was released Feb 2010, I had an older version before this one.)

Blackhat 04-03-2011 01:35 AM

is there a way to unsubscribe without logging in ?

benstillman 04-04-2011 02:46 PM

Quote:

Originally Posted by Blackhat (Post 2180272)
is there a way to unsubscribe without logging in ?

Unsubscribe from a map???

ne_ne 04-04-2011 05:03 PM

hey I am having issues, with the getting the BB Code to work.. I am running 4.1.1 vbulletin and on replacement code it just saves fine, but shows me a cut down version of my homepage in the BB Code manger??

help? I am unsure what to do..

fulviods 04-04-2011 05:25 PM

Quote:

Originally Posted by Videx (Post 2179618)
I suppose there's nothing stopping you from doing it manually. I sure can't imagine software that would automatically scan a map and create a subforum for each street on it. Or a thread, though I don't know what good a single thread per street would do.

Too long manually. Imagine in a city how many streets...
I need it automatically...

BirdOPrey5 04-04-2011 08:11 PM

Quote:

Originally Posted by ne_ne (Post 2180819)
hey I am having issues, with the getting the BB Code to work.. I am running 4.1.1 vbulletin and on replacement code it just saves fine, but shows me a cut down version of my homepage in the BB Code manger??

help? I am unsure what to do..

I don't know what you mean "cut down version" - if you mean it doesn't take up the whole size of the box that question has literally be answered like 5 times in the previous few posts. If you mean something else maybe a screen shot would help?

Videx 04-19-2011 03:55 PM

Finally! Now I can go back to Google. I hope.
Quote:

Tuesday morning (4/19/11), Google made its Map Maker feature available in the U.S., allowing anyone to edit and approve changes to Google Maps.
http://www.washingtonpost.com/blogs/...wpisrc=nl_tech

rari2003 04-21-2011 08:10 PM

Real cool Stuff! Many thank's for this! May be it could be usefull to add hints like this below to the main Thread? It may save time :D

Quote:

Originally Posted by BirdOPrey5 (Post 2129377)
Try adding &t=h to the embed URL, so the replacement would be:

Code:

<div align="center" style="margin: 5px 5px 5px 5px;">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" style="text-align:center"><iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&t=h&output=embed"></iframe></td>
</tr>
</table>
</div>



fwulfers 06-22-2011 09:07 PM

Great mod, works perfect on 4.1.4.

Is it possible to add waypoints to a map?

spillage 08-27-2011 02:04 PM

Working great for me also (4.1.5).

Is there a way to set the initial zoom level?

BirdOPrey5 08-27-2011 03:41 PM

Quote:

Originally Posted by spillage (Post 2238730)
Working great for me also (4.1.5).

Is there a way to set the initial zoom level?

At the end of the URL in the replacement, after embed add the code:

Code:

&z=10
where 10 is the zoom level, appears to be a number between 1 and 20, the higher the number the closer you are zoomed in.

spillage 08-29-2011 01:09 AM

Thanks Joe.

mmoore5553 11-22-2011 06:16 PM

I am not seeing the map icon in quick reply or advanced. Is there a way to add it .

BirdOPrey5 11-22-2011 10:34 PM

Quote:

Originally Posted by mmoore5553 (Post 2270834)
I am not seeing the map icon in quick reply or advanced. Is there a way to add it .

You have to download the icon from this thread, upload it to your /images/whatever directory, and then set the path to the image in the bbcode options for it to show on the editors.

mmoore5553 11-22-2011 10:41 PM

thanks mate I got it working just not showing up in group editor which i am trying to figure out how to add it there

jacobsen1 12-09-2011 05:09 PM

I'm having an issue embedding this map: http://maps.google.com/maps/ms?msid=...b7fc7822&msa=0

not sure why but it won't show the right area or any of the markers when I use the [map] codes... Any suggestions? I'm using 4.0.8.
Here's the thread in question: http://newschoolofphotography.com/ne...christmas.html

thanks.

Videx 12-09-2011 06:16 PM

Quote:

Originally Posted by jacobsen1 (Post 2276297)
I'm having an issue ...

I see two Google embedded maps in FF. The first has markers. I guess you fixed it? Or maybe a cache issue?

edit: Okay I think I see what you're asking. That really is a fancy looking map at http://maps.google.com/maps/ms?msid=...b7fc7822&msa=0 . I don't see why it shouldn't embed.

jacobsen1 12-09-2011 07:21 PM

Quote:

Originally Posted by Videx (Post 2276331)
I see two Google embedded maps in FF. The first has markers. I guess you fixed it? Or maybe a cache issue?

my site has one in the header, it's got tags on it yes.

Quote:

edit: Okay I think I see what you're asking. That really is a fancy looking map at http://maps.google.com/maps/ms?msid=...b7fc7822&msa=0 . I don't see why it shouldn't embed.
right, but it doesn't... why? ugh.

GeorgeB85 12-09-2011 07:37 PM

I dont see no button image attached.

GeorgeB85 12-09-2011 07:53 PM

This works, but when I type in an address, and use the bbcode for the map, it only displays a gigantic map for the entire USA, and doesn't pin point the address I gave it.

Videx 12-09-2011 09:21 PM

Maybe they specifically have embedding disabled for those fancy maps? You may want to search around the Google Maps forums for a clue.

George, are you having your own trouble? Try to find the address in Google Maps first. Once you do, use that url. You could be misspelling a street name or something.

BirdOPrey5 12-09-2011 11:22 PM

Quote:

Originally Posted by GeorgeB85 (Post 2276354)
I dont see no button image attached.

It's the small image under "screen shots"

https://vborg.vbsupport.ru/attachmen...1&d=1265920536

Quote:

Originally Posted by GeorgeB85 (Post 2276362)
This works, but when I type in an address, and use the bbcode for the map, it only displays a gigantic map for the entire USA, and doesn't pin point the address I gave it.

Then it's not working- all I can advise is erase it and try again. Read this full thread for updates.

GeorgeB85 12-09-2011 11:57 PM

Found the answer to this.

My address shows up find in Google Maps, but not with this mod. Just shows the US map

Mr_Running 08-17-2012 12:05 PM

If this is using the old Google Map v2. How can I update using v3 api?

How about a smaller map fixed size with a link to a full size map.
Has anyone updated to Google Map v3?

Arrogant-One 08-17-2012 09:43 PM

Quote:

Originally Posted by myke2008 (Post 2158194)
was not ignoring you, as I said I am no longer using it on the forums, so if I gave you a link (the site is not live yet) it would not do any good anyway. I don't want to leave a huge google map skewed off the side of the page and bulging out the side of the resent posts widget, because it looks like sh*t.

This is a brand new install of vb 4.1.1 and this mod is basically the only mod that is installed.

The real question is, is there a way to set permissions on this or some how prevent the maps from showing in the resent posts widget? Maybe there is some way to stop it from being used in the forums? or prevent registered users from using it?

So it worked for 4.1.1?

I have 4.1.12 and this mod isn't working. When I tried saving the BB Code I got this message:

Quote:

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
<div align="center" style="margin: 5px 5px 5px 5px;"> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%"> <tr> <td class="thead" style="text-align:center"><iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&output=embed"></iframe></td> </tr> </table> </div>
I proceeded anyway but the mod never worked. :(

Mr_Running 08-17-2012 10:49 PM

Try this...

Example:
Code:

[map]Brisbane, Queensland, Australia[/map]

Replacement:
Code:

<iframe width="75%" height="400" frameborder="0" scrolling="no" marginheight="" marginwidth="" src="http://maps.google.com/maps?q={param}&output=embed"></iframe>

Arrogant-One 08-18-2012 12:46 AM

Quote:

Originally Posted by Mr_Running (Post 2357754)
Try this...

Example:
Code:

[map]Brisbane, Queensland, Australia[/map]

Replacement:
Code:

<iframe width="75%" height="400" frameborder="0" scrolling="no" marginheight="" marginwidth="" src="http://maps.google.com/maps?q={param}&output=embed"></iframe>

Still not working unfortunately. :confused:

Mr_Running 08-18-2012 08:55 AM

Check BB Code Manager...is BB Code and HTML both
Code:

[map]Brisbane, Queensland, Australia[/map]
Also make sure everything is set to Yes.

with the exception of Use {option} which is to be set to No.

If it still does not work then delete BBCode and start again with what I provided.
Yes, error can be safety be ignored.

or just delete and start again. :)

Edit: I believe this is it. Use {option} which is to be set to No
Check :)


All times are GMT. The time now is 01:04 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
  • Page Generation 0.01539 seconds
  • Memory Usage 1,839KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete