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-13-2002 04:41 PM

Yup, it works great for me too!

5 Stars

incursio 01-13-2002 07:15 PM

Quote:

Originally posted by dabean
incursio, does it remeber setting for any section you open after collapsing it?

as a test try http://<yourforums>/updateindex.php?fid=<categoryid>&val=0 where categoryid is a forum you have collapsed. That should expand the the forum.

Yes, that works fine. I load the URL you mention above in one window, then refresh my forums home page in another, and all loads fine.

However, the problem is still there. Take a look:

http://www.wetcanvas.com/forums

Lucky 01-13-2002 07:19 PM

Great hack!

Thanks.

dabean 01-13-2002 08:04 PM

Quote:

Originally posted by incursio


Yes, that works fine. I load the URL you mention above in one window, then refresh my forums home page in another, and all loads fine.

However, the problem is still there. Take a look:

http://www.wetcanvas.com/forums

Thats a old version of the hack.. and by the look of the javascript possibly the orginal db release.. download the latest "3b" release or alternatively.
Change
}
dostatesaveXP(itemID,1);
}

to
dostatesaveXP(itemID,1);
}
}


This problem was cured in later releases.

Sven 01-17-2002 06:48 PM

Possible enhancement?

What about adding an option into the user's cp so they can pre-define which categories to collapse by default?

I really don't know how to code it and I appreciate the current capabilities - but due to the lack of IE to save the settings this would be a great option!

Shenlong 01-17-2002 08:31 PM

figured id try again, this script doesnt work on v2.2.1, just tried it and a blank page is showing, heres my URLs

Index.PHP
Forum.PHP

dabean 01-17-2002 09:48 PM

Quote:

Originally posted by Shenlong
figured id try again, this script doesnt work on v2.2.1, just tried it and a blank page is showing, heres my URLs

Index.PHP
Forum.PHP

Upload getbrowser.php to your admin directory
Upload getforumview.php to your admin directory

Once you've done that it will work.. as there is nothing syntatically wrong the code.

Shenlong 01-17-2002 10:27 PM

Hehe, I did, I did. Theres no error coming up, just the image isnt coming up, here is my templates too:

forumhome_expandjscript
forumhome_expandcontract

dabean 01-17-2002 10:40 PM

Quote:

Originally posted by Shenlong
Hehe, I did, I did. Theres no error coming up, just the image isnt coming up, here is my templates too:

forumhome_expandjscript
forumhome_expandcontract

and you have edited forumhome_forumbit_level1_nopost or forumhome_forumbit_level1_post and forumhome_forumbit_level2_post?

Shenlong 01-17-2002 10:45 PM

aye aye matey! I have, images just wont show up, I will reupload and try again, I got all the files saved in a folder, and didn't even re-edit the templates to switch them back to normal

wait, i was supossed to edit forumhome_lvl_one_post?

the instructions only say nopost


All times are GMT. The time now is 10:52 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.01267 seconds
  • Memory Usage 1,741KB
  • 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_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