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

Reply
 
Thread Tools
Youtube Embed Full URL BB Code - [yt] Details »»
Youtube Embed Full URL BB Code - [yt]
Version: 1.00, by 1Unreal 1Unreal is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.x Rating:
Released: 06-12-2009 Last Update: Never Installs: 194
Uses Plugins
 
No support by the author.

Right, there are lots of mods for embeding Youtube videos on here in one way or another. However they all require your users to get the ID and do it that way. If your users are not quite so savvy they may not know how to do this.

So this makes things very simple. Heres the syntax

Code:
[yt]http://www.youtube.com/watch?v=gEl1xSPyOwA[/yt]
Also, the URL doesn't have to be perfect. For example, if a user pastes in a URL such as http://www.youtube.com/watch?v=gEl1xSPyOwA&feature=rec-HM-fresh+div it will still find the ID and embed it perfectly.

Simple!

How to add a button to the toolbar

Download Now

File Type: xml product-ytembed.xml (1.7 KB, 1760 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-30-2009, 10:02 PM
thefarg thefarg is offline
 
Join Date: Aug 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to change tag to [youtube] ? I changed it, and videos come up with that tag, but when I press button in editor, it always comes up with [yt] tag. How do I change tag that button puts in?
Reply With Quote
  #23  
Old 08-31-2009, 08:52 PM
One-Take One-Take is offline
 
Join Date: Mar 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this is probably dumb question but I got the [yt] link here [/yt] to work if I manually add that to a post.. question is: where do I upload the image to to make it show up? Right now, there is no image, nor is there a red x appearing after modifying the editor_toolbar_on template as directed..

Ideas?

Thanks!
One-Take
Reply With Quote
  #24  
Old 08-31-2009, 09:11 PM
elenh elenh is offline
 
Join Date: Jun 2009
Location: Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have to upload the image to every style you are using for your forum in the folder "editor"
Reply With Quote
  #25  
Old 08-31-2009, 09:33 PM
One-Take One-Take is offline
 
Join Date: Mar 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elenh View Post
you have to upload the image to every style you are using for your forum in the folder "editor"
Already had that done.. what worked was to change where I added the additional code into <if condition="$show['code_bbcode']"> section... rather than <if condition="$show['html_bbcode']">

Works fine now..

Reply With Quote
  #26  
Old 09-02-2009, 01:13 AM
Tommo224 Tommo224 is offline
 
Join Date: Aug 2009
Location: Sydney, Australia
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works Beautifully! Thank you!
Reply With Quote
  #27  
Old 09-05-2009, 01:17 PM
motorola motorola is offline
 
Join Date: May 2009
Location: Romania
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by motorola View Post
I have a probblem when I put some youtube links in my forum,i had installed this mod a few weeks a go,everything was okay untill today !

In Google Chrome works fine,in other browsers show this error

I use the youtube url not the embed code....
What is the probblem?

Any answere on my probblem?
Reply With Quote
  #28  
Old 09-06-2009, 06:40 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by One-Take View Post
question is: where do I upload the image to to make it show up? Right now, there is no image, nor is there a red x appearing after modifying the editor_toolbar_on template as directed..

Ideas?

Thanks!
One-Take

On the red x - Right Click and that will tell you exactly where to upload the image to.

Mine was: forum-> images -> editor
Reply With Quote
  #29  
Old 09-06-2009, 08:57 PM
Oceanside Oceanside is offline
 
Join Date: Aug 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed

Seems to be working very well. Thank you.
Reply With Quote
  #30  
Old 09-09-2009, 12:58 AM
Boneedd Boneedd is offline
 
Join Date: May 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

everything works fine installed

Edit: I found a bug.. when going to edit the post with the video, the bb code & link disappears..... Uninstalled for now
Reply With Quote
  #31  
Old 09-18-2009, 08:13 AM
Pandadisossato Pandadisossato is offline
 
Join Date: Jan 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boneedd View Post
everything works fine installed

Edit: I found a bug.. when going to edit the post with the video, the bb code & link disappears..... Uninstalled for now
I've noticed the same bug, I'll continue to use it while I'll not find a better mod or the bug will be fixed.
I suggest to add the same feature of "add image" button that ask to put the url of the video.

Thanks for your work
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 06:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04586 seconds
  • Memory Usage 2,329KB
  • 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
  • (4)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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