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 |
#32
|
|||
|
|||
silly me, my problem was with noscript blocking the yahoo.. hehe fixxed now. Thanks again for the great mod
|
#33
|
|||
|
|||
This is awesome so far I did the recommended php templet and also changed that line [$forums_array = array(0,0);] in the file and still get these errors
Quote:
|
#34
|
|||
|
|||
Quote:
Make sure the Javascript is being included, It appears your javascript is not being included. therefore the menu is not being transformed into the tree and left as the list. Quote:
Hmm, what version of VBulletin and VBAdvanced are you using? Try changing the 0,0 to to Subforum ID numbers and see if the error still exists? I did not design this module for the new VBA 3.0 but I don't see why it would not work with it. |
#35
|
|||
|
|||
Powered by vBadvanced CMPS v3.0 RC2 vb is 3.6.8
www.blizzfusion.com Also if you click on any of the urls it takes you to page not found. I tried changing it still nothing. |
#36
|
|||
|
|||
Quote:
|
#37
|
|||
|
|||
ok so I just put a redirect html code into index.php file in public_html folder and moved my portal.php to forums and redirected to that now to just get rid of those errors at the top of the page other then that everything works good.
Any idea on those 2 error codes? I checked those 2 lines but not sure whats wrong. Line 80 Quote:
Line 92 Quote:
|
#38
|
|||
|
|||
Quote:
what does line 17, look like on your script? $forums_array = array(36,109,164,207,221,224); It should be something like that, but yours probably just has a zero? try adding some forum ids to it and see if it goes away? What this array is for, Is your Level 2 subforums that you dont want a link to, IE Level 2 forums that are not forums but catagorys. EDIT : Included is a new treemenu.php file, replace the one in your modules directory and rename this one to treemenu.php, It does not have support for Level 2 and Level 3 subforums, and just provides a link to every thing Below level 1. |
#39
|
|||
|
|||
file uploaded and renamed to treemenu.php errors went away but nothing shows now. I mean no module no links
|
#40
|
|||
|
|||
Quote:
Thanks. Ps: How can I excluding specify forums? * CMPS 3.0rc2 + VB3.68 |
#41
|
||||
|
||||
Same errors,
Last version of vbulletin and vBa. Some news about? tks in advance Beduino Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|