vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   YouTube BB Code? With Full URL? (https://vborg.vbsupport.ru/showthread.php?t=188648)

db90 08-20-2008 03:06 PM

YouTube BB Code? With Full URL?
 
How can I use the BB Code to have people just put the full url within [youtube] tags? I currently have it set so they just need the youtube id, but I want it possible with the full url as well. :)

Headliner? 08-20-2008 03:13 PM

Why is this in the Design & Graphics forum?

cheat-master30 08-20-2008 08:29 PM

Possible security risk, but you'd change it from the default code to having the {param} sections where the full address is rather than replacing the id at the end.

db90 08-21-2008 04:23 AM

So the code would be:

<object width="425" height="350"><param name="movie" value="{param}"></param><embed src="{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

?

Marco van Herwaarden 08-21-2008 06:12 AM

As already mentioned in post #3, using the full URL can open secrity risks.

sparklywater 08-21-2008 11:58 AM

Use this mod, it allows posting of full YouTube url in the BB code:

https://vborg.vbsupport.ru/showthread.php?t=130868

--------------- Added [DATE]1219323589[/DATE] at [TIME]1219323589[/TIME] ---------------

Quote:

Originally Posted by Marco van Herwaarden (Post 1603573)
As already mentioned in post #3, using the full URL can open secrity risks.

Can you please take a look at that mod and explain whether it poses any security risks.

Marco van Herwaarden 08-22-2008 08:57 AM

In general if you show the results of a bb-code inline, then you don't want the users to be able to provide the full URL. They could also place a (mallicious??) link to another site. The safest option is always to have the URL (semi) hardcoded and only allow the users to enter the parameters needed.


All times are GMT. The time now is 01:07 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.01174 seconds
  • Memory Usage 1,720KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete