vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Showing contents of child levels (https://vborg.vbsupport.ru/showthread.php?t=74782)

uReside.com 01-21-2005 03:25 AM

Showing contents of child levels
 
Is it possible to show the contents of only one sub-level down. such ass

Texas
--Dallas
----Irving
----Las colinas
----Valley ranch
--Ft. worth
--Austin
--Houston

and then the forums display show

Texas
Sub-Forums: Dallas, Ft. Worth, Austin, Houston

Instead of:
Texas
Sub-Forums: Dallas, Irving, Las Colinas, Valley Ranch, Ft. Worth, Austin, Houston

ok, nevermind, didn't think i could get it in forum display template, but i did

Marco van Herwaarden 01-21-2005 03:53 AM

Also have a look at your vB settings. You can set the depth to show sub forums there

uReside.com 01-21-2005 03:56 AM

now if i could just add a column to all my forums and make it searchable :D i'd be doing good :D

WetWired 01-21-2005 12:25 PM

You also need to create forumbits for the additional levels.

uReside.com 01-21-2005 03:52 PM

what are forumbits and what do they do?

WetWired 01-21-2005 07:23 PM

The forumbits are the templates for displaying each forum. The default vB3 style only has these for the first two levels. If you increase the number of levels to 3, you need to define how the third level will look. The level 1 and level 2 forumbits can be found under either forumhome or forumdisplay (there is a _post and _nopost version for each, _nopost is used for catagories, _post is used for forums). You need to add new templates with the same names but with a 3 instead of a 2 or 1, and they need to contain much of the same stuff in them. Also note that going to three levels will add 1 or 2 queries to forumhome(depending on whether you have level 3 catagories or not) since templates are only cached for the first two levels.


All times are GMT. The time now is 02:12 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.00960 seconds
  • Memory Usage 1,720KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete