Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
YouTube URL Converter/Fix by BOP5 (replaces youtu.be with youtube.com) Details »
YouTube URL Converter/Fix by BOP5 (replaces youtu.be with youtube.com)
Mod Version: 1.2, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Dec 2018 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (5 votes - 5.00 average) Installs: 52
Released: 26 Jul 2011 Last Update: 07 Nov 2011 Downloads: 275
Supported Uses Plugins Re-usable Code Translations  

Version 1.2
1.0 - Initial Release
1.1 - Bugfix
1.2 - Bugfix

This is a very simple mod that will convert any links to videos on youtu.be to full www.youtube.com URLs.

This will be done everytime a new post is created or edited.

The purpose of this mod is to allow mods like AME 2.5 to work properly with the new shorter youtu.be share URLs.

It is preferable to use the original www.youtube.com URL because it will work with video titles and retain deep embedding support.

There are no options, just import the prodct in the usual way and it is installed and working.

If you ever need to disable it, disable the product from your Product Manager in Admin CP. Or uninstall.

*THIS WILL NOT CHANGE OLD POSTS UNLESS YOU EDIT and RE-SAVE THEM*

Example:

If someone posts:


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

It will be converted to:


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

before being saved. This will allow a mod like AME to convert it to an embdded video using the standard YouTube.com definition.

This mod does NOT embed videos. It is only useful if you run a mod like AME already.

This mod works on Vb 3.6, 3.7, 3.8, and 4.x.

Please Mark as Installed if you use this.

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Auto Youtube Link-Converter Disasterpiece vBulletin 4.x Add-ons 269 14 May 2018 16:32

Comments
  #2  
Old 26 Jul 2011, 14:12
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Reserved.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #3  
Old 26 Jul 2011, 14:56
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Legend.
Reply With Quote
  #4  
Old 26 Jul 2011, 15:17
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
FYI This mod does work on VB 4.x but I don't know why you would need it.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #5  
Old 30 Jul 2011, 01:08
rinkrat's Avatar
rinkrat rinkrat is offline
 
Join Date: Jan 2002
Works as advertised! Thank you, sir!
__________________
Los Angeles Kings Fan Page
Reply With Quote
  #6  
Old 05 Sep 2011, 15:11
EddyMaxx's Avatar
EddyMaxx EddyMaxx is offline
 
Join Date: Jan 2010
Great mod. Works great!
Reply With Quote
  #7  
Old 25 Sep 2011, 13:49
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Updated to version 1.1 - Fixed bug where youtube videos with dashes (-) in their ID would not be converted.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #8  
Old 25 Sep 2011, 13:58
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Been using this since Day One, works great. I appreciate the work!
Reply With Quote
  #9  
Old 07 Nov 2011, 20:14
cstreater cstreater is offline
 
Join Date: May 2010
I downloaded this mod, removed the duplicate pattern match(?), changed the embed code to display HD when available, and added the no-cookie and https option YouTube now offers. I attached the XML if you're interested.

Anyway, your converter seems to work well in conjunction with this mod, but for some reason it doesn't convert the first post of a new thread unless I edit and save it after posting.

In fact, even without my mod it still exhibits this behavior in my test environment running a clean version of vB 3.8.7.

I take it this hasn't happened to you?

Last edited by BirdOPrey5; 07 Nov 2011 at 20:53. Reason: Removed attachment
Reply With Quote
  #10  
Old 07 Nov 2011, 20:48
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
You are right, it wasn't converting on first posts. Looks like I had the plugin for new threads accidentally assigned to another mod so it didn't export with this mod. Uploaded version 1.2 which fixes this issue, now includes both plugins. Thanks.

Edit - Had to remove your attachment, you can't redistribute other peoples mods, even if you edit them.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.

Last edited by BirdOPrey5; 07 Nov 2011 at 20:55.
Reply With Quote
  #11  
Old 07 Nov 2011, 21:03
cstreater cstreater is offline
 
Join Date: May 2010
OMG thank you! The mods you've created for our forum are definitely appreciated. Youtu.be links have definitely been a pain in my side.

The other guys I work with also love your PHP script listing all the forums & ID's. Due to the size of Android, and the number of devices they keep churning out, we have way more than I'd like to admit. Anyway, that's a little off topic from this thread. Bottom line is, thanks.
Reply With Quote
  #12  
Old 07 Nov 2011, 21:23
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
You are welcome.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #13  
Old 11 Nov 2011, 16:50
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Hey BOP5, this modification does not work in private messages, just so's ya know. Perhaps it needs a different hook location besides "postdata_presave" ??
Reply With Quote
  #14  
Old 12 Nov 2011, 10:50
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
That is true, and yes it would need a different hook- will have to investigate.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #15  
Old 12 Nov 2011, 11:15
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
If anyone wants this to work on PMs- go to your Admin CP -> Plugin Manager -> Add New Plugin

product: YouTube URL Converter by BOP5

hook: private_insertpm_process

title: YouTube Fix - PMs

Exec. Order: 5

Set the php code to:

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

Set ACTIVE to YES and hit "Save"
This will do the conversion in PMs too. I didn't make it an update because not everyone may want to do it with PMs. One day if I add options to this product I can make it something you may enable or disable.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
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 07:43.

Layout Options | Width: Wide Color: