# 我需要一个主题来推广一些隐藏的类别

**URL:** <https://meta.discourse.org/t/i-need-a-theme-to-promote-some-hidden-categories/249609>\
**Category:** Marketplace\
**Created:** [2022年十二月21日 19:08 UTC](https://meta.discourse.org/t/i-need-a-theme-to-promote-some-hidden-categories/249609 "2022-12-21T19:08:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)\
**Post date:** [2022年十二月21日 19:08 UTC](https://meta.discourse.org/t/i-need-a-theme-to-promote-some-hidden-categories/249609/1 "2022-12-21T19:08:48Z")

</div>

> 您希望完成什么？

继几年前的[一次讨论](https://meta.discourse.org/t/is-there-a-way-to-show-category-headings-to-users-that-cant-access-them/107045)之后，我认为我需要创建一个主题。

我的 Discourse 有一些隐藏的类别。以下是其中一些的示例：

[![](https://global.discourse-cdn.com/meta/original/4X/2/b/f/2bf66ff4f06da02a2957fcee1d808775a0015715.jpeg) ](https://global.discourse-cdn.com/meta/original/4X/2/b/f/2bf66ff4f06da02a2957fcee1d808775a0015715.jpeg)

我希望将我的一些隐藏类别显示在我的 Discourse 主页上（但不是全部），以便人们可以看到它们的存在——但他们无法进入。

任何查看 `/categories` 页面的用户都应该能够看到它们，包括未登录的用户。

类别中的主题不应泄露。如果用户查看 `/latest` 页面，他们根本看不到这些类别。

_（这意味着此插件不适合我：[https://meta.discourse.org/t/advertise-activity-in-a-private-category-discourse-category-lockdown/70649）](https://meta.discourse.org/t/advertise-activity-in-a-private-category-discourse-category-lockdown/70649%EF%BC%89)_

如果用户拥有正确的群组会员资格，它应该自然地让他们进入该类别。

如果用户_ **不** _拥有正确的群组会员资格，那么类别链接应该不可点击，或者它应该将他们重定向到一个通用页面，解释他们为什么没有访问权限：[https://example.com/pub/some-page-url-here-with-details](https://example.com/pub/some-page-url-here-with-details)

为了保持简单，我很乐意手动将类别名称和描述输入到配置文件或某些设置中，或者输入一些手动 HTML 或其他类似的东西。

这个可以用主题来实现吗？

我的要求是否解释得足够详细？您是否拥有足够的信息？您有任何问题吗？

> 您何时需要完成？

必须在 2023 年 1 月 31 日之前完成。

> 您能为这项任务提供多少美元预算？

我的预算是 250 英镑，按当前汇率相当于 302 美元或 285 欧元。可能还有一些小幅的灵活性。

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2022年十二月21日 20:42 UTC](https://meta.discourse.org/t/i-need-a-theme-to-promote-some-hidden-categories/249609/2 "2022-12-21T20:42:23Z")

</div>

也许 [Category Previews](https://meta.discourse.org/t/category-previews/155296) 是您要找的内容

---

<div class="post-metadata">

**Author:** ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)\
**Post date:** [2022年十二月22日 09:52 UTC](https://meta.discourse.org/t/i-need-a-theme-to-promote-some-hidden-categories/249609/3 "2022-12-22T09:52:29Z")

</div>

也许是这样，谢谢你 @Moin

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2022年十二月22日 09:55 UTC](https://meta.discourse.org/t/i-need-a-theme-to-promote-some-hidden-categories/249609/4 "2022-12-22T09:55:12Z")

</div>


