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 |
#82
|
|||
|
|||
lol
i would hide everything like i'm doing: www.ragtek.org maybe i find some time to install vbadvanced and to help if not: the whole "container" should be hidden until the page is loaded but i don't know if this is possible in vbadvanced |
#83
|
|||
|
|||
Quote:
Quote:
|
#84
|
||||
|
||||
Dankness...great job...(re-installed)
It now works out-of-the-box. I would modify the installation instructions: - In case of a fresh installation, you don't need to upload the treemenu.php file as the .module file will try to recreate it and vBA would ask if you want to overwrite, rename etc. Simply import the module and upload the clientscript directory for fresh installation of the hack on vBA 3.0RC2. Also, the URL replacement is now working when you click on the links. Keep up the great work... |
#85
|
|||
|
|||
ive found a newer method for hidding
szenario: if a user have no js, he cant see the menu ok it is not nice if its just a list and no treemenu but its userfriendlier so what we could make: at top of the template we can add: Code:
<script type="text/javascript"> document.write('<' + 'style type="text/css">'); document.write('#ourelement p{display:none;}'); document.write('<'+'/style>'); </script> it adds onthefly a styleformating for hidding our content so if somebody have no javascript he sees it heres a tut i wrote sorry for bad english yui-treemenu with a crazy idee daniel |
#86
|
|||
|
|||
Some category has wrong number.
See attachment. I think the number must be 53. Please help... Thanks. |
#87
|
|||
|
|||
EDIT : The problem is that I only counted the total threads When your Forum is Level 1, everything else shows posts for that specific forum. I'll look into another way to decide whether you have a subforum or not but for now that's just how it was coded.
|
#88
|
||||
|
||||
Is there anyway to have this work with advanced integration, so I can display it on forumhome?
|
#89
|
|||
|
|||
Quote:
Any help would be appreciated! |
#90
|
||||
|
||||
Great mod! Uploaded and installed in 30 seconds!! Works like a charm.
Some questions: - How do I change the design of this? I really like the way it is displayed on http://www.shawnc.org/ with multiple gradient background images. - How do I add other parts of my site to this? I'd like to add my Wiki structure, Photopost Pro and LDM structure to this. - Is there a way to pull the categories from Photopost Pro and LDM? Could you please add instructions, how to do this? |
#91
|
|||
|
|||
Just to clarify the problem as I see it....
The CMPS module starts out huge and blank, this is due to the "hidden" treemenu which starts fully expanded. As the page loads the menu is filled and condensed, causing the module to shrink to its normal size. All methods for "hiding" the menu don't work because the content is still there and the CMPS module is dynamically resized to accommodate it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|