# 允许邀请直接指向一个类别

**URL:** <https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962>\
**Category:** Feature\
**Tags:** invites\
**Created:** [2021年五月3日 08:48 UTC](https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962 "2021-05-03T08:48:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2021年五月3日 08:48 UTC](https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962/1 "2021-05-03T08:48:12Z")

</div>

我非常喜欢 [全新升级的邀请系统](https://meta.discourse.org/t/improve-invite-system/173756/4)，也很高兴能作为用户端的一位（微小）贡献者参与其中。

能够通过“首次登录时发送到特定主题”功能将受邀者引导至某个主题，这真是太棒了。是否有可能作为替代方案，将他们引导至某个特定分类呢？

我知道可以将他们引导至目标分类的“关于”主题，但那并不是我希望他们首先看到的内容。相反，我希望他们能看到该分类下的讨论。问题在于，对于新手来说，进入某个分类的主题列表并不那么直观。

当然，这可能会比较复杂，因为我不清楚 Discourse 中是否有同时结合分类和主题的字段。但你们可是很聪明的！

---

<div class="post-metadata">

**Author:** ![Rhidian](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rhidian/32/176630_2.png) [@Rhidian](https://meta.discourse.org/u/Rhidian)\
**Post date:** [2021年五月3日 10:39 UTC](https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962/2 "2021-05-03T10:39:33Z")

</div>

好点子 @nathank

我同意，对于新手来说，从“关于”主题进入分类页面确实不太直观。分类页面其实更有用。

我常用的变通方法是在“关于”帖子中加入一个明显的链接，例如：

# [查看本分类中的主题](https://meta.discourse.org/c/feature/2)

遗憾的是，指向分类页面的链接无法生成“单框预览”（one-box）。如果它们能生成单框预览并包含“关于”描述就好了。

> [@Links posted to a category page doesn't generate a one box link](https://meta.discourse.org/t/links-posted-to-a-category-page-doesnt-generate-a-one-box-link/169623?u=rhidian):
>
> If I include links to specific posts in Discourse I get a nice one box. If I include a link to the category page though it only generates a link. e.g. [https://meta.discourse.org/c/feature/announcements/67](https://meta.discourse.org/c/feature/announcements/67) Would it be possible to get category links to generate a nice one box?

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2021年五月3日 12:05 UTC](https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962/3 "2021-05-03T12:05:34Z")

</div>

不确定这是否仍然有效，但欢迎测试：

> [@User-specific Discourse home page](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/4?u=merefield):
>
> Just in case anyone is interested, I built this plugin that uses your Primary Group to set your homepage to be the Category that’s set up for that Primary Group, resulting in a “User-specific” (aka Group specific) homepage. It’s not battle tested and I’m not sure if I will support it unless someone wants to fund the work, but feel free to install it and try it out :). If you like it, at least star it wink

如果您提前为新用户正确设置其主用户组，这可能对您有效。

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2021年五月3日 16:39 UTC](https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962/4 "2021-05-03T16:39:50Z")

</div>

感谢您对邀请系统改进的认可！🥰

我理解您的请求，这很有趣。能否请您多介绍一下您的使用场景以及您希望达成的目标？您是邀请各种不同类型的人加入论坛，并希望将他们引导至论坛中所有人都可访问的不同板块吗？还是邀请他们进入私密分类？亦或是所有加入您网站的用户都面临同样的挑战，即不知道从何开始？您能分享一些具体例子吗？那些试图加入您的社区并参与讨论的用户都说了些什么？

您是否考虑过简化论坛，例如将“桌面分类页面样式”切换为“带精选主题的方框”，并在首页显示分类而非最新动态？或者添加一个包含引导信息的横幅，帮助用户快速上手？

正如 @Rhidian 所建议的，您还可以为每种类型的用户分别创建一个主题，简要介绍论坛，配上一些截图甚至视频，并附上相关链接。

---

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2021年五月3日 18:10 UTC](https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962/5 "2021-05-03T18:10:56Z")

</div>

> [@merefield](#):
>
> 不确定这是否仍然有效，但欢迎测试：

谢谢 Robert——我尚未使用该插件，因为我的网站结构（群组太多，每个群组的分类也太多）意味着它需要更多开发才能适用于我们。不过，这方面情况已有改善，也许是时候尝试一下了。

> [@Rhidian](#):
>
> 我使用的变通方法是在“关于”帖子中包含一个明显的链接。类似于这样……

好主意——那样行得通。

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2022年七月29日 18:35 UTC](https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962/7 "2022-07-29T18:35:43Z")

</div>

你好 Nathan！希望你一切都好。我最近又看到了这个话题，发现它已经沉寂下来了。这是否意味着你对目前邀请加入话题的方式感到满意？你有没有收到你社区关于这方面运作情况的更新，以及是否可以改进？

---

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2022年七月29日 21:25 UTC](https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962/9 "2022-07-29T21:25:33Z")

</div>

> [@tobiaseigen](#):
>
> 这是否意味着您对当前“邀请加入主题”的功能感到满意？

是的——“邀请加入主题”功能运行良好。不过我承认，我实际上并不怎么使用它，而是使用 [Custom Wizard Plugin 🧙](https://meta.discourse.org/t/custom-wizard-plugin/73345) 来设置一个加入向导，将新用户分配到特定群组，然后通过群组权限和关注设置，为他们提供适度定制化的视图。

我还尝试过这个 #Customization > Theme component，以便在特定场景下实现更严格的定制。它是 @merefield 的 [上述插件](https://meta.discourse.org/t/allow-invites-to-direct-to-a-category/188962/3) 的演进版本：

> [@为群组定制的主页](https://meta.discourse.org/t/custom-homepage-for-groups/199623):
>
> 概述 安装并添加到活动主题后，此主题组件使您能够控制“主页”，使其不同于 Discourse 默认允许的一组页面，同时让不同的组拥有不同的“主页”（例如，组成员只关心或主要关心某个特定分类）。这可以针对所有用户、匿名用户（未登录用户）、移动用户，或根据用户的主要组进行设置。最初由 @pfaffman 开发。详见 [https://meta.discourse.org/t/user-specific-discourse-home-page/160229。](https://meta.discourse.org/t/user-specific-discourse-home-page/160229%E3%80%82)使用场景： 您希望主页不是“常规”主页 您希望为匿名用户设置不同的主页 您希望为移动用户设置不同的主页 您有一群用户只对您实例中的某一小部分感兴趣。他们只想看到他们特定的分类。 临时将一群用户重定向到某个特殊活动或类似内容。 为不同组设置不同的落地页。 设置 自定义默认主页 允许您设置一个全局自定义主页。 匿名页面 此选项允许您为未登录用户指定一个页面。它将覆盖上述的全局设置。 移动主页 正如 [Force Mobile Homepage](https://meta.discourse.org/t/force-mobile-homepage/95705) 所述，此选项允许您为移动用户设置不同的主页。这将覆盖上述选择的选项。 组页面映射 此选项支…

### 改进建议

> [@tobiaseigen](#):
>
> 您是否从社区中获得了关于该功能实际运行情况的反馈？是否有改进空间？

既然您问起，目前确实存在一个问题，导致我们无法同时有效使用邀请注册和公开注册，我_非常_希望这个问题能得到解决：

> [@允许员工邀请的用户跳过审批](https://meta.discourse.org/t/allow-users-invited-by-staff-to-skip-approval/231300):
>
> 当新用户通过邀请链接加入时，我发现我目前也需要批准该用户。 这违背了邀请的全部目的；我不如直接发送论坛链接给他们。 我已经尝试过在多种情况下（新链接、旧链接、单人、多人）在多个实例上进行此操作，结果都是一样的。 我已将这些实例的 /admin/site\_settings/category/all\_results?filter=must\_approve\_users 设置为 TRUE。它似乎过于字面化了！我只想批准那些没有邀请而加入的用户，这才是过去的操作方式。
