View Single Post
  #1  
Old 08-29-2007, 06:20 PM
Knightmane's Avatar
Knightmane Knightmane is offline
 
Join Date: Dec 2005
Location: USA
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Open Category; Others Auto-Close

(Please forgive the title, as I wasn't sure what to title this thread to get the point across.)

This mod request is going to be difficult to describe, but I am going to do my best to make it clear. I tried to search for this on the board, but nothing seemed to be what I was specifically looking for.

This mod is extremely useful for anyone who owns/runs a huge board with many forum categories.

HOW IT WOULD WORK:

Because the forumhome index page is your public image on the Internet, you want your guests to see a nice clean presentation. (This is good if you don't use a portal.)

My idea is this... primarily, the only forum category that would be open is the last one the member had open at the time. To reduce clutter on the forumhome, what I am suggesting is a modification to the affect that if you click to open another category, any others would automatically close (collapse). And this would only occur on the forumhome page.

EXAMPLE:

If Forum 1 is open, then 2 and 3 would auto-collapse to reduce page-viewing clutter.

Cat: Forum 1 (open)
Cat: Forum 2 (collapsed)
Cat: Forum 3 (collapsed)

If you then clicked on forum 3, then forum 1 would auto-collapse.

Cat: Forum 1 (collapsed)
Cat: Forum 2 (collapsed)
Cat: Forum 3 (open)

This would assist in making page loading times on the forumhome quicker, as there wouldn't seem to be as much there to open, and would allow you to get to what you wanted to access quicker.

Code:
(Many might argue: ...but how would people know what was posted in a collapsed forum without taking the time to open it? I personally use the Top X Statistics plugin. Problem solved. ;) )
Does anyone know of a modification that does what I am suggesting for this case? If so, where can it be found? If not, then I would like to request that someone create it, please.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01234 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete