Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Youtube BBCODE integrated with vB Details »»
Youtube BBCODE integrated with vB
Version: 1.00, by anywares anywares is offline
Developer Last Online: Jan 2008 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.6.5 Rating:
Released: 03-15-2007 Last Update: Never Installs: 147
 
No support by the author.

Quick search turned up bubkis on anything similar to this except something quite like this but for vB 3.5.X . the codes were ALL made by me i DIDNT copy/leech of anyone elses codes

Why use this?
No template or file edits requiered. its as simple as adding a BBCODE

Installation:

Step1:
Goto AdminCP => Custom BBCodes => Manage BBCodes => Add new BBCODE

Step 2:

Title:
YouTube BB Code

tag:
yt {can be youtube or w/e but yt is shorter =p}

replacement:
HTML Code:
<!-- Start Youtube BBCODE -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
	<tr>
		<td class="tcat" colspan="2" style="text-align:center">
			<a href="http://www.youtube.com/watch?v={param}" title="Click to view this video on youtube" target="_blank">{option}</a>
		</td>
	</tr>
</thead>
<tr>
<td>
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
</td>
</tr>
</table>
<!-- End Youtube BBCODE -->
Example:
[yt=video name]ejOJkcs-a7s[/yt]

Discription:
YouTube embeded videos

Use {option}
yes

Button Immage:
attached

Screenshot attached ;]

Live Demo:
http://www.mega-codez.info/test/show....php?p=3#post3


If there has been a previous release for this kinda thing sorry for the double post

If you like this mod, please click install

UPDATE IN CODES:

When a user clicks on the hyperlinked name, they will be taken to the page on youtube this was posted on and not a huge enlarged version of the video

Show Your Support

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

Comments
  #12  
Old 03-19-2007, 05:24 PM
tigerroar tigerroar is offline
 
Join Date: Dec 2003
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DJA View Post
I've been trying to figure out how to use the {option} feature to input the video id (qj9KgUtdQVc) instead of the video name. I've really been struggling with this.

For example; when a user clicks on the youtube BB code button and the dialog box pops up prompting the user for the tag option, I'd like them to be able to simply input the video id (currently {param}) or the entire youtube link (as requested by BoredOutOfMyMin) in the dialog box in order to embed the youtube video.

Similarly to how the 'insert image' button works - click it, add a url, press OK - embedded image.

Can that be done? Cool if it could be.
Thats my problem too. It's a shame that it doesn't seem to work as it probably should because this makes for a really nice addition to a vb forum but it would just confuse the hell out of most people
Reply With Quote
  #13  
Old 03-19-2007, 05:48 PM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well the problem is that the video links on youtube is http://www.youtube.com/v/

and the links displayd on page browsing is http://www.youtube.com/watch&v=

or smtin like that

thats why its kinda almost impossible to do that in a simple bbcode sorry guys
Reply With Quote
  #14  
Old 03-19-2007, 05:56 PM
tigerroar tigerroar is offline
 
Join Date: Dec 2003
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, you've done a nice job. Thanks
Reply With Quote
  #15  
Old 03-19-2007, 06:13 PM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you like it please remember to click install ;]
Reply With Quote
  #16  
Old 03-20-2007, 10:05 AM
menese menese is offline
 
Join Date: Mar 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks. it simply to setup and use ..
Reply With Quote
  #17  
Old 03-20-2007, 04:08 PM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you like it why not take a few seconds to click install? ;]
Reply With Quote
  #18  
Old 03-21-2007, 03:15 AM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it doesn't show up on mine? no matter what url I use
Reply With Quote
  #19  
Old 03-21-2007, 09:11 AM
Staxed's Avatar
Staxed Staxed is offline
 
Join Date: Jun 2006
Location: Fayetteville, NC
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what are you putting in? ... you shouldn't be using a URL...

Quote:
Originally Posted by Mikecp421 View Post
it doesn't show up on mine? no matter what url I use
Reply With Quote
  #20  
Old 03-21-2007, 12:21 PM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i either put the url to youtube or just the video code at the end of the url and the entire code disappears when I preview it. or the link just shows
Reply With Quote
  #21  
Old 03-21-2007, 04:18 PM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps a screenshot or a live demo link could help ?
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 10:33 AM.


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.04958 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete