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.


All times are GMT. The time now is 02:26 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.01312 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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