Number of Subcategories

Hi again,

This is my second time posting and after a really helpful discussion with other members, I’d like to once again ask a question regarding my nonprofit’s new forum. We are trying to create a space for makers to talk about COVID and share resources. We were toying around with the idea of hierarchies in a general resources category and I wanted to know if you can created subcategories in subcategories. Please see below for an example.

TL;DR: I want to do Option 2, but is that possible?

2 个赞

Also I tried on my self-hosted forum and it is not possible; I have an error message if I try to do so:

You can't nest a subcategory under another

3 个赞

At present I believe three level categories is only being used for enterprise customers. It definitely introduces a world of noise and complexity that most communities just aren’t ready for.

Could you achieve similar depth using tags?

3 个赞

Hi @Stephen and @Canapin thanks for your replies.

We are not using enterprise at the moment. We tossed around the idea of tags as a filtering method and topics, if need be this is what we will do. It would have just been nicer for our info organization to have that capability.

All the best,
Hannah

3 个赞

Do you have lots of content that people do not want to see? If not, you’re just making work.

I believe that there is a hidden site setting that needs to be enabled to turn them on.

1 个赞

I’ve found a really nice solution to alleviate at least some of the strain on categories is to see if you can use groups. Have you tried setting up groups yet? It is a literal work in progress, but you can see our current use of groups and steal ideas.

2 个赞

I’m hoping it’s called tenth_circle_of_hell

2 个赞

这里有人能告诉我那个棘手的隐藏设置叫什么名字吗?即使不是首选方式,我也想向我的上级证明,在 Discourse 中让类别拥有“孙类别”确实是可能的 :wink:

1 个赞

欢迎回来,@lostintime

您要找的设置是

SiteSetting.max_category_nesting = 3

您可以进行一些搜索。它的文档并不完善,但我很确定一些企业客户正在使用它,所以可以肯定它能正常工作。我有一个客户曾经使用过它,至少有一段时间是这样,所以它应该对您有效。

2 个赞

太棒了 @pfaffman,谢谢!几年前我在 Discourse 上设置了我的语言论坛(它运行得非常好),现在我正试图说服我的雇主也使用我最喜欢的讨论软件 :wink: 他们坚信他们需要子子类别……

我该把这个设置放在哪里呢,敢问?

谢谢!

1 个赞

您需要能够访问 Discourse 运行所在的服务器。如果您托管在某处,您需要请运行服务器的人为您执行此操作。

cd /var/discourse
./launcher enter app
rails c
SiteSetting.max_category_nesting = 3
exit
exit
12 个赞

Jay,你让我今天过得很开心 :blush: 非常感谢。

我们是自托管的。我在新系统中的角色将是版主。我会告诉管理员这就是他们想要的。

5 个赞

我们能把分类设置到4或5级吗?Jay?
谢谢!

1 个赞

不,那是不可能的。

2 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.