Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
YBMF-Google Maps BB Code Details »»
YBMF-Google Maps BB Code
Version: 1.00, by TimberFloorAu TimberFloorAu is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.1 Rating:
Released: 01-26-2010 Last Update: Never Installs: 138
Re-useable Code Translations  
No support by the author.

Please see the readme for full information.

Please mark INSTALLED if you use it. Do not Hotlink our images.

What does this do:

This adds the BBCODE for GoogleMaps to your Postbit. Streetview can also be utilised.

ALternative version now available by Ben Stillman Ohio Riders: [ click here ]

Download Now

File Type: zip YBMF-googlemaps-bbcode.zip (165.5 KB, 692 views)

Screenshots

File Type: png example_usage.png (20.7 KB, 0 views)
File Type: png bbcode_googlemaps_ybmf.png (24.8 KB, 0 views)
File Type: jpg example_from_google_maps.jpg (58.1 KB, 0 views)
File Type: jpg result_google_map_in_post.jpg (130.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
iiioroh

Comments
  #92  
Old 04-07-2010, 05:06 AM
dolomites dolomites is offline
 
Join Date: Jan 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to show the round controller (or the big controller) by default? Perhaps it has no problem..
Reply With Quote
  #93  
Old 04-19-2010, 12:11 PM
7thSENSE 7thSENSE is offline
 
Join Date: Mar 2010
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works perfect in Internet Explorer 7 & 8. But it doesn't in Firefox 3.6.3.

The marker within the map stays at its point when moving the map by clicking on it. But the marker should move with the map.

Can you confirm this problem?
Reply With Quote
  #94  
Old 05-16-2010, 05:48 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was also having the problem with the same map displaying no matter where I moved to in Google maps, but the security issue pointed out trumps all- I don't think people realize the damage that can be done with this- it basically opens an iframe to any website on the internet. A nefarious person can put in any type of html, flash, java, or any other web based exploit to download viruses or other damaging software to any computer who views the post with this in it. It completely over-rides the safety of not being able to use HTML on a forum page. Luckily the alternative viewer linked in the top post doesn't seem to have this flaw. I think it's great the author came up with the idea for this but he or she should really insist people uninstall this in favor of the alternate code, or update this code to remove the exploit if possible.
Reply With Quote
  #95  
Old 05-17-2010, 12:49 PM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
I was also having the problem with the same map displaying no matter where I moved to in Google maps, but the security issue pointed out trumps all- I don't think people realize the damage that can be done with this- it basically opens an iframe to any website on the internet. A nefarious person can put in any type of html, flash, java, or any other web based exploit to download viruses or other damaging software to any computer who views the post with this in it. It completely over-rides the safety of not being able to use HTML on a forum page. Luckily the alternative viewer linked in the top post doesn't seem to have this flaw. I think it's great the author came up with the idea for this but he or she should really insist people uninstall this in favor of the alternate code, or update this code to remove the exploit if possible.
I'm sorry, but I'm not seeing how this is done. I'm trying to plug in various web urls and they're only bringing back a google map. Can you give me an example url that would embed in an iframe? I'd like to confirm if this can happen on my site.
Reply With Quote
  #96  
Old 05-17-2010, 05:02 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bogley View Post
I'm sorry, but I'm not seeing how this is done. I'm trying to plug in various web urls and they're only bringing back a google map. Can you give me an example url that would embed in an iframe? I'd like to confirm if this can happen on my site.
Honestly I don't remember exactly what URL I used but what showed up in the window was my forum's custom 404 message- which means I could have programmed anything I want into that page/ If you want to try this is a link to a non-existent page on my website: http://www.juot.net/jjjj/joe.html just put that inside the [maps] tag and see what happens, if you get a red 404 error page then I could run any code I've chosen on your site... I just tested this again and got the 404 error page, which could contain any code I want it to- though trust me it's safe for the purpose of this experiment.

If you look at the code given:
Code:
<iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{param}&output=embed"></iframe>
The 'src' of the iframe is completely dependent on the parameter passed to it, it could be any website on any domain- if it's programmed to accept the '&output=embed' reference you can make it show anything.

edit- if you're saying you tried non google URL's and still got back google maps then you probably have the same error other people mentioned- the map isn't updating with new data in the URL- I don't know why that is happening it's not the code. Someone else going to your page would see the 'new' link.
Reply With Quote
  #97  
Old 05-18-2010, 07:33 AM
Mikelito Mikelito is offline
 
Join Date: Sep 2009
Location: Napoli
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #98  
Old 05-18-2010, 03:56 PM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I sort of wish this would work with other sites because I'm trying to find a way to embed a flickr set slideshow, but I can't get that to work either.
Reply With Quote
  #99  
Old 05-18-2010, 04:29 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well if you don't care about security issues just use a plain iframe bb code, there is one on here that gives you forward and back buttons via javascript: https://vborg.vbsupport.ru/showthread.php?t=170132
I have it installed but limited its use to admins & supermods... or you could edit this code and simply remove the "&output=embed" following the {param}, that will let you open any website in the frame.
Reply With Quote
  #100  
Old 05-26-2010, 01:31 AM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great, however, for some reason when vBulletin parses the URL it adds the url bb code, thus giving a page not found error in the iframe.
Reply With Quote
  #101  
Old 05-26-2010, 01:54 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dieselpowered View Post
This is great, however, for some reason when vBulletin parses the URL it adds the url bb code, thus giving a page not found error in the iframe.
Try disabling bb code within this bb code on the bb code settings screen.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:32 AM.


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.04634 seconds
  • Memory Usage 2,348KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete