The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Yahoo YUI! Treeview Menu for VBAdvanced Details »» | |||||||||||||||||||||||||
//--------------------------------------------------------------------
// YUI Yahoo Treemenu Module for VBA v3 RC2 // by ShawnC // http://www.shawnc.org //-------------------------------------------------------------------- //-------------------------------------------------------------------- //--> New Installation Instructions //-------------------------------------------------------------------- The files located in the Upload Directory need to be FTP Uploaded to your VBulletin Forum Directory. Click Overwrite All if it comes up will uploading Once uploaded, If you are using VBA v3 RC2 then you can Import the Module in this Directory to your VBA Modules and it will work. If you are Upgrading from a Previous version see next section //-------------------------------------------------------------------- //--> Upgrade Instructions //-------------------------------------------------------------------- Please Reupload all files into your Vbulletin Directory as I have changed the Javascript and compacted it with the Yahoo Javascript Compactor, Also All Files are hosted on your domain to speed matters up now. In Previous versions you had to Change the Header Template to Add the Javascript files, This has been automaticly done inside of the Plugin now so you will need to remove any manual Header File Changes. Delete the Old Module from VBA and ReImport the New Module to make sure all settings are overwrote properly. //-------------------------------------------------------------------- //--> Installation Instructions on older VBA //-------------------------------------------------------------------- Please read the Installation.txt file inside of the Package Follow Normal Installation Instructions by Uploading All Files. Create a new Module inside of VBA, Choose PHP Module(File) Change the following Settings File to Include --> treemenu.php Templates Used --> adv_portal_treemenu Use Module Wrapper Template --> Yes Make a New Template and Call it //-------------------------------------------------------------------- //--> adv_portal_treemenu //-------------------------------------------------------------------- <tr class="alt1" ><td class="yui-skin-sam"> <div id="treeDiv" style="visibility:hidden;"> $adv_portal_forumlist </div> <script type="text/javascript"> //<![CDATA[ var ultree; (function() { function treeInit() { ultree = new YAHOO.widget.TreeView("treeDiv"); ultree.setExpandAnim(YAHOO.widget.TVAnim.FADE_IN); ultree.setCollapseAnim(YAHOO.widget.TVAnim.FADE_OU T); ultree.readList(); ultree.subscribe("expand", function(node) { }); ultree.subscribe("collapse", function(node) { }); ultree.subscribe("labelClick", function(node) { }); ultree.draw(); fetch_object('treeDiv').style.visibility = 'visible'; } YAHOO.util.Event.addListener(window, "load", treeInit); })(); //]]> </script> </td></tr> //-------------------------------------------------------------------- //--> ChangeLog //-------------------------------------------------------------------- --> v1.00 --> First Version --> v1.01 --> Fixed Missing Animation Package - ragtek noticed thanks --> v1.10 --> Fixed minor things --> v1.20 --> Rewrite for VBA v3RC2 Module format --> v1.30 --> Added Automatic Template Edits, Compacted Javascript Includes, Added Hidden Startup, Re-Packaged for Out of the Box Operation Forum Paths have been added to Both Javascript and ForumDisplay.php so this will now work outside of your forum directory, Removed Ugly Navmarkers that i forgot to remove from the original code for this. //-------------------------------------------------------------------- //--> Demo Sites //-------------------------------------------------------------------- http://www.srl-forums.com --> Where this module was originally wrote for http://www.earthbeans.org --> Showing this module in a setting other then VBulletin ( MODx ) http://www.audiopoint.gr --> The Very Original Treemenu code written by Me for A Different JavaScript setup //-------------------------------------------------------------------- //--> Information About the Author //-------------------------------------------------------------------- I am a Freelance web Developer with Alot of exp in VBulletin modifications. I also run a blog about Web Development mostly using Yahoo, PHP and Linux Server stuff. If you Like this modication please make a donation as it would make you feel all warm and fuzzy inside :P And helps me support the idea of future free module releases. Support will be given to those that have Installed this modification only. Show Your Support
|
Comments |
#72
|
|||
|
|||
Awesome!! Idea.
I run to the monday~ |
#73
|
|||
|
|||
Dankness,
Thanks for the cool addon to vBa We started using it, and loved it, however we had to uninstall it. We'd love to continue using it, however, the features that we need were not available at the moment. We have many top level forums and needed them as links in the navigator. More importantly, we needed the ability to add links outside of the forum. We run an online shop, so we needed to link to specific categories in our catalogue, with the ability to specify what level these are at. The default navigator in vBa does this, however, it doesn't have the sweet collapsible options like your add on does. If you plan on implementing these features, we'd be happy to send a donation your way for the hard work PM me if you are interested. thanks! |
#74
|
|||
|
|||
Quote:
BTW, is there a way to change the tree components to specified images? I'd like to make it a little sharper with some of my own navigation graphics. |
#75
|
|||
|
|||
yes
just replace the images in the clientscript/yui/assets folder |
#76
|
|||
|
|||
Updated, Thanks to Ragtek i used his method of hideing the list until it was properly made ( no sense reinventing wheels )
|
#77
|
|||
|
|||
Thanks, Dankness.
|
#78
|
||||
|
||||
Sorry but I uninstalled this one (but still tagged it).
You should create a zip file with all the required files and clear instructions on how to install it, which versions of vBAdvanced are supported and tested etc. At this moment, to make it work, you have to read all posts, read advices of some of the users, test with modifications, use user-patched files etc. Too messy for my board...I'll wait for a cleaner and working (ouf-of-the-box) version. Thanks anyway. |
#79
|
|||
|
|||
I updated my template with the info in the new .tpl file but the menu still shows up already expanded until the page loads. I thought it was supposed to be hidden until opened?
|
#80
|
|||
|
|||
Ok, I have Completely Upgraded this module, You will require removal off the old header javascript additional codes that you had to do manually before. Also Reupload the All Files and Overwrite any existing, I have done many changes and will list the main changes below
This now works completely out of the box, there is very detailed instructions inside the zip and on the front page. Sorry to the people who could not make this work, it will work now. Sorry for the messy releases so far, time is a very valuble resource.
If you enjoy this hack I love donations' as atm my only job is freelancing --ShawnC |
#81
|
|||
|
|||
Thanks for updating this. I am still having a problem though.
You successfully hid the tree during the page load, but the table that it sits in (the module content) is still maximized until the page loads. This is really bad when you have a lot of forums as the module window can be the entire length of the page. Is there anyway to have it load already minimized? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|