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)
-   -   Mini Mods - YBMF-Google Maps BB Code (https://vborg.vbsupport.ru/showthread.php?t=234318)

dolomites 04-07-2010 05:06 AM

Is it possible to show the round controller (or the big controller) by default? Perhaps it has no problem..

7thSENSE 04-19-2010 12:11 PM

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?

BirdOPrey5 05-16-2010 05:48 PM

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.

hiker 05-17-2010 12:49 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2038048)
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.

BirdOPrey5 05-17-2010 05:02 PM

Quote:

Originally Posted by bogley (Post 2038492)
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.

Mikelito 05-18-2010 07:33 AM

Thanks :)

hiker 05-18-2010 03:56 PM

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.

BirdOPrey5 05-18-2010 04:29 PM

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.

dieselpowered 05-26-2010 01:31 AM

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.

BirdOPrey5 05-26-2010 01:54 AM

Quote:

Originally Posted by dieselpowered (Post 2043448)
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.


All times are GMT. The time now is 04:23 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.01102 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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