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

Reply
 
Thread Tools
Youtube display link parser without bbcode Details »»
Youtube display link parser without bbcode
Version: 1.00, by heavy1 heavy1 is offline
Developer Last Online: May 2009 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.5 Rating:
Released: 04-06-2007 Last Update: 04-07-2007 Installs: 19
Code Changes Is in Beta Stage  
No support by the author.

This is code that will parse all youtube video links and on the fly show embeded video to user.

Demo is here:

http://www.scepter.pl/showthread.php?t=582

Source of this post is:

Code:
Super komedia, film akcji, troche romansu.
Dwie pierwsze czesci byly tez fajne ale ta chyba najlepsza.

http://www.youtube.com/watch?v=QSTuPnNcI_I
As you see user don't have to use any bb tags for it to work - just paste link to post - that's it.

Thanks to TrekkerOfFiles for code deleting http://youtube.com url - I added deleting it with www. to this and it is perfect now.

It will not work very good if you have wysiwyg edit mode enabled (it breaks the link if you edit it) Using standard editor is recommended.

Mod instruction:
Updated installation info 07-04-2007:
Updated deleting http://*youtube.com 08-04-2007:

Atached zipped file cause this forum was messing up the code of modification.
It goes to /includes/ dir.

If you have other version of vb than 3.6.5 I recommend you to find jill edited code in my file and copy paste it to your file. It will work on 3.6.4 also.

If anyone can help with making it better please do

Show Your Support

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

Comments
  #2  
Old 04-07-2007, 12:07 PM
AzaDiyaR AzaDiyaR is offline
 
Join Date: Oct 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this not working for me

vbulletin 3.6.4
Reply With Quote
  #3  
Old 04-07-2007, 12:10 PM
heavy1 heavy1 is offline
 
Join Date: Nov 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pm me will see if i can help. Works fine on my 3.6.5.

//edit
there is something wrong with this forum - it is messing up the code.
i will add modified file in a sec.

It is now attached. Remember it is file from 3.6.5 - if you have other version installed just find my edited code inside and copy to your file.
Reply With Quote
  #4  
Old 04-07-2007, 12:22 PM
machethier machethier is offline
 
Join Date: Jun 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't Work
Reply With Quote
  #5  
Old 04-07-2007, 12:24 PM
heavy1 heavy1 is offline
 
Join Date: Nov 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try to make mew post as your vb may show you cached content of your old post.
If it still is not working pm me and we will see why.
Reply With Quote
  #6  
Old 04-07-2007, 01:41 PM
AzaDiyaR AzaDiyaR is offline
 
Join Date: Oct 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

waowwwwwwwwww thanks man this working now
Reply With Quote
  #7  
Old 04-07-2007, 10:38 PM
Qwest Qwest is offline
 
Join Date: Jun 2004
Location: United States
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to write this as a plugin or warn people that they are overwriting a core vbulletin class file!
Reply With Quote
  #8  
Old 04-07-2007, 11:14 PM
heavy1 heavy1 is offline
 
Join Date: Nov 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Qwest View Post
You need to write this as a plugin or warn people that they are overwriting a core vbulletin class file!
Code changes - says it all.
Reply With Quote
  #9  
Old 04-07-2007, 11:28 PM
Qwest Qwest is offline
 
Join Date: Jun 2004
Location: United States
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not working in my vb 3.6.4

I uploaded it to the includes directory 20 minutes ago then posted this: http://www.agnosticforums.com/genera...-new-post.html

Been refreshing for 10 minutes
Reply With Quote
  #10  
Old 04-07-2007, 11:36 PM
heavy1 heavy1 is offline
 
Join Date: Nov 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. this file is from 3.6.5 so using it on other may not work.
2. just copy the code from this file to your orginal file - the code is marked by jill youtube parser
3. if you still need help pm me and i will try to help you.
4. it is possible that other modification that you may have installed is blocking it

//edit
bb class file is same on 3.6.5 and 3.6.4 - so it must be something else interfering - probably other mod you have installed..
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 01:06 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.06276 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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