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 |
#42
|
|||
|
|||
How did you get yours to work? I tried that and mine still didn't work and I also used the file that was uploaded and now the errors went away but it doesn't show.
|
#43
|
|||
|
|||
Quote:
Are you sure your using the proper style id? IE You added the template change to Style 3 but now your looking at your page under Style 1? I just uploaded a new module for VB 3.0 that does work as I just installed VB 3.0 to test it. If your left with a list of forums that dont open or close then your forgot to edit your head include. |
#44
|
|||
|
|||
Quote:
Second, I edited treemenu.php Code:
Find all: forumdisplay.php?f All Replace: /forums/forumdisplay.php?f Third, I edited headinclude code. Code:
<script src = "/forums/clientscript/yui/yahoo-dom-event.js" ></script> <link type="text/css" rel="stylesheet" href="../forums/clientscript/yui/assets/tree.css"> <script src = "/forums/clientscript/yui/treeview.js" ></script> <script src="http://yui.yahooapis.com/2.3.1/build/animation/animation-min.js"></script> * Green code is mean, tree.css need full pass or '..'. Why? I don't know. hahaha . Note: This is just my case!!! Luck !! |
#45
|
|||
|
|||
hm
the part with ../forums/ is strange just clientscript/yui.... isn't working? are you sure??? are you sure that you have uploaded it right? |
#46
|
|||
|
|||
Yes, I'm sure.
Works perfectly with ../forums/. just clientscript/yui.... CSS isn't working. I don't know why. |
#47
|
|||
|
|||
theres a option to do that stuff in vba...
In The Older VBA the option in the admincp was Rewrite Filenames or something, and clientscript was already picked. Just add forumdisplay.php to it and it should automaticlly rewrite the urls. I guess in the next release I'll go ahead and rewrite all the url's to formdisplay to start with its already a variable, I just didnt need it on my install so didn't feel it was worth time adding. |
#48
|
|||
|
|||
Awesome! with the new module file you uploaded I downloaded both zip files overwrote all files uploaded the module and it works perfect!! haha nice mod and nice job awesome support!! thanks, www.blizzfusion.com check it out. Keep in mind I just used all files in the 2 zip folders in the first post not the one you edited in the reply on the 3rd page did not have to do any edits with the new module you uploaded.
Powered by vBadvanced CMPS v3.0 RC2 Powered by vBulletin? Version 3.6.8 |
#49
|
|||
|
|||
thanks for update.
i got a question ? navigation showing all forums and subforums before to completely load. this showing so bad |
#50
|
|||
|
|||
Quote:
PHP Code:
|
#51
|
|||
|
|||
Thats because this mod uses Progressive Enchantment to Redesign a unordered list of your forums. This is the markup and after the javascript hits it turns it into a nice list. Unfort there isnt much you can do about that except remove the module or change the CSS so it looks better without the javascript in place. Or if you search around enough im sure you can figure out a simple way to check if there have a DOM enabled browser and if not then don't display the module but that defeats the purpose of this, in that when a search engine spiders your page, there is a easy to navigate list of links to all your inner forums within 1 click away.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|