![]() |
Hide sub-forums for some forums on main page?
Is there any way to hide the subforums for a particular forum on the main page FORUM HOME only? For example I have a forum with a quite lot of subforums under it. I want to hide them and make that forum look as if it does not have any subforums ( on the home page ) but when you click it...the subforums show there normally as they would do.
Thanks in advance! |
Anyone?
|
anyone ?
|
There are 4 templates you have to edit for each style...
forumhome_forumbit_level1_post forumhome_forumbit_level1_nopost forumhome_forumbit_level2_post forumhome_forumbit_level2_nopost In each make this edit: Find: Code:
<if condition="$show['subforums']"> Code:
<if condition="$show['subforums'] AND $forum[forumid] != X"> |
sorry for digging this old thread, but I was searching for something similar and found this! which will comes handy. thanks for the tip.
|
Quote:
Thank you! |
You don't need to code anything, in your admincp>forum listings display options change this:
Depth of Sub-Forums If you have forums below the depth specified in the 'Depth of Forums' settings above, you can display them as sub-forum links in each forum's display area. Set this value to 0 if you want to display no sub-forums. To zero :) |
Quote:
That applies to ALL forums. We're only wanting to not display the subforums of certain forums.. |
My apologies, still bleary eyed this morning :)
|
Quote:
|
All times are GMT. The time now is 03:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|