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)

Evolution06 09-27-2007 05:01 AM

Quote:

Originally Posted by rainyleaves (Post 1347918)
Works great!!
Thanks.

Ps: How can I excluding specify forums?

* CMPS 3.0rc2 + VB3.68

How did you get yours to work? I tried that and mine still didn't work and I also used the file that was uploaded and now the errors went away but it doesn't show.

Dankness 09-27-2007 05:08 AM

Quote:

Originally Posted by rainyleaves (Post 1347918)
Works great!!
Thanks.

Ps: How can I excluding specify forums?

* CMPS 3.0rc2 + VB3.68

Well, you can't atm i didnt code that into it. The original purpose of this module was to only include forums from a certain parent ID. So the only true method to do this would be to open the treemenu.php file, in the begining there is a variable for $titleforum = -1 or something of that nature, You can change the -1 to a certain Parent Forum ID other then that there isnt a method of excluding say Forum 2 from the list sorry wasnt needed nor do I have time to add it as this module serves my purpose as it is.

Quote:

Originally Posted by Evolution06 (Post 1347966)
How did you get yours to work? I tried that and mine still didn't work and I also used the file that was uploaded and now the errors went away but it doesn't show.

Are you sure your using the proper style id? IE You added the template change to Style 3 but now your looking at your page under Style 1? I just uploaded a new module for VB 3.0 that does work as I just installed VB 3.0 to test it. If your left with a list of forums that dont open or close then your forgot to edit your head include.

rainyleaves 09-27-2007 05:36 AM

Quote:

Originally Posted by Evolution06 (Post 1347966)
How did you get yours to work? I tried that and mine still didn't work and I also used the file that was uploaded and now the errors went away but it doesn't show.

First, My CMPS index is in public_html directory( I didn't move CMPS index to forum's directory like you.).

Second, I edited treemenu.php
Code:

Find all:
forumdisplay.php?f

All Replace:
/forums/forumdisplay.php?f

*red code is mean your forum's main directory's name.

Third, I edited headinclude code.
Code:

<script src = "/forums/clientscript/yui/yahoo-dom-event.js" ></script>

<link type="text/css" rel="stylesheet" href="../forums/clientscript/yui/assets/tree.css">
<script src = "/forums/clientscript/yui/treeview.js" ></script>
<script src="http://yui.yahooapis.com/2.3.1/build/animation/animation-min.js"></script>

*red code is mean your forum's main directory's name.
* Green code is mean, tree.css need full pass or '..'. Why? I don't know. hahaha :) .

Note: This is just my case!!!

Luck !!

ragtek 09-27-2007 06:22 AM

hm
the part with ../forums/ is strange
just clientscript/yui.... isn't working? are you sure???

are you sure that you have uploaded it right?

rainyleaves 09-27-2007 06:25 AM

Yes, I'm sure.
Works perfectly with ../forums/.
just clientscript/yui.... CSS isn't working.
I don't know why.

Dankness 09-27-2007 05:21 PM

theres a option to do that stuff in vba...
In The Older VBA the option in the admincp was Rewrite Filenames or something, and clientscript was already picked. Just add forumdisplay.php to it and it should automaticlly rewrite the urls. I guess in the next release I'll go ahead and rewrite all the url's to formdisplay to start with its already a variable, I just didnt need it on my install so didn't feel it was worth time adding.

Evolution06 09-27-2007 05:27 PM

Awesome! with the new module file you uploaded I downloaded both zip files overwrote all files uploaded the module and it works perfect!! haha nice mod and nice job awesome support!! thanks, www.blizzfusion.com check it out. Keep in mind I just used all files in the 2 zip folders in the first post not the one you edited in the reply on the 3rd page did not have to do any edits with the new module you uploaded.

Powered by vBadvanced CMPS v3.0 RC2
Powered by vBulletin? Version 3.6.8

maxicep 09-27-2007 05:32 PM

thanks for update.

i got a question ?
navigation showing all forums and subforums before to completely load.
this showing so bad :(

Evolution06 09-27-2007 09:42 PM

Quote:

Originally Posted by rainyleaves (Post 1347997)
First, My CMPS index is in public_html directory( I didn't move CMPS index to forum's directory like you.).

Second, I edited treemenu.php
Code:

Find all:
forumdisplay.php?f

All Replace:
/forums/forumdisplay.php?f

*red code is mean your forum's main directory's name.

Third, I edited headinclude code.
Code:

<script src = "/forums/clientscript/yui/yahoo-dom-event.js" ></script>

<link type="text/css" rel="stylesheet" href="../forums/clientscript/yui/assets/tree.css">
<script src = "/forums/clientscript/yui/treeview.js" ></script>
<script src="http://yui.yahooapis.com/2.3.1/build/animation/animation-min.js"></script>

*red code is mean your forum's main directory's name.
* Green code is mean, tree.css need full pass or '..'. Why? I don't know. hahaha :) .

Luck !!

Well for some reason whenever I try to save treemenu.php I get this errror: (its only when trying to save treemenu even if I don't do any edits to it.. it still does it.. I have tried other files they save fine.

PHP Code:

open treemenu.php failed: Permission denied at cpanel.pl line 492
    Carp::croak('open treemenu.php failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1299
    Cpanel::Fileman::fmsavefile('/home/bzfusion/public_html/forums/modules', 'treemenu.php', '<?php^M^J// ++====================================================...', '') called at cpanel.pl line 492
    main::__ANON__('/home/bzfusion/public_html/forums/modules', 'treemenu.php', '<?php^M^J// ++====================================================...', '') called at cpanel.pl line 1479
    main::exectag('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...') called at cpanel.pl line 4376
    main::dotag(undef) called at cpanel.pl line 4265
    main::cpanel_parseblock('SCALAR(0x8f8bd70)') called at cpanel.pl line 4219
    main::cpanel_parse('GLOB(0x91ae3f0)') called at cpanel.pl line 1043

Edit: I got it I just edited the file then reuploaded it you can just add forums/ instead of /forums cause it add's the first / by default also you don't need to add /forums to you headinclude cause I didn't do it and it seems to work good. But thats just me really that might be why you can't clientscript/yui/yahoo-dom-event.js or whatever.

Dankness 09-27-2007 10:13 PM

Quote:

Originally Posted by maxicep (Post 1348402)
thanks for update.

i got a question ?
navigation showing all forums and subforums before to completely load.
this showing so bad :(

Thats because this mod uses Progressive Enchantment to Redesign a unordered list of your forums. This is the markup and after the javascript hits it turns it into a nice list. Unfort there isnt much you can do about that except remove the module or change the CSS so it looks better without the javascript in place. Or if you search around enough im sure you can figure out a simple way to check if there have a DOM enabled browser and if not then don't display the module but that defeats the purpose of this, in that when a search engine spiders your page, there is a easy to navigate list of links to all your inner forums within 1 click away.


All times are GMT. The time now is 09:03 AM.

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.01488 seconds
  • Memory Usage 1,757KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (6)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