| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ C ] Hide only certain subforums? | |
|---|---|
| Tweet Topic Started: Jan 6 2018, 12:40 PM (252 Views) | |
| Ismailov | Jan 6 2018, 12:40 PM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
Is it possible to hide one set of subforums while leaving others viewable? For example, on my forum the Off-Topic section (viewable to registered users) has two subforums. What if I wanted to prevent them from showing on the front page, but also wanted to show subforums in other sections of the forum? |
![]() |
|
| Cory | Jan 8 2018, 04:51 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
To clarify, you want them viewable when the main forum is accessed but hidden from the index page? |
![]() |
|
| Ismailov | Jan 8 2018, 07:09 PM Post #3 |
|
Member
![]() ![]() ![]() ![]()
|
Yes, but only certain ones. For example, I want to hide all the subforums shown here: http://eregime.org/forum/124095/ It should still be possible to access them by clicking on "BoP Archives," "CountrySim Archives" or "Misc Archives," but they ideally shouldn't be viewable on the index page. However, there are other forum areas on my site with subforums shown on the index page. I'd like for these to remain viewable. Edited by Ismailov, Jan 8 2018, 07:18 PM.
|
![]() |
|
| Cory | Jan 11 2018, 10:19 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Admin CP Themes Board Template Below the Board
|
![]() |
|
| DaPizzaMan | Jan 12 2018, 02:35 PM Post #5 |
![]()
#TeamSupport
![]()
|
To improve on Cory's code, simply use the following:The only modification necessary is this: Just add any forum ID into that list to hide its subforums. Edited by DaPizzaMan, Jan 17 2018, 07:48 PM.
|
![]() |
|
| Cory | Jan 13 2018, 12:46 AM Post #6 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You should wrap a function around that code because i is an often used variable and you don't want this code conflicting with others. |
![]() |
|
| DaPizzaMan | Jan 17 2018, 07:48 PM Post #7 |
![]()
#TeamSupport
![]()
|
Good point, I edited my post. |
![]() |
|
| DaPizzaMan | Jan 29 2018, 07:12 PM Post #8 |
![]()
#TeamSupport
![]()
|
Completed! Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
10:47 AM Jul 11
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)


Themes 

10:47 AM Jul 11