I would love ability to disable categories. My forum has only around 3-5 new topics a day. There is just not enough traffic to justify categorization of new topics.
So basically I’m thinking of some switch in settings that would allow to hide Category column, All Categories button and basically any UI element to do with categories. I know I could do it with CSS but there is no guarantee future updates don’t break it.
Would you agree that for small forums, category feature is unnecessary overhead and contributor to unjustified UI clutter?
I agree completely that on a small forum (and to be honest even the medium sized ones) categories are pointless mental overhead. The common risk is over-categorization more so than not enough:
But hiding the topic list category column in css should be fine and I cannot think of any reason that would easily break in the future.
I can’t get @lubos’s solution to work with the current Discourse version. The reason is that pinned topics has:
no category column,
a first column with colspan=2.
So when hiding td.category, the resulting table has pinned topic’s rows larger than other rows.
I’ve tried to hide the second column with td:nth-child(2), but it has the drawback of hiding pinned topic’s authors (plus maybe it’ll break on mobile).
Since 2014, has another solution to disable categories on small forums been implemented or figured out?
@jack2 that particular topic is without category (uncategorized).
The simplest fix is to move it in a category otherwise you have to create other css code for targeting pinned topics without category
Does anyone knows how to hide categories for all users but staff. Use case: a new site without a lot of posts, but the admin can start categorizing posts right away, for the future.
There is a .staff class in the body tag. I was trying using the : not (X) property but I wasn’t able tho achieve it.
Has someone managed to tailor the native CSS…as opposed to supplementing the native CSS with user-defined CSS to hide the unwanted parts?
Interested to hear anyone’s experience or guidance. I suppose that approach would save me some bytes on the front-end but require me to work deep in Discourse’s gut after every software upgrade?
Yes, I too think it would be really neat & useful “tweak” to have in settings, for each category individually. Something like Hide category from everyone but Stuff
Admins can set default categories to be muted in admin-settings, default categories muted.
You can set each category’s permissions by clicking the admin wrench in top right corner of the page for that category and going to the security tab. There you can make it so that only certain groups have access to view, reply or create.