vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Yahoo YUI! Treeview Menu for VBAdvanced (https://vborg.vbsupport.ru/showthread.php?t=158616)

ragtek 10-24-2007 08:45 PM

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

Dankness 10-24-2007 09:51 PM

Quote:

Originally Posted by Trana (Post 1367782)
Thanks for updating this. I am still having a problem though.

You successfully hid the tree during the page load, but the table that it sits in (the module content) is still maximized until the page loads. This is really bad when you have a lot of forums as the module window can be the entire length of the page. Is there anyway to have it load already minimized?

Yea, i see what your saying, the board i really use it on the module is at the bottom so i never noticed it, and my test board only has 3 or 4 forums to test the levels so i didnt notice, I'll reupdate again in afew days, This release I was more intersted in having it properly packaged and documented. O and removing the header template edit was important in my book and so was minimizing all that javascript with the YUI Compressor 2.2.5 saves load time. Plus its all on your server so its cacheable.

Quote:

Originally Posted by ragtek (Post 1367786)
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

Yea, i guess that was the best idea lol. One of these days Im gonna learn to listen to people :P

Axel Foley 10-24-2007 10:46 PM

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

ragtek 10-25-2007 09:02 AM

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>

so what does this do:
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

rainyleaves 10-27-2007 02:49 AM

Some category has wrong number.
See attachment.
I think the number must be 53.
Please help... :)

Thanks.

Dankness 10-28-2007 07:25 PM

Quote:

Originally Posted by rainyleaves (Post 1369510)
Some category has wrong number.
See attachment.
I think the number must be 53.
Please help... :)

Thanks.

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.

yoyoyoyo 11-06-2007 08:12 PM

Is there anyway to have this work with advanced integration, so I can display it on forumhome?

Trana 12-25-2007 10:30 PM

Quote:

Originally Posted by Dankness (Post 1367834)
Yea, i see what your saying, the board i really use it on the module is at the bottom so i never noticed it, and my test board only has 3 or 4 forums to test the levels so i didnt notice, I'll reupdate again in afew days, This release I was more intersted in having it properly packaged and documented. O and removing the header template edit was important in my book and so was minimizing all that javascript with the YUI Compressor 2.2.5 saves load time. Plus its all on your server so its cacheable.

Any chance you have figured this issue out? I would like to use this mod on my board but the resizing thing on page load looks a bit lame.

Any help would be appreciated!

Alfa1 12-26-2007 01:59 PM

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?

Trana 12-26-2007 07:57 PM

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.

ragtek 12-26-2007 08:25 PM

Quote:

Originally Posted by Trana (Post 1409649)
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.

Thats not right.
As i wrote you in the pm and on my page http://www.developer-network.org/web...razy-idee.html if you make it this way, the modul is expanden but from beginn hidden( nobody sees anything just look at my example http://www.developer-network.org/sandbox/treenav3.php )
when the load is over and the page is ready it appears
so nothing is to big and destroys the design

Alfa1 12-26-2007 08:27 PM

Indeed, that is a strange effect. I have the same as well, while I just imported the module, without changing anything.

ragtek 12-26-2007 08:31 PM

anybody have a link for me where i can look for the "effect" ?
maybe i'm missunderstanding something

Alfa1 12-27-2007 01:49 AM

Quote:

Originally Posted by ragtek (Post 1409671)
anybody have a link for me where i can look for the "effect" ?
maybe i'm missunderstanding something

Sure, just look at the example listed in your opening post:
http://www.shawnc.org/
Load the page first. Then hit F5 and watch what it does.

Edit: I just checked out several sites using YUI, including yahoo! answers. All seem to have this effect.

Trana 01-02-2008 12:18 AM

The effect is a lot more pronounced if you have a lot of forums and the page takes a second or two to load.

Alfa1 01-20-2008 04:07 PM

Could you please consider adding this for NuWiki and vbblog?

ragtek 01-20-2008 04:10 PM

what do you exactly mean with adding?
put vbblog & nuwiki into it?

Alfa1 01-20-2008 07:52 PM

No, I mean adding multiple YUI trees. One for each part of the site.
I hope this will make it more clear:

Forum
forum YUI tree
Blog
vbblog YUI tree
Wiki
NuWiki YUI tree

vbboarder 08-28-2008 01:58 AM

Thanks for this cool mod! Works with VB 3.7.3 & VBA 3.0.1 - tested on both Firefox 2 & IE7 - great work!
BTW, is this mod still supported? This mod hasn't received a post in over 6 months. I'm sure you would get lots more installs if you posted this mod in the VB 3.7 Mod section.

Cocko 09-24-2008 10:16 PM

Not sure, but I think I have installed this module months ago.
At last it was not acitve. Maybe there were errors befor.

I just have tried a re-install, and got blank screen.
vB 3.7.3, vBa 3.01.

Blackhat 09-30-2008 08:02 PM

can I use this on my sidebars on the forum index ? (no VBA)

Alfa1 08-31-2009 06:17 PM

This still works for vb 3.8.4 and the latest CMPS.

Does anyone know how to add any of the below:
  • blog categories
  • groups
  • threads from a specific forum
  • Photopost categories
  • Link and Download Manager categories.
EDIT: This does not work on IE8


All times are GMT. The time now is 01:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01681 seconds
  • Memory Usage 1,768KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete