1
| Summary | Show hidden categories | |
| Preview | PREVIEW_LINK | |
| Repository | GitHub - literatecomputing/discourse-show-hidden-categories: Make a placeholder for categories a user can't see due to permissions · GitHub | |
| Install Guide | How to install a theme or theme component | |
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Adds a fake category to the category list, so it’ll display like a normal category. The URL points to the group page so the user can join or request to join the group for access.
Settings
Category boxes
Normal categories
Description
This seems to solve a problem that people often ask for. How can I let people know that a permission-required category exists?
I made a similar component for a client, but for Reasons, it hard-coded their custom category display. I created this version that modifies the category list so that it gets displayed like any other category. I don’t know if this actually works, but it seems to. If you need it to do something different, PRs are welcome, or contact me directly if you have a budget.
It might make sense to link to add a URL parameter so that it could link to a subscription or topic as well.
The version I wrote for the client includes the Request to join button right on the page. This was a little easier and doesn’t clutter the category page with buttons.
3 Likes


























