Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Yahoo YUI! Treeview Menu for VBAdvanced Details »
Yahoo YUI! Treeview Menu for VBAdvanced
Mod Version: 1.30, by Dankness (Member) Dankness is offline
Developer Last Online: Sep 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (6 votes - 5.00 average) Installs: 34
Released: 24 Sep 2007 Last Update: 23 Oct 2007 Downloads: 268
Not Supported Auto-Template Additional Files  

//--------------------------------------------------------------------
// 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_OUT);
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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Newsfeed with Selector menu on vbAdvanced CMPS tomshawk vBulletin 3.0 Full Releases 33 14 May 2005 23:40

Comments
  #2  
Old 24 Sep 2007, 11:11
Dankness Dankness is offline
 
Join Date: Dec 2006
Real name: ShawnC
FIRST REPLY FOR LATER INFORMATION


DEMO SITES :

www.srl-forums.com - Look at the very bottom left
www.earthbeans.org - Its not VB but i used the menu here first ( and its using MODX for a CMS )


EDIT : 2 Screenshots One Open and one Closed




Last edited by Dankness; 24 Sep 2007 at 11:39.
Reply With Quote
  #3  
Old 24 Sep 2007, 11:21
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
hey this sounds interesting. I hate when people ask me this, but do you have a screenshot :P
Reply With Quote
  #4  
Old 24 Sep 2007, 11:23
Dankness Dankness is offline
 
Join Date: Dec 2006
Real name: ShawnC
Originally Posted by Dream View Post
hey this sounds interesting. I hate when people ask me this, but do you have a screenshot :P
Screenshots added.

Last edited by Dankness; 24 Sep 2007 at 11:40.
Reply With Quote
  #5  
Old 24 Sep 2007, 12:24
IrPr IrPr is offline
 
Join Date: Mar 2005
Real name: MoOZ
Long time lookin for such modification; cuz of my high forum depth tree

/me downloads and clicks install
Cheers
Reply With Quote
  #6  
Old 24 Sep 2007, 13:28
soulface's Avatar
soulface soulface is offline
 
Join Date: Oct 2005
Real name: Eros
nice but im getting this db error when importing the .module file

Database error in vBulletin 3.6.8:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO adv_modules
(`0`, `active`, `userperms`)
VALUES
('', '1', '5,6,7,14,2,17,3,16');

MySQL Error : Unknown column '0' in 'field list'
Error Number : 1054
Date : Monday, September 24th 2007 @ 02:27:17 PM
Script : http://www.xxxxxxxxx.net/admincp/vba...o=uploadmodule
Referrer : http://www.xxxxxxxxx.net/admincp/vba...hp?do=download
IP Address :
Username :
Classname : vb_database
Reply With Quote
  #7  
Old 24 Sep 2007, 13:38
Dankness Dankness is offline
 
Join Date: Dec 2006
Real name: ShawnC
Originally Posted by soulface View Post
nice but im getting this db error when importing the .module file
What version of VB Advanced are you using? I use the older one since i havent upgraded recently, too many php edits to try and upgrade. You dont really need to import the module thou here's how to do it without the module

FTP Upload all the files in the directory

Inside the Zip file is a file named adv_portal_treemenu.tpl

Open this, Create a new template in your style and paste this data in it

Next Create a New Module in VBAdvanced, Select PHP module

Then For php file to include, select treemenu.php

and for template to use select adv_portal_treemenu

and select yes for Shell

save your module and enjoy.
Reply With Quote
  #8  
Old 24 Sep 2007, 14:02
ragtek's Avatar
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
could you make it for this system also: http://demo.vbcms.de/vbcms.php *g*?

i've tried to change the code, but then my whole site was white
__________________
my addons: http://ragtek.github.com
Reply With Quote
  #9  
Old 24 Sep 2007, 14:15
soulface's Avatar
soulface soulface is offline
 
Join Date: Oct 2005
Real name: Eros
Originally Posted by Dankness View Post
What version of VB Advanced are you using? I use the older one since i havent upgraded recently, too many php edits to try and upgrade. You dont really need to import the module thou here's how to do it without the module

FTP Upload all the files in the directory

Inside the Zip file is a file named adv_portal_treemenu.tpl

Open this, Create a new template in your style and paste this data in it

Next Create a New Module in VBAdvanced, Select PHP module

Then For php file to include, select treemenu.php

and for template to use select adv_portal_treemenu

and select yes for Shell

save your module and enjoy.
Im using vB3.6.8 & vBA 3.0 RC2..

ok now added this mamually as u said.. & when i go yo my cmps im getting this error..

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 80

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 80

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 80

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 80

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 92

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 92

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 92

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 92

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 80

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /modules/treemenu.php on line 80
Reply With Quote
  #10  
Old 24 Sep 2007, 14:55
Dankness Dankness is offline
 
Join Date: Dec 2006
Real name: ShawnC
Originally Posted by ragtek View Post
could you make it for this system also: http://demo.vbcms.de/vbcms.php *g*?

i've tried to change the code, but then my whole site was white
Is that a free CMS? I've never seen it before. I might eventually make it one day when i have some free time.

Originally Posted by soulface View Post
Im using vB3.6.8 & vBA 3.0 RC2..

ok now added this mamually as u said.. & when i go yo my cmps im getting this error..
Apparently, VBA 3.0 has been changed alot more then i thought it has. Open your treemenu.php file located in

forum/modules/treemenu.php

Replace this line with this Line


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


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




Basicly you just add a ,0 to the line if that don't work then i'll have to look at it later today when i Have some time to install VBA 3.0 on a test board, personally i don't like the way everything was changed on it so i'm not gonna install it on my personal board.
Reply With Quote
  #11  
Old 24 Sep 2007, 15:09
elmati elmati is offline
 
Join Date: Mar 2007
really nice addon!
i dont use yui, i use mootools but it's incompatible with vbulletin

thx a lot m8
Reply With Quote
  #12  
Old 24 Sep 2007, 15:15
ragtek's Avatar
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Originally Posted by Dankness View Post
Is that a free CMS? I've never seen it before. I might eventually make it one day when i have some free time.
No.
Its a commerzial one but i could give you the "syntax" for a modul, how it have to be.
__________________
my addons: http://ragtek.github.com
Reply With Quote
  #13  
Old 24 Sep 2007, 15:17
Dankness Dankness is offline
 
Join Date: Dec 2006
Real name: ShawnC
Originally Posted by elmati View Post
really nice addon!
i dont use yui, i use mootools but it's incompatible with vbulletin

thx a lot m8

I started using YUI afew months before Vbulletin switched to it, then when vb switched I was in heaven This was originally wrote using a Dynamic Drive JS, then I rewrote it with YUI for a ModX CMS site I had, then i finally put it on my VB last night and decided it looked awesome and figured i should release it I love YUI there Documentation is awesome, and Yahoo actually uses there stuff so its tested in a real life tests.
Reply With Quote
  #14  
Old 24 Sep 2007, 15:29
elmati elmati is offline
 
Join Date: Mar 2007
do u try mootools? it's really simple and works fine
i don't know too much of js so, i can't figure out how to take mootools workin with vbulletin

otherwise im trying YUI rite now

Thanks for this, i'll try to add images, like folders
Reply With Quote
  #15  
Old 24 Sep 2007, 16:05
ragtek's Avatar
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
i think yui is "better" because it's implemented in vb and it will be more implemented in future
http://www.vbulletin.com/forum/showthread.php?t=243088
__________________
my addons: http://ragtek.github.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod 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 22:29.

Layout Options | Width: Wide Color: