Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[YouTube] Integration with Links & Downloads Manager (LDM 2.2.6) Details »
[YouTube] Integration with Links & Downloads Manager (LDM 2.2.6)
Mod Version: 1.00, by |oR|Greg (Member) |oR|Greg is offline
Developer Last Online: Nov 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (1 vote - 5.00 average) Installs: 34
Released: 28 Nov 2006 Last Update: Never Downloads: 76
Not Supported Uses Plugins Template Edits Code Changes  

Intro/About:
If you're not familiar with Links and Downloads Manager you should be! It's one of the most robust hacks for vBulletin out there and allows you the Administrator to add vast amounts of content to your board on your own, or via your board members. This hack, for LDM 2.2.6 and vB 3.6.X will allow your links to YouTube videos to play inline within LDM.

This hack requires:
  • 1 template edit (AdminCP ==> Styles & Templates ==> Styles Manager ==> (your style) ==> Links and Downloads Manager ==> links_playbit)
  • 1 file edit (./includes/local_links_include.php)
  • 1 new plugin
  • 1 new gif file
So, let's get started, this whole process should take no more then 5 minutes, and please make sure you backup before you start, I am not responsible if you somehow hose your site. (Although this is such a small mod I can't imagine you could, but I've been wrong before)

In your links_playbit template find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add AFTER:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The above width and height can of course be altered to suit your needs.

In your ./includes/local_links_include.php file find (around line 2590):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add AFTER:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Great! The hard part is over! Now, add the included Plugin, and upload the gif image to your Links and Downloads Icon Cache, for me, my Icon Cache is located at http://www.amacny.com/vb/images/ldm it's the directory where all your extension gifs are located. Make sure that the Plugin is turned ON. You should now be able to add entries to LDM for YouTube, and have them play within your own website!

Live Demo/Example: http://www.amacny.com/vb/local_links...=53&linkid=506

If you're getting an error stating that it's an Invalid Filetype. Go into your LDM settings, and edit 1 of these options, either: musicbox_filetypes, or musicbox_filetypes_divx, or musicbox_filetypes_quicktime, or musicbox_filetypes_realplayer. Remove ALL entries in the setting you choose.

Until I can make this mini-mod work WITH all those settings intact, this is the quick-fix. Chances are you're not using ONE of those players.

Don't forget to click

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	youtube.JPG
Views:	1373
Size:	49.2 KB
ID:	56851  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Major Additions Links and Downloads Manager AndrewD vBulletin 3.7 Add-ons 2047 26 Jun 2016 21:11
Major Additions Links and Downloads Manager AndrewD vBulletin 3.6 Add-ons 3066 09 Aug 2013 17:56
Links and Downloads Manager AndrewD vBulletin 3.5 Add-ons 2467 08 Apr 2010 16:24

Comments
  #2  
Old 28 Nov 2006, 15:19
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Real name: Rich
Hello,

I just went and checked out your example only to find that there is a syntax error at line 42, char 24. This of course prevented whatever you tube video from loading or even beginning to load.

If you follow the link directly, it opens the video on the next page. Id there suppose to be a "mini" version on the example page itself?
__________________
Rich

Swapped 2 sites to Xenforo since vBulletin left me hanging for so long with the vB4 - PHP5 compatibility issues. Running PHP 5.5 with Xenforo with NO issues.
Reply With Quote
  #3  
Old 28 Nov 2006, 15:29
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
That page error is actually a part of my code with the left navbar I created. It has nothing to do with the YouTube LDM integration. As for the link not working... what browser are you using? I've tested this in IE 6&7, and it works great.
Reply With Quote
  #4  
Old 28 Nov 2006, 16:18
Slave's Avatar
Slave Slave is offline
 
Join Date: Nov 2001
Nice hack |oR|Greg .. well done
Reply With Quote
  #5  
Old 28 Nov 2006, 20:23
hotwheels hotwheels is offline
 
Join Date: May 2005
Real name: Doug
awesome..........
Reply With Quote
  #6  
Old 29 Nov 2006, 00:16
Zowners Zowners is offline
 
Join Date: Dec 2005
Im getting invalid file type specified error when user clicks on the link. Any help?

What link do you use when adding a youtube video? ive tried the url but that gives me an error as stated above when clicked on.

Last edited by Zowners; 29 Nov 2006 at 00:31.
Reply With Quote
  #7  
Old 29 Nov 2006, 01:12
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
What's the link you're using?
Reply With Quote
  #8  
Old 29 Nov 2006, 05:19
phill2003 phill2003 is offline
 
Join Date: Apr 2003
Nothing showing using firefox
Reply With Quote
  #9  
Old 29 Nov 2006, 05:28
Zowners Zowners is offline
 
Join Date: Dec 2005
Im using normal links given from youtube. The URL not the embed code.
Reply With Quote
  #10  
Old 29 Nov 2006, 11:21
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Originally Posted by phill2003 View Post
Nothing showing using firefox
I never did test this with FireFox, I'll download it and see what I can do.
Originally Posted by Zowners View Post
Im using normal links given from youtube. The URL not the embed code.
What's the link you're using please?
Reply With Quote
  #11  
Old 29 Nov 2006, 17:57
Zowners Zowners is offline
 
Join Date: Dec 2005
Im using this: http://www.youtube.com/watch?v=Nxn6PRCEGu8

Again gives me error: invalid filetype specified.
Reply With Quote
  #12  
Old 29 Nov 2006, 18:12
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
http://www.amacny.com/vb/local_links.php?catid=53

Try the link I made for you, seems to work for me. Which means you missed a file edit, I'm thinking the edit for the in your ./includes/local_links_include.php file.

Go thru the steps again.
Reply With Quote
  #13  
Old 29 Nov 2006, 18:31
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Originally Posted by phill2003 View Post
Nothing showing using firefox
Tried the latest version of FireFox with the latest flash download... works fine.
Reply With Quote
  #14  
Old 29 Nov 2006, 20:21
chorton chorton is offline
 
Join Date: Oct 2003
I get this error
invalid filetype specified.
Reply With Quote
  #15  
Old 29 Nov 2006, 21:27
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Make sure you edited the files as well as the template.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 20:12.

Layout Options | Width: Wide Color: