# Latest

**URL:** https://meta.discourse.org/latest.md?page=1561&period=daily

[最新](https://meta.discourse.org/latest.md) · [类别](https://meta.discourse.org/categories.md) · [标签](https://meta.discourse.org/tags.md)

**Page:** 1562

---

## [向 CSS 添加类](https://meta.discourse.org/t/adding-a-class-to-css/88546)

<div class="topic-metadata">

**Author:** [@Stranik](https://meta.discourse.org/u/Stranik)\
**回复:** 0\
**最近更新：:** [2018 年5 月 27 日 19:27 UTC](https://meta.discourse.org/t/adding-a-class-to-css/88546 "2018-05-27T19:27:23Z")

</div>

目前，在以下页面上： https://meta.discourse.org/latest https://meta.discourse.org/new https://meta.discourse.org/unread https://meta.discourse.org/top ... 使用的类为： \<body class="navigation-topics" ... 关闭…

---

## [Discourse 同步至 WordPress 用户](https://meta.discourse.org/t/discourse-to-wordpress-users-syncing/88535)

<div class="topic-metadata">

**Author:** [@Khalimerot](https://meta.discourse.org/u/Khalimerot)\
**回复:** 1\
**最近更新：:** [2018 年5 月 27 日 17:12 UTC](https://meta.discourse.org/t/discourse-to-wordpress-users-syncing/88535 "2018-05-27T17:12:48Z")

</div>

你好， 我运行着一个 Discourse 站点，并配置了 WordPress 作为 SSO 客户端。 我的 Discourse 用户来自旧版 SMF 论坛的导入。 我的 WordPress 上已有一个正常工作的 SSO 客户端，因此用户可以使用他们的 Discourse 账户登录……

---

## [私信速率限制](https://meta.discourse.org/t/private-message-rate-limits/88540)

<div class="topic-metadata">

**Author:** [@nsuchy](https://meta.discourse.org/u/nsuchy)\
**回复:** 7\
**最近更新：:** [2018 年5 月 27 日 14:39 UTC](https://meta.discourse.org/t/private-message-rate-limits/88540 "2018-05-27T14:39:44Z")

</div>

你好。我的一些朋友在我的Discourse论坛上使用私信系统作为一种聊天方式。有办法设置系统，使得如果你的信任等级达到3级或更高，就没有私信的限制吗？

---

## [个人资料字段的条件字段](https://meta.discourse.org/t/conditional-fields-for-profile-fields/88240)

<div class="topic-metadata">

**Author:** [@RCheesley](https://meta.discourse.org/u/RCheesley)\
**回复:** 2\
**最近更新：:** [2018 年5 月 27 日 11:14 UTC](https://meta.discourse.org/t/conditional-fields-for-profile-fields/88240 "2018-05-27T11:14:39Z")

</div>

有时，如果社区成员在其个人资料中回答了某个特定问题，您可能希望根据该回答显示或隐藏其他字段。 一个用例是“您是否具备任何资格”，如果他们的回答是“……

---

## [SMTP: Mailgun vs elasticemail?](https://meta.discourse.org/t/smtp-mailgun-vs-elasticemail/75475)

<div class="topic-metadata">

**Author:** [@frold](https://meta.discourse.org/u/frold)\
**回复:** 6\
**最近更新：:** [2018 年5 月 27 日 10:19 UTC](https://meta.discourse.org/t/smtp-mailgun-vs-elasticemail/75475 "2018-05-27T10:19:07Z")

</div>

I already had an account at elasticemail therefor my forum is setup with elasticemail. I had 2 dollars on my account, but when I have used them I wonder Mailgun vs elasticemail? In the setting I can see a special one fo…

---

## [添加 asciimath 的 PR](https://meta.discourse.org/t/pr-to-add-asciimath/253651)

<div class="topic-metadata">

**Author:** [@mcmcclur](https://meta.discourse.org/u/mcmcclur)\
**回复:** 4\
**最近更新：:** [2018 年5 月 27 日 03:37 UTC](https://meta.discourse.org/t/pr-to-add-asciimath/253651 "2018-05-27T03:37:59Z")

</div>

我刚刚提交了一个拉取请求，修改了插件，使其能够处理以 asciimath 和 LaTeX 表示的输入。代码位于 GitHub 上，并且（仅限短暂时间）您可以在 这个临时的 Discourse 实例 上看到它的实际效果。 我在此提及此事，因为正如您所说： 我选择使用单个百分号 (%) 来分隔 asciimath 输入。asciimath 网页 表明更倾向于使用反引号 (\`)；但这似乎是个糟糕的选择，因为 Markdown 通常使用它…

---

## [获取用于 API 的 user\_id](https://meta.discourse.org/t/retrieving-user-id-for-api-use/88522)

<div class="topic-metadata">

**Author:** [@Judith](https://meta.discourse.org/u/Judith)\
**回复:** 1\
**最近更新：:** [2018 年5 月 26 日 21:41 UTC](https://meta.discourse.org/t/retrieving-user-id-for-api-use/88522 "2018-05-26T21:41:47Z")

</div>

我使用 SSO 作为唯一的登录方式，因此我知道论坛用户的外部 ID（external\_id），但为了使用 API，我需要知道他们的论坛用户 ID（对吗？）。API 似乎没有搜索……的功能。

---

## [仅对登录用户开启在新标签页打开外部链接功能](https://meta.discourse.org/t/open-external-links-in-new-tab-only-works-for-logged-in-users/88501)

<div class="topic-metadata">

**Author:** [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**回复:** 1\
**最近更新：:** [2018 年5 月 26 日 12:22 UTC](https://meta.discourse.org/t/open-external-links-in-new-tab-only-works-for-logged-in-users/88501 "2018-05-26T12:22:44Z")

</div>

当管理员设置默认其他外部链接在新标签页打开时，匿名用户点击主题中的链接，它仍然会在同一窗口打开。 即使链接具有 target = "\_blank" 属性，也不会在新窗口打开…

---

## [Discourse 元数据隐私](https://meta.discourse.org/t/discourse-meta-privacy/88391)

<div class="topic-metadata">

**Author:** [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)\
**回复:** 6\
**最近更新：:** [2018 年5 月 26 日 08:15 UTC](https://meta.discourse.org/t/discourse-meta-privacy/88391 "2018-05-26T08:15:47Z")

</div>

能否获取 Discourse 的元隐私模板？ 它符合 GDPR 要求，而 5 月 25 日将在几小时后开始……

---

## [允许在通过 wpd\_comment\_body 过滤器自定义评论时使用 '{comment\_url}'](https://meta.discourse.org/t/allow-comment-url-to-be-used-when-customizing-comments-using-wpd-comment-body-filter/87852)

<div class="topic-metadata">

**Author:** [@Sudaraka](https://meta.discourse.org/u/Sudaraka)\
**回复:** 4\
**最近更新：:** [2018 年5 月 26 日 03:26 UTC](https://meta.discourse.org/t/allow-comment-url-to-be-used-when-customizing-comments-using-wpd-comment-body-filter/87852 "2018-05-26T03:26:56Z")

</div>

大家好， 我正在尝试使用 wpd\_comment\_body 过滤器自定义评论内容。其中一个需求是在 WordPress 站点发布的评论末尾添加指向该评论的精确链接。我已经做了一些……

---

## [在Wordpress中链接到Discourse主题而不显示评论](https://meta.discourse.org/t/link-to-discourse-topics-in-wordpress-without-displaying-comments/88486)

<div class="topic-metadata">

**Author:** [@simon](https://meta.discourse.org/u/simon)\
**回复:** 0\
**最近更新：:** [2018 年5 月 25 日 22:56 UTC](https://meta.discourse.org/t/link-to-discourse-topics-in-wordpress-without-displaying-comments/88486 "2018-05-25T22:56:24Z")

</div>

The WP Discourse plugin now has an option to link to Discourse topics without displaying comments underneath the post. This is enabled by selecting the Link to Comments Without Displaying Them option from the plugin’s Co…

---

## [将现有主题链接到WordPress帖子](https://meta.discourse.org/t/link-an-existing-topic-to-a-wordpress-post/88482)

<div class="topic-metadata">

**Author:** [@simon](https://meta.discourse.org/u/simon)\
**回复:** 0\
**最近更新：:** [2018 年5 月 25 日 22:00 UTC](https://meta.discourse.org/t/link-an-existing-topic-to-a-wordpress-post/88482 "2018-05-25T22:00:21Z")

</div>

The WP Discourse plugin lets you link an existing Discourse topic to a WordPress post. To do this, go to the post’s edit page on WordPress and select Link to Existing Topic from the Discourse meta box. In the Topic URL f…

---

## [如何在 Discourse 子目录下设置 WordPress](https://meta.discourse.org/t/how-to-set-up-wordpress-as-a-subdirectory-of-discourse/88457)

<div class="topic-metadata">

**Author:** [@Garrick](https://meta.discourse.org/u/Garrick)\
**回复:** 1\
**最近更新：:** [2018 年5 月 25 日 14:16 UTC](https://meta.discourse.org/t/how-to-set-up-wordpress-as-a-subdirectory-of-discourse/88457 "2018-05-25T14:16:26Z")

</div>

所以我遇到了一个问题：我最初将 Discourse 主站安装在根目录下。多年后，我不希望损失任何 Google SEO 排名。有人告诉我，将站点创建在 https://news.xxxxxx.com 会导致 Google……

---

## [自动更新旧 WordPress 帖子的时间戳](https://meta.discourse.org/t/automatically-reflect-timestamp-of-old-wordpress-posts/88254)

<div class="topic-metadata">

**Author:** [@josue](https://meta.discourse.org/u/josue)\
**回复:** 2\
**最近更新：:** [2018 年5 月 25 日 18:11 UTC](https://meta.discourse.org/t/automatically-reflect-timestamp-of-old-wordpress-posts/88254 "2018-05-25T18:11:22Z")

</div>

有没有办法让 Discourse 帖子自动使用原始 WordPress 帖子的时间戳？ 我正在将博客中的所有旧 WordPress 帖子发布到 Discourse，并在每次发布后手动更改时间戳……

---

## [自定义条款与隐私的文本和链接](https://meta.discourse.org/t/customize-text-and-links-for-terms-and-privacy/87766)

<div class="topic-metadata">

**Author:** [@RyanK](https://meta.discourse.org/u/RyanK)\
**回复:** 3\
**最近更新：:** [2018 年5 月 25 日 17:55 UTC](https://meta.discourse.org/t/customize-text-and-links-for-terms-and-privacy/87766 "2018-05-25T17:55:13Z")

</div>

我们的法律团队正在更新公司条款和隐私文件，以涵盖我们的Discourse社区。因此，他们希望我们将“服务条款”更新为“使用条款”（链接到外部URL）和“Pr…

---

## [社区准则](https://meta.discourse.org/t/great-community-guidelines/88382)

<div class="topic-metadata">

**Author:** [@SpaceMonkey](https://meta.discourse.org/u/SpaceMonkey)\
**回复:** 3\
**最近更新：:** [2018 年5 月 25 日 15:58 UTC](https://meta.discourse.org/t/great-community-guidelines/88382 "2018-05-25T15:58:23Z")

</div>

在我规划社区愿景时，设计与用户体验的重要性显而易见。然而，我认为其核心在于社区准则或宣言。我正在寻找是否有相关示例……

---

## [徽章失效通知](https://meta.discourse.org/t/notification-of-lapsed-badges/88418)

<div class="topic-metadata">

**Author:** [@ebeach](https://meta.discourse.org/u/ebeach)\
**回复:** 2\
**最近更新：:** [2018 年5 月 25 日 15:02 UTC](https://meta.discourse.org/t/notification-of-lapsed-badges/88418 "2018-05-25T15:02:41Z")

</div>

我们拥有多种基于操作和时间范围的徽章，例如“过去 30 天内点赞 X 条帖子”。我们希望向徽章已过期的用户发送通知，以此鼓励他们继续参与……

---

## [如何修改标题HTML，但仍保留默认功能](https://meta.discourse.org/t/how-to-modify-the-header-html-but-still-remaining-the-default-founctions/88291)

<div class="topic-metadata">

**Author:** [@xiyang](https://meta.discourse.org/u/xiyang)\
**回复:** 3\
**最近更新：:** [2018 年5 月 25 日 01:26 UTC](https://meta.discourse.org/t/how-to-modify-the-header-html-but-still-remaining-the-default-founctions/88291 "2018-05-25T01:26:12Z")

</div>

我只是想在logo旁边添加标题文本，而不删除右边的任何按钮。我的想法是唯一的方法是在CSS/HTML编辑区重写整个头部HTML。这个过程太复杂了，因为……

---

## [有问题的IP地址字段](https://meta.discourse.org/t/problematic-ip-address-fields/83785)

<div class="topic-metadata">

**Author:** [@riking](https://meta.discourse.org/u/riking)\
**回复:** 30\
**最近更新：:** [2018 年5 月 24 日 23:10 UTC](https://meta.discourse.org/t/problematic-ip-address-fields/83785 "2018-05-24T23:10:12Z")

</div>

继续讨论“为 GDPR 提供数据”的话题： 我对 Discourse 的表进行了初步检查，发现有几处 IP 地址与用户 ID 被意外关联。这类数据具有毒性，可能……

---

## [类别设置 \> 主题列表排序 \> 升序或降序，谁知道？](https://meta.discourse.org/t/category-setting-topic-list-sort-by-ascending-or-descending-who-knows/83660)

<div class="topic-metadata">

**Author:** [@dax](https://meta.discourse.org/u/dax)\
**回复:** 3\
**最近更新：:** [2018 年5 月 24 日 22:00 UTC](https://meta.discourse.org/t/category-setting-topic-list-sort-by-ascending-or-descending-who-knows/83660 "2018-05-24T22:00:44Z")

</div>

在类别设置中，话题列表的排序顺序（升序或降序）在保存更改后不会保留显示。返回设置时，您无法知道已选择了两种设置中的哪一种…

---

## [是否有构建安全匿名投票/投票系统的开源项目？](https://meta.discourse.org/t/is-there-a-project-for-making-a-secure-anonymous-voting-poll-system/88400)

<div class="topic-metadata">

**Author:** [@Olav](https://meta.discourse.org/u/Olav)\
**回复:** 0\
**最近更新：:** [2018 年5 月 24 日 18:55 UTC](https://meta.discourse.org/t/is-there-a-project-for-making-a-secure-anonymous-voting-poll-system/88400 "2018-05-24T18:55:05Z")

</div>

Discourse 中的投票功能功能有限，且不适用于匿名投票场景，存在安全隐患。是否有人正在着手改进该功能，或计划推出新功能？

---

## [Pingbacks。它们正风靡一时](https://meta.discourse.org/t/pingbacks-theyre-all-the-rage/88395)

<div class="topic-metadata">

**Author:** [@balibebas](https://meta.discourse.org/u/balibebas)\
**回复:** 2\
**最近更新：:** [2018 年5 月 24 日 18:35 UTC](https://meta.discourse.org/t/pingbacks-theyre-all-the-rage/88395 "2018-05-24T18:35:29Z")

</div>

我查看了以下内容，并注意到Discourse可以设置显示入站链接： https://forums.resin.io/t/raspberry-pi-wifi-access-point/1255/4 我交叉手指，并从GitHub链接，但没有入站超链接……

---

## [自定义徽章图片作为 Font Awesome 不工作了吗？](https://meta.discourse.org/t/custom-badge-image-as-font-awesome-not-working/88392)

<div class="topic-metadata">

**Author:** [@fearlessfrog](https://meta.discourse.org/u/fearlessfrog)\
**回复:** 1\
**最近更新：:** [2018 年5 月 24 日 17:48 UTC](https://meta.discourse.org/t/custom-badge-image-as-font-awesome-not-working/88392 "2018-05-24T17:48:37Z")

</div>

嗨， 昨天更新到最新版（v2.0.0.beta10 +136），我们注意到在自定义徽章的图标中使用的 font-awesome 名称似乎出现了问题？ 示例： https://forums.mudspike.com/badges/108/contest-winner \[…\]

---

## [在创建新主题视图中无法撤销（Ctrl+Z）](https://meta.discourse.org/t/cannot-undo-ctrl-z-in-create-new-topic-view/88387)

<div class="topic-metadata">

**Author:** [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)\
**回复:** 1\
**最近更新：:** [2018 年5 月 24 日 16:29 UTC](https://meta.discourse.org/t/cannot-undo-ctrl-z-in-create-new-topic-view/88387 "2018-05-24T16:29:16Z")

</div>

正如这里提到的： 我认为话题创建器中的撤销功能存在问题：在我点击某个按钮（例如插入项目符号列表、加粗、斜体等）后，无法通过“Ctrl+Z”撤销该操作。

---

## [German "About, FAQ, TOS, Privacy"](https://meta.discourse.org/t/german-about-faq-tos-privacy/75026)

<div class="topic-metadata">

**Author:** [@Roland\_W](https://meta.discourse.org/u/Roland_W)\
**回复:** 6\
**最近更新：:** [2018 年5 月 24 日 16:24 UTC](https://meta.discourse.org/t/german-about-faq-tos-privacy/75026 "2018-05-24T16:24:57Z")

</div>

Hello, we just set up a new Discourse-Instance. Though we chose “German” as language for the Installation, the “FAQ”-section is in English. In the following topic is a discussion about the German translation: https://m…

---

## [无法在 管理 \> 文本内容 下还原更改](https://meta.discourse.org/t/unable-to-revert-changes-under-admin-text-content/88341)

<div class="topic-metadata">

**Author:** [@sebastien](https://meta.discourse.org/u/sebastien)\
**回复:** 0\
**最近更新：:** [2018 年5 月 24 日 05:27 UTC](https://meta.discourse.org/t/unable-to-revert-changes-under-admin-text-content/88341 "2018-05-24T05:27:25Z")

</div>

大家好， 当我尝试还原文本字段的更改时，出现错误提示：“translation missing: en.js.trust\_level”。 \[image\] 如果我点击“保存”，它会保存为“translation missing: en.js.trust\_level”。 问题不算太严重……

---

## [使用 SSH 从 discourse-docker 中删除用户](https://meta.discourse.org/t/delete-user-from-discourse-docker-using-ssh/37820)

<div class="topic-metadata">

**Author:** [@Ninetailz](https://meta.discourse.org/u/Ninetailz)\
**回复:** 6\
**最近更新：:** [2018 年5 月 24 日 15:50 UTC](https://meta.discourse.org/t/delete-user-from-discourse-docker-using-ssh/37820 "2018-05-24T15:50:38Z")

</div>

{

---

## [处理子文件夹安装中的主题正文中的外部URL](https://meta.discourse.org/t/handle-external-urls-in-topic-body-for-subfolder-installation/75330)

<div class="topic-metadata">

**Author:** [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)\
**回复:** 16\
**最近更新：:** [2018 年5 月 24 日 12:56 UTC](https://meta.discourse.org/t/handle-external-urls-in-topic-body-for-subfolder-installation/75330 "2018-05-24T12:56:08Z")

</div>

您好，我们在子文件夹中安装了一个论坛，https://www.cuba-platform.com/discuss。主网站的商店位于https://www.cuba-platform.com/store。我想在某个主题或帖子中分享这个链接……

---

## [确保用户已登录 Discourse](https://meta.discourse.org/t/ensure-that-user-is-signed-in-to-discourse/86396)

<div class="topic-metadata">

**Author:** [@adopilot](https://meta.discourse.org/u/adopilot)\
**回复:** 3\
**最近更新：:** [2018 年5 月 24 日 12:54 UTC](https://meta.discourse.org/t/ensure-that-user-is-signed-in-to-discourse/86396 "2018-05-24T12:54:31Z")

</div>

我们的 Discourse 配置为使用来自企业应用的单点登录（SSO）。 在某些业务流程中，我们将 Discourse 用作邮件和通知中继。 部分业务流程始于我们的 ERP 系统，通过表单发起，随后流转至 Discourse。 由于 Disc…

---

## [Postgres 升级时空间不足以进行升级](https://meta.discourse.org/t/not-enough-disk-space-for-upgrade-when-postgres-is-upgraded/86966)

<div class="topic-metadata">

**Author:** [@gauthier](https://meta.discourse.org/u/gauthier)\
**回复:** 7\
**最近更新：:** [2018 年5 月 24 日 11:32 UTC](https://meta.discourse.org/t/not-enough-disk-space-for-upgrade-when-postgres-is-upgraded/86966 "2018-05-24T11:32:32Z")

</div>

您好， 由于磁盘空间问题，我长时间无法升级我的安装。 我目前使用的是 v2.0.0beta1…… 我的 VPS 有 20GB 空间，剩余 5.6GB 我已经删除了备份和大量上传…… 当我尝试……

[上一页](https://meta.discourse.org/latest.md?page=1560&period=daily)

[下一页](https://meta.discourse.org/latest.md?page=1562&period=daily)
