Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Updating YUI for vBulletin 3.8 (YUI 2 currently 2.9.0)
Eric
Join Date: May 2006
Posts: 792

Kentucky
by Eric Eric is offline 28 May 2011

In vBulletin 4, the developers recently upgraded the bundled YUI version to 2.9.0 from 2.7.0. Since vB 3.8 is EOL, I found a way to manually update the bundled YUI version. I've tested vB 3.8 with YUI 2.9.0 as much as I could, and did not run into any problems.

Changes since 2.7.0 (mainly "Animation", "Connection", "DragDrop/Drag & Drop", "Yahoo"):

2.9.0: http://yuilibrary.com/projects/yui2/...e/Rollup_2.9.0
2.8.0: http://yuilibrary.com/projects/yui2/...e/Rollup_2.8.0

2.9.0 contains fixes for IE9, among others.

There is not a way to move from 2.x to 3.x yet for YUI given the extensive amount of changes that would be needed in vBulletin... maybe one day.

Anyway, to update, follow these steps:
  1. Backup your current YUI folder. It is located at /clientscript/yui/.
  2. Download YUI 2's latest version (currently 2.9.0) by going to: http://developer.yahoo.com/yui/2/ - you need to select "Full Developer Kit".
  3. Once downloaded, extract to your hard drive.
  4. Open the resulting /yui_2.9.0/yui/ folder (or the version you downloaded) and find the build folder.
  5. Copy the following files to your forum root. You will need to allow them to overwrite.

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

  6. Edit /includes/class_core.php and find:

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

    replace with:

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

    save.

And there you go, you have the latest and greatest YUI 2.x.
Views: 3381
Reply With Quote
Comments
  #2  
Old 30 May 2011, 00:10
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Why not just skip step 1 - 5 and use YUI on google?
Reply With Quote
  #3  
Old 30 May 2011, 14:39
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
You could, but I would update both. Mods may not always follow the YUI path option.
__________________
My modifications

Please do not contact me for support via PM or E-Mail unless I've asked you to do so. Otherwise, your message will be ignored/deleted.
Reply With Quote
  #4  
Old 10 Jul 2011, 08:52
kevin.kool's Avatar
kevin.kool kevin.kool is offline
 
Join Date: Nov 2009
I found that 3.8.7 release has updated to YUI 2.9.0 because of when i open class_core.php it's showing up define('YUI_VERSION', '2.9.0'); already.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article 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 15:39.

Layout Options | Width: Wide Color: