PDA

View Full Version : Forum Home Enhancements - YUI! Site Navigation Module for VBA 3 RC2


Dankness
10-29-2007, 10:00 PM
//--------------------------------------------------------------------
// YUI Yahoo Site Navigation Module for VBA v3 RC2
// by ShawnC
// http://www.shawnc.org
//--------------------------------------------------------------------

//--------------------------------------------------------------------
//--> What this Module Does
//--------------------------------------------------------------------

Example Screenshot of what this Does is at

http://www.shawnc.org/images/VB-Releases/SiteNavExample.jpg

This Module will Replace the Default VBulletin Advanced Site navigation
module with a Treemenu, where you Can Expand and Contract the different
levels. Please note, You must fill in the Order and Level in the correct
fashion. You will edit all settings to this module through the

AdminCP -> Edit Module -> Site Navigation Module

Please note, The Order and Level settings are Important!

See example Screenshot at

http://www.shawnc.org/images/VB-Releases/EditSettings.jpg


//--------------------------------------------------------------------
//--> New Installation Instructions
//--------------------------------------------------------------------

Step 1)

FTP Upload the Upload Directory inside of this Package to your Forum Root directory

If you already use my YUI Treemenu Forum Navigation Module then you will not need to repeat this step.

Step 2)

Import the module file into your AdminCP

Step 3)

Edit your Module and have fun.

//--------------------------------------------------------------------
//--> Upgrade Instructions
//--------------------------------------------------------------------

Just Reimport the Module File and it will all be fixed.

//--------------------------------------------------------------------
//--> ChangeLog
//--------------------------------------------------------------------

--> v1.00 --> First Version
--> v1.10 --> Fixed bug with Menu with Deeper then 2 Levels

//--------------------------------------------------------------------
//--> 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.


For Those Who Can Not See the Screenshots, You may View them Here

Example of What It Looks Like
(http://www.shawnc.org/images/VB-Releases/SiteNavExample.jpg)

Example of Editing Settings to make the Menu (http://www.shawnc.org/images/VB-Releases/EditSettings.jpg)

Dankness
10-30-2007, 09:43 PM
Reserved For Future Comments

yoyoyoyo
10-30-2007, 09:58 PM
Example Screenshot of what this Does is at

:confused:

SEOvB
10-30-2007, 10:29 PM
Screenshots done work.

any demo?

cygy2k
10-30-2007, 10:46 PM
Not working for me. I upload the files and the module shows on the site but without any content in it and I get a script error that "YAHOO" is invalid. IE 7

Lionel
10-31-2007, 12:26 AM
I tried to upload and then I realized it was about to overwrite templates, current navigation module... Can the 2 coexist together? I don't want to loose the vbadvanced default.

Dankness
10-31-2007, 12:29 AM
Sorry guys, I forgot to uncomment the Javascript Include files from it before Releasing, Everything should work fine now Make sure you Upload the files to your Forum Root thou or It will not work.

Basicly this module will Turn the Standard VBA Site navigation Module into a Tree menu just like my Forum treemenu does. If anyone else has problems instaling please comment, I will be watching this thread for the next few hours to get any packageing issues solved today. This should install directly out of the box with no template edits honestly.

Please Note, This will only work on VBA RC 2 the newest version. I did not test or write it for any older versions and can not support them sorry.

Dankness
10-31-2007, 12:31 AM
I tried to upload and then I realized it was about to overwrite templates, current navigation module... Can the 2 coexist together? I don't want to loose the vbadvanced default.

ATM No the 2 Can not Co-Exist together, This is a replacement for the Default Site navigation Module. If you do not like it in the VBA Package File you downloaded to install VBA the Original modules are inside of it and you can reimport them if needed.

I Wrote this really for 1 persons needs and it fulfills his needs, it might fulfill yours it might not.

Lionel
10-31-2007, 12:57 AM
This is really too bad. I wanted to use this just for a manual and was pretty excited when I saw it :-(

Dankness
10-31-2007, 01:12 AM
This is really too bad. I wanted to use this just for a manual and was pretty excited when I saw it :-(

possibily in the future I will release another version that doesn't require overwriting the current site nav. ATM I have not found a way to make a module through VBA and have it have adjustable settings in the ADMINCP though. I haven't really looked that hard for a way but so far I donnu how so I just overwrote it sorry.

Lionel
10-31-2007, 01:20 AM
I started to change all the names then I decided to pick on Brian's brain and asked over there.

yahoooh
10-31-2007, 02:13 AM
thanks

bigcurt
10-31-2007, 03:33 AM
Looks great; I will think about installing this. Thanks for your submission.

Dankness
10-31-2007, 03:27 PM
I started to change all the names then I decided to pick on Brian's brain and asked over there.

If you can find any information on making new modules that have editable settings in the AdminCP through VBulletin Advanced, please share the wealth as I have been tryin to figure out how to do that for along time now and have found no information on if it is possible at all.

The only way I can think to do it would be to actually edit Database tables maybe and PHP core files which I will not release a public modification that requires that mess due to the fact of tryin to support it.

sweeps78
10-31-2007, 07:12 PM
Excellent work Dankness! This is exactly what I was looking for:) I have it installed and it's running great. I'd rather this write over the default, but that's my $0.02.

BTW, about creating new modules. It talks about it in the vBa manual, have you taken a look at that? I hardly understand any of it (not a PHP coder by nature), but it might help you out.

It's a pain in the ass to find, so here's the direct link:

http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4

You'll need to log in with your account info.

Dankness
11-01-2007, 06:42 AM
Excellent work Dankness! This is exactly what I was looking for:) I have it installed and it's running great. I'd rather this write over the default, but that's my $0.02.

BTW, about creating new modules. It talks about it in the vBa manual, have you taken a look at that? I hardly understand any of it (not a PHP coder by nature), but it might help you out.

It's a pain in the ass to find, so here's the direct link:

http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4

You'll need to log in with your account info.


Thanks for the link, I never did see that before. Learned they had a nice array of forumpermissions already but it did not have any information on actually creating modules that have there own settings. I am starting to wonder if this is possible or not.

sweeps78
11-01-2007, 12:19 PM
I'd post over in the vBa CMPS v3.0 forums and ask them:

http://www.vbadvanced.com/forum/forumdisplay.php?f=136

If anyone would know, they would:)

sweeps78
11-06-2007, 08:19 PM
Hey Dankness!

When the text for a link is too long for a line (automatically moving the remainder text to the next line), the result is there is a significantly decreased amount of space between the items:

72067

How would I add a little bit more of a space between entries? Basically, if you take a look at the attachment, the "yes" part is what I would like to see for the "no" part:)

yoyoyoyo
11-06-2007, 11:20 PM
any news on trying to get this to co-exist with the existing navigation module?

sweeps78
11-07-2007, 12:47 PM
Maybe it's just me, but I don't understand why some insist on this being able to co-exist with the existing nav module... This module is intended to take place of the existing module. It acts the same exact way as the existing, except that it has a nice collapsible tree feature added to it. If you install it and don't like it, then just remove it and reinstall the original, tons easier than asking the coder to make it co-exist;) I don't mean this as a flame or anything, I'm just a little confused and thought there maybe a reason that I'm missing why people are asking this.

At any rate, I'd highly recommend anyone check out this module! There are a couple of small bugs, and Dankness is already addressing them.

sensimilla
11-25-2007, 03:42 PM
Didnt worked for me.. I get blank module somehow.

Magnumutz
11-26-2007, 06:08 PM
Works for me :)
Thanks !

dvbusuario
12-21-2007, 04:04 PM
Didnt worked for me.. I get blank module somehow.

Mee too!

Any Help me?

yotsume
08-14-2009, 11:45 PM
Maybe it's just me, but I don't understand why some insist on this being able to co-exist with the existing nav module... This module is intended to take place of the existing module. It acts the same exact way as the existing, except that it has a nice collapsible tree feature added to it. If you install it and don't like it, then just remove it and reinstall the original, tons easier than asking the coder to make it co-exist;) I don't mean this as a flame or anything, I'm just a little confused and thought there maybe a reason that I'm missing why people are asking this.

At any rate, I'd highly recommend anyone check out this module! There are a couple of small bugs, and Dankness is already addressing them.

The site nav default mod can be copied many times and made active on different pages, renamed and new links added on different pages.

EDIT: Can this mod be copied multiple times and set to be active on different pages with different content in each menu like the default site nav module?

yotsume
08-16-2009, 03:34 AM
!!!WARNING!!!

OH MY!!!! Be warned this mod not only overrights the default vba site nav module... you can only have one instance of this module on your entire site!

MEANING!!! If you have custom nav menus on different pages you will loose allof them and can only have one module enabled at a time.

HELLO! Way Bad! Developer how about an update because your site nav module is so needed in the whole vba community!

If you try and copy the module and rename the scond one and enable it both modules will not function and be blank! :(

MAJOR BUMMER! Because this is the best site nav by far because its a collapsing tree!

Alfa1
09-01-2009, 01:20 AM
How do I decrease the font in the navigation?

I have 4 columns, including a top bar:

-------------------------
|________1________|_4_|
|_2______|___3____|_4_|
--------------------------

Column 4 is my YUI Site navigation module.
My navigation has a lot of links in it. Whenever a navigation option is expanded, this increases the space above and below column 1, so it pushes columns 2 & 3 to the bottom. When several options are expanded this messes up the whole page.

What can be done to resolve this?

Does anyone know how to add custom icons to the navigation module, like discussed here (http://developer.yahoo.com/yui/examples/treeview/customicons_log.html)?
And how to add alt tags, like discussed here (http://developer.yahoo.com/yui/examples/treeview/tv_tooltip.html)?

It would be useful to dynamically load data, as discussed here (http://developer.yahoo.com/yui/examples/treeview/dynamic_tree_log.html), because this will make the navigation load much quicker. Users will only need to see the parts of the tree that they select. The rest does not need to be loaded with every page load. this will also avoid the weird effect that this module has, that makes the whole module expand when the page loads.

Alfa1
02-17-2011, 03:07 PM
Didnt worked for me.. I get blank module somehow.

Mee too!

Any Help me?
I get the same when not logged in. But when I refresh the page, it works. (FF3) When logged in, it works well.

Does anyone know what causes this or what could solve this?