vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - Embed XHTML valid YouTube and Google Video into your posts (https://vborg.vbsupport.ru/showthread.php?t=130868)

Neal-UK 12-16-2006 10:57 AM

Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:

[youtube]
h6KBiuVxOOY
[/youtube]

Quantnet 12-16-2006 05:42 PM

click Installed. Works great on 3.6.4
thanks

Neal-UK 12-16-2006 06:19 PM

Quote:

Originally Posted by Quantnet.org (Post 1139851)
click Installed. Works great on 3.6.4
thanks

Boo hoo, how you get it to work?

florino1 12-16-2006 07:18 PM

Quote:

Originally Posted by Neal-UK (Post 1139667)
Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:

[youtube]
h6KBiuVxOOY
[/youtube]

Same thing here ! :(

rossco_2005 12-16-2006 07:47 PM

I like this, it's nice that users can put the id or full URL as it saves me having to explain how to get the url a hundred times to members. :P

Just noticed one bug and not sure if it was posted.
I was trying to make a quick explanation to users by writing the code [youtube]URL[/youtube] inside of [noparse] tags but your code still removes the full url and changes it to just an id which is a bit confusing to members (they don't know where the id came from :P).

Not a big deal but you should make your hack detect if the tag is inside of [noparse] tags or not. ;)

Quantnet 12-16-2006 10:52 PM

Quote:

Originally Posted by Neal-UK (Post 1139864)
Boo hoo, how you get it to work?

I use full url, haven't tried ID yet..works great with youtube and googlevideo. Just download the xml, and wrap around it using the tag.

Here is an example of youtube
http://www.quantnet.org/forums/showthread.php?t=1506

Here is an example of googlevideo
http://www.quantnet.org/forums/showthread.php?t=1229

Viper007Bond 12-17-2006 03:12 AM

Quote:

Originally Posted by Neal-UK (Post 1139667)
Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:

[youtube]
h6KBiuVxOOY
[/youtube]

It needs to be all on one line. ;)

Code:

[youtube]h6KBiuVxOOY[/youtube]

Viper007Bond 12-17-2006 03:15 AM

[QUOTE=rossco_2005;1139905]I like this, it's nice that users can put the id or full URL as it saves me having to explain how to get the url a hundred times to members. :P

Just noticed one bug and not sure if it was posted.
I was trying to make a quick explanation to users by writing the code [youtube]URL[/youtube] inside of [noparse] tags but your code still removes the full url and changes it to just an id which is a bit confusing to members (they don't know where the id came from :P).

Not a big deal but you should make your hack detect if the tag is inside of [noparse] tags or not. ;)[/QUOTE]

I didn't know about that tag (I'm kinda new to vB). :surprised:

I do this to show users:

[you[b][/b]tube]blah[/youtube]

It's kinda ugly, but it gets the job done.

Oh, and I'll work on making it not do anything inside [noparse] tags. My plugin transforms the URL -> ID so that the internal BBCode parser can parse it, but I didn't code it to look for [noparse]. :(

Neal-UK 12-17-2006 08:15 AM

Quote:

Originally Posted by Viper007Bond (Post 1140103)
It needs to be all on one line. ;)

Code:

[youtube]h6KBiuVxOOY[/youtube]

Ha har, working now. Brilliant thankyou.

kellogs 12-17-2006 12:44 PM

Quote:

Originally Posted by Viper007Bond (Post 1137280)
Sorry, but I only offer support to those who have marked it as installed. ;)

Sorry mate, i have clicked installed :)

Please share some ideas

Thank you
-K


All times are GMT. The time now is 08:17 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.01395 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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