vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - Google Streetview BB Code (https://vborg.vbsupport.ru/showthread.php?t=238023)

nitra1000 03-13-2010 07:24 PM

Quote:

Originally Posted by denman75 (Post 2002635)
thank you ,working great

Quote:

Originally Posted by Loco.M (Post 2002592)
thanks for the how to, I've added it to my forum, the members will have fun with it :)

Quote:

Originally Posted by pauldack (Post 2002616)
Superb BB, working perfectly on my sites, members are loving it, cheers!!!!
:up:

Glad your all, happy with it :D

SuperGLS 03-17-2010 02:04 AM

Wonderful!

How would I get a regular Google Map one? Do I just do the same thing, except for create different tags like [GMAP] and then use the regular link?

EDIT- Yeah, I did just that and it seems to work. We'll see.

TimberFloorAu 03-17-2010 04:01 AM

Our code , and have given us no credit.

Even have used my exact Maps code, with my bloody house on it !

nitra1000 03-17-2010 04:01 PM

Quote:

Originally Posted by TimberFloorAu (Post 2005256)
Our code , and have given us no credit.

Even have used my exact Maps code, with my bloody house on it !

Err... no I haven't.. and no it doesn't..

The code is different to allow for the StreetView view, although the wrapping in a table/div came from the google maps code.

The example location is somewhere out in a desert, unless your house is under a small rock..

The image has come from the wiki commons.

Get your facts stright... If you look at my first widget, you'll find I did name your mod, as something which taught me how to make BB code, but I've since passed that as it's not exactly the hardest thing in the world...

TimberFloorAu 03-18-2010 02:09 AM

YOUR CODE from 1st POST !

Example: [sview]http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=birkdale,+qld &sll=37.0625,-95.677068&sspn=33.901528,71.894531&ie=UTF8&ll=-27.487563,153.21928&spn=0.074162,0.140419&z=13&iwl oc=A[/sview]

THE LINK USED IN YOUR CODE IS POINTING AT A HOUSE I OWN ( infact the centre of Wellington Point )

REASON BEING I USED IT AS AN EXAMPLE IN OUR BBCODE MAPS RELEASE !!!

So LEAST YOU CAN DO IS CHANGE THE BLOODY THING ! AND POINT TO SOMEONE ELSES HOUSE BUT NOT IN WELLINGTON POINT BIRKDALE QUEENSLAND !

If you dont believe me VB can happily check by looking at My Google MAP code released way back !
The point is pal, I use an address I own so that I am not inadvertantly pointing at someones house, so do us a favour change the bloody MAP address in your example.

Kapishe

nitra1000 03-18-2010 12:03 PM

Quote:

Originally Posted by TimberFloorAu (Post 2005802)
alot of swearing...

ahh missed that appologies. A PM would of been a quicker way of resolving that though.

P.S Does swearing make you feel like a real man? Because to me it makes you seem childish and immature. Same with the caps lock, ONLY LITTLE IMMATURE KIDS USE THIS BECAUSE THEY CAN'T CONVAY A TONE PROPERLY.

BirdOPrey5 09-18-2010 09:56 PM

This BB Code has the same security flaw as the Google Maps one... You're taking the entire "src" parameter from the BB Code- there's no reason someone has to point to google- they could point to any website/domain anywhere and then run any code they wanted on your site including Flash, Java, or any other insecure code and give your users viruses or such.

You can not allow arbitrary URL's in IFRAME BB Codes...

I strongly suggest editing the code or removing this altogether.

(edited per Paul M's post)

Alfa1 09-18-2010 10:24 PM

Looks awesome, but I will only use it when it can not be exploited this way.
Please edit this addon. Maybe already put http://maps.google.com/maps?f=q in there?

Paul M 09-19-2010 10:04 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2100212)
You can not allow arbitrary URL's in BB Code...

Really ? Isnt that exactly what [url ] and [img ] tags allow ?

@nitra1000 - please add the instructions to a text file and upload them, otherwise this is likely to get removed for having no files. Thanks.

BirdOPrey5 09-19-2010 11:09 AM

Quote:

Originally Posted by Paul M (Post 2100390)
Really ? Isnt that exactly what [url ] and [img ] tags allow ?

@nitra1000 - please add the instructions to a text file and upload them, otherwise this is likely to get removed for having no files. Thanks.

OK, I should have said "you can not allow arbitrary URL's to be passed to IFRAME based BB Codes..." but surely you can see the security risk inherent in this code... If anyone is interested put the URL: http://www.juot.net/nofile.html into this code... You will get my 'red' 404 file not found custom error page... I promise you it is safe for this test but if I was someone with malicious intentions I could put dangerous code on that page and then embed it into anyone's site who allows this code.


All times are GMT. The time now is 05:49 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.01031 seconds
  • Memory Usage 1,740KB
  • 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
  • (7)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
  • (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