vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Collapsable forums on forum home (https://vborg.vbsupport.ru/showthread.php?t=33961)

Martz 01-11-2002 11:44 PM

Ahh thank you - this is a completly different file to the one in the first post!

I'll try this.

/me skips off to bodge the forums...

dabean 01-11-2002 11:46 PM

arrg I'm stupid the readme dated before this post has a misplaced line, (i can only bliam lazyness, copy paste and doing html in notepad ;))

}
dostatesaveXP(itemID,1);

should read

dostatesaveXP(itemID,1);
}

This should fix the save problem.

Please do not use starbug's attachment as it contains this error, I have changed the name and fixed the above error in the attachment on the first post.

StarBuG 01-11-2002 11:52 PM

You are great!!

This corrected the error!!

(By the way: The code to correct is in the forumhome_expandjscript template at the end! ;))

Thank you so much!

Now everything works fine!!

hehe

So it was good I have "beta" tested the hack ;)

Greetings

StarBuG

dabean 01-12-2002 12:12 AM

hehe,starbug. I really need to work on packaging releases ;)

Steve, I've looked over the hack you have installed change the forumexp function in forumhome_expandjscript to read.

[change included in release]

jminiman 01-12-2002 12:18 AM

Quote:

Originally posted by dabean


You need to have a forum depth set to at least 2.
This hack can only collapse forums that would normally appear on the forum home page.

Done, but the collapse/expand icons don't show up as they should. What now?

jminiman 01-12-2002 12:20 AM

Need to set the parent forums as categories--got it!

Martz 01-12-2002 12:20 AM

Should the code look like this then?

PHP Code:

for (0fitems.lengthi++) {
  
fitems[i].style.visibility="hidden";
  
fitems[i].style.display="none";
  }
 
dostatesaveXP(itemID,1);
 }
}
 
//-->
</script

As thats whats in the read me and in the text file. I see IE do the update, but it doesn't seem to take effect.

Thanks.

dabean 01-12-2002 12:28 AM

Quote:

Originally posted by jminiman


Done, but the collapse/expand icons don't show up as they should. What now?

Show up fine for me when I visited your site.. what browser you using?

jminiman 01-12-2002 12:34 AM

I got them to show up, but I much prefer the look of parent forums acting as forums, rather than categories. Is there any way to somehow expand/collapse forums? Why were categories chosen to be collapsed, and not forums? Look at my site now . . . THIS is what I want to expand and collapse. It's much prettier, I think.

I love this look, but people complain that they want to see posted-to forums.

dabean 01-12-2002 12:51 AM

jminiman: put the modifications in * forumhome_forumbit_level1_post
insted of * forumhome_forumbit_level1_nopost
then (the exact alteration is to add $expandcontract ).

martz: yes that looks correct.


All times are GMT. The time now is 07:00 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.01506 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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