# Latest

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

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

**Page:** 1341

---

## [如何修改输入框的占位符](https://meta.discourse.org/t/how-to-modify-the-input-box-placeholder/131219)

<div class="topic-metadata">

**Author:** [@KevinBlandy](https://meta.discourse.org/u/KevinBlandy)\
**回复:** 2\
**最近更新：:** [2019 年10 月 17 日 07:25 UTC](https://meta.discourse.org/t/how-to-modify-the-input-box-placeholder/131219 "2019-10-17T07:25:58Z")

</div>

如何修改输入框的占位符。

---

## [无法恢复数据库](https://meta.discourse.org/t/failed-to-restore-db/131137)

<div class="topic-metadata">

**Author:** [@Rasin](https://meta.discourse.org/u/Rasin)\
**回复:** 9\
**最近更新：:** [2019 年10 月 17 日 01:22 UTC](https://meta.discourse.org/t/failed-to-restore-db/131137 "2019-10-17T01:22:45Z")

</div>

我尝试将备份恢复到新服务器，但出现了一些错误。 日志在此：https://paste.ubuntu.com/p/RDRbX9NRg5/ 错误可能是： PG::UniqueViolation: ERROR: 无法创建唯一索引 "unique…"

---

## [在消息邀请中添加链接](https://meta.discourse.org/t/adding-a-link-in-the-message-invitations/130369)

<div class="topic-metadata">

**Author:** [@j127](https://meta.discourse.org/u/j127)\
**回复:** 7\
**最近更新：:** [2019 年10 月 16 日 23:36 UTC](https://meta.discourse.org/t/adding-a-link-in-the-message-invitations/130369 "2019-10-16T23:36:12Z")

</div>

当用户被邀请加入消息时，系统会向其发送一封电子邮件，使用 user\_notifications.invited\_to\_private\_message\_body 模板： %{username} 邀请您加入消息 \\u0026gt; \*\*%{topic\_title}\*\* \\u0026gt; \\u0026gt; %{topic\_excerpt} 于 \\u0026gt; %{…

---

## [分类页面的总帖子数应包含子分类](https://meta.discourse.org/t/total-posts-on-categories-page-should-count-subcategories/130705)

<div class="topic-metadata">

**Author:** [@markwill](https://meta.discourse.org/u/markwill)\
**回复:** 4\
**最近更新：:** [2019 年10 月 16 日 22:57 UTC](https://meta.discourse.org/t/total-posts-on-categories-page-should-count-subcategories/130705 "2019-10-16T22:57:29Z")

</div>

我的论坛采用两级层级结构——三个顶级类别，每个类别下有三个子类别。类别页面很好地展示了这一结构，但“每月帖子数”似乎仅针对顶级类别……

---

## [如何在 Apache mod\_proxy 后安装 Discourse？](https://meta.discourse.org/t/how-to-install-discourse-behind-apache-mod-proxy/130763)

<div class="topic-metadata">

**Author:** [@hexadecagram](https://meta.discourse.org/u/hexadecagram)\
**回复:** 8\
**最近更新：:** [2019 年10 月 16 日 23:15 UTC](https://meta.discourse.org/t/how-to-install-discourse-behind-apache-mod-proxy/130763 "2019-10-16T23:15:25Z")

</div>

大家好。 我试图在 Docker 容器中设置 Discourse。主机环境（Debian）正在运行 Apache httpd 服务器（我无法运行 nginx，因为我正在 Apache 上托管其他网站）。我想使用 mod\_proxy 来反向代理……

---

## [多个分类出现404错误](https://meta.discourse.org/t/404-on-various-categories/130892)

<div class="topic-metadata">

**Author:** [@chrispanag](https://meta.discourse.org/u/chrispanag)\
**回复:** 7\
**最近更新：:** [2019 年10 月 16 日 20:55 UTC](https://meta.discourse.org/t/404-on-various-categories/130892 "2019-10-16T20:55:53Z")

</div>

大家好， 在我们将论坛升级到 2.4.0beta6 后，发现多个分类会跳转到 404 错误页面。 而且，当您到达该 404 错误页面后，点击论坛徽标（以返回首页）时，页面却保持不变……

---

## [Create custom db table and fields from plugin](https://meta.discourse.org/t/create-custom-db-table-and-fields-from-plugin/36164)

<div class="topic-metadata">

**Author:** [@deviousmachin3](https://meta.discourse.org/u/deviousmachin3)\
**回复:** 8\
**最近更新：:** [2019 年10 月 16 日 20:37 UTC](https://meta.discourse.org/t/create-custom-db-table-and-fields-from-plugin/36164 "2019-10-16T20:37:41Z")

</div>

Hi everyone, I’m working on developing a new plugin and I need to store some values in the database but I do not want to modify the discourse base system in any fashion. I’ve read through the beginners guide on plugin de…

---

## [目录中的新列 (/users)](https://meta.discourse.org/t/new-columns-in-directory-users/77814)

<div class="topic-metadata">

**Author:** [@Anshul\_TM](https://meta.discourse.org/u/Anshul_TM)\
**回复:** 6\
**最近更新：:** [2019 年10 月 16 日 20:34 UTC](https://meta.discourse.org/t/new-columns-in-directory-users/77814 "2019-10-16T20:34:08Z")

</div>

大家好， 我想在目录项模型中添加几列（“解决方案”和“积分”）。 我可以直接修改模型和模板的代码，但如何通过插件实现这一功能呢？ 如果 n…

---

## [如何自动发送邀请？](https://meta.discourse.org/t/how-to-send-an-invitation-automatically/131174)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**回复:** 1\
**最近更新：:** [2019 年10 月 16 日 19:59 UTC](https://meta.discourse.org/t/how-to-send-an-invitation-automatically/131174 "2019-10-16T19:59:03Z")

</div>

我希望能够在有新用户注册我的电子邮件通讯时，自动向其发送私人社区的邀请邮件。 是否可以通过 Webhooks、Zapier 或其他方法实现这一功能？

---

## [DAU 与每日活跃用户 SQL](https://meta.discourse.org/t/dau-and-daily-engaged-users-sql/131183)

<div class="topic-metadata">

**Author:** [@slackmoehrle](https://meta.discourse.org/u/slackmoehrle)\
**回复:** 2\
**最近更新：:** [2019 年10 月 16 日 19:57 UTC](https://meta.discourse.org/t/dau-and-daily-engaged-users-sql/131183 "2019-10-16T19:57:32Z")

</div>

我的上级希望以不同的方式查看我们社区的数据统计。 我在哪里可以找到关于日活跃用户（DAU）和日活跃互动用户的 SQL 查询语句？

---

## [头像徽章未显示在头像旁边](https://meta.discourse.org/t/avatar-flair-doesnt-display-next-to-avatar/131157)

<div class="topic-metadata">

**Author:** [@Pablito](https://meta.discourse.org/u/Pablito)\
**回复:** 0\
**最近更新：:** [2019 年10 月 16 日 12:28 UTC](https://meta.discourse.org/t/avatar-flair-doesnt-display-next-to-avatar/131157 "2019-10-16T12:28:52Z")

</div>

您好， 是否可能以如下方式在分类中显示头像标识？ 目前，在具有这些设置的分类页面中，我的头像显示为： 而在主题中则显示为应有的样子： 我曾尝试使用 …

---

## [Postgres 已在运行](https://meta.discourse.org/t/postgres-already-running/131128)

<div class="topic-metadata">

**Author:** [@JohnAMacDonald](https://meta.discourse.org/u/JohnAMacDonald)\
**回复:** 3\
**最近更新：:** [2019 年10 月 16 日 12:35 UTC](https://meta.discourse.org/t/postgres-already-running/131128 "2019-10-16T12:35:28Z")

</div>

大家好， 如果我听起来有些笨拙，请见谅，因为我还是新手。不过，我尝试在 Ubuntu 16.04 上运行两个网站：Pterodactyl Panel 和 Discourse。我已经让 Pterodactyl Panel 正常运行，而 Discourse 在不使用 Nginx 的情况下也能工作……

---

## [无法在数据浏览器中选择组](https://meta.discourse.org/t/unable-to-select-groups-in-data-explorer/130988)

<div class="topic-metadata">

**Author:** [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**回复:** 12\
**最近更新：:** [2019 年10 月 16 日 10:46 UTC](https://meta.discourse.org/t/unable-to-select-groups-in-data-explorer/130988 "2019-10-16T10:46:32Z")

</div>

我无法使用新功能来允许特定组访问查询。我遗漏了什么？ Discourse 2.4.0.beta5 发布说明 discourse-data-explorer 允许组访问查询 我在数据探索中看到了这个复选框……

---

## [无法访问分类的自定义错误页面](https://meta.discourse.org/t/custom-error-page-for-inaccessible-category/125616)

<div class="topic-metadata">

**Author:** [@leog](https://meta.discourse.org/u/leog)\
**回复:** 2\
**最近更新：:** [2019 年10 月 16 日 10:42 UTC](https://meta.discourse.org/t/custom-error-page-for-inaccessible-category/125616 "2019-10-16T10:42:15Z")

</div>

你好！ 我想知道是否有人知道如何为因组权限而无法访问的分类创建自定义错误页面。 背景：为了使投票插件仅被特定人员使用，一个 g…

---

## [登录后重定向至受保护分类](https://meta.discourse.org/t/redirect-to-protected-category-after-login/122577)

<div class="topic-metadata">

**Author:** [@Brandon\_Martus](https://meta.discourse.org/u/Brandon_Martus)\
**回复:** 11\
**最近更新：:** [2019 年10 月 16 日 10:40 UTC](https://meta.discourse.org/t/redirect-to-protected-category-after-login/122577 "2019-10-16T10:40:42Z")

</div>

我一直在搜索，找到了一些相关主题，但大多涉及 SSO，而我们并未设置 SSO。 我们使用的是标准的 Discourse 认证，以及通过 OAuth2 插件进行的认证。我们 hav…

---

## [能否从 Meta 获取“自定义电子邮件样式”模板？](https://meta.discourse.org/t/can-i-get-the-customize-email-style-template-from-meta/130156)

<div class="topic-metadata">

**Author:** [@bartv](https://meta.discourse.org/u/bartv)\
**回复:** 7\
**最近更新：:** [2019 年10 月 16 日 09:26 UTC](https://meta.discourse.org/t/can-i-get-the-customize-email-style-template-from-meta/130156 "2019-10-16T09:26:06Z")

</div>

您好， 我非常喜欢 Meta 通知邮件的布局，但我的邮件仍然非常朴素。我该如何获取您在此处使用的模板？ 谢谢！

---

## [使用键盘 Enter/Return 键时个人资料图片消失](https://meta.discourse.org/t/profile-images-disappear-when-using-keyboard-enter-return/131118)

<div class="topic-metadata">

**Author:** [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**回复:** 1\
**最近更新：:** [2019 年10 月 16 日 07:46 UTC](https://meta.discourse.org/t/profile-images-disappear-when-using-keyboard-enter-return/131118 "2019-10-16T07:46:41Z")

</div>

输入其他用户字段数据后，按 Enter 或 Return 键时，个人资料背景图像和用户卡片背景图像将消失。 该问题在 Chrome、Firefox 和 Safari（Mac）的 Meta 环境中可复现。 复现步骤： 上传图像…

---

## [子类别链接损坏](https://meta.discourse.org/t/broken-subcategory-link/131140)

<div class="topic-metadata">

**Author:** [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)\
**回复:** 1\
**最近更新：:** [2019 年10 月 16 日 07:42 UTC](https://meta.discourse.org/t/broken-subcategory-link/131140 "2019-10-16T07:42:44Z")

</div>

您好， 此处的链接已损坏：https://francais-a-londres.org/c/travail/Qualifié 日志如下： 我在想，您建议我们如何将其恢复？ 非常感谢，

---

## [无法检测您的账户是否已创建，请确保已启用 Cookie](https://meta.discourse.org/t/we-cannot-detect-if-your-account-was-created-please-ensure-you-have-cookies-enabled/109626)

<div class="topic-metadata">

**Author:** [@meetya](https://meta.discourse.org/u/meetya)\
**回复:** 103\
**最近更新：:** [2019 年10 月 16 日 06:05 UTC](https://meta.discourse.org/t/we-cannot-detect-if-your-account-was-created-please-ensure-you-have-cookies-enabled/109626 "2019-10-16T06:05:36Z")

</div>

大家好！ 今天得知，人们无法在我们的 Discourse 页面（https://answerhub.lightact-systems.com）上创建新账户，因为无论他们选择哪种登录方式（用户名/密码、Facebook、Google、T…

---

## [是否从首页排除特定分类的文章？](https://meta.discourse.org/t/exclude-category-posts-from-displaying-on-home-page/125035)

<div class="topic-metadata">

**Author:** [@chris-remus](https://meta.discourse.org/u/chris-remus)\
**回复:** 11\
**最近更新：:** [2019 年10 月 16 日 01:50 UTC](https://meta.discourse.org/t/exclude-category-posts-from-displaying-on-home-page/125035 "2019-10-16T01:50:39Z")

</div>

您好， 我们每日更新帖子发布在此处 - forum.stakingdefense.org 这些帖子淹没了其他类型的帖子。是否可以将“每日网络更新”分类的帖子排除在主页显示之外？ 谢谢…

---

## [互相评论彼此的论坛](https://meta.discourse.org/t/review-each-others-forum/127920)

<div class="topic-metadata">

**Author:** [@Zususu](https://meta.discourse.org/u/Zususu)\
**回复:** 8\
**最近更新：:** [2019 年10 月 15 日 22:51 UTC](https://meta.discourse.org/t/review-each-others-forum/127920 "2019-10-15T22:51:22Z")

</div>

A bit new here, but already running my own forum with Discourse with my own theme. I was wondering if there is a special platform for reviewing each other’s forum so the more experienced users could review and share the…

---

## [关于撇号的问题](https://meta.discourse.org/t/question-about-apostrophe/131032)

<div class="topic-metadata">

**Author:** [@ayberk](https://meta.discourse.org/u/ayberk)\
**回复:** 4\
**最近更新：:** [2019 年10 月 15 日 22:18 UTC](https://meta.discourse.org/t/question-about-apostrophe/131032 "2019-10-15T22:18:14Z")

</div>

你好， 我该如何更改我用红色标记的撇号？ 谢谢。

---

## [GitHub 提交差异统计链接导致 404 错误](https://meta.discourse.org/t/github-diff-stat-link-for-commits-results-in-404-link/131114)

<div class="topic-metadata">

**Author:** [@rugk](https://meta.discourse.org/u/rugk)\
**回复:** 3\
**最近更新：:** [2019 年10 月 15 日 22:09 UTC](https://meta.discourse.org/t/github-diff-stat-link-for-commits-results-in-404-link/131114 "2019-10-15T22:09:11Z")

</div>

这是一个代码块： STR 点击差异摘要（本例中为 +6-7）此处… 会发生什么 在 https://github.com/rugk/mastodon-simplified-federation/commit/f8dedaa250ce2ea1734731a107cbe25b24f660e9/files 出现 404 错误 本应…

---

## [付费插件“回复和/或点赞要求”](https://meta.discourse.org/t/paid-plugin-reply-and-or-like-required/131044)

<div class="topic-metadata">

**Author:** [@maydo](https://meta.discourse.org/u/maydo)\
**回复:** 2\
**最近更新：:** [2019 年10 月 15 日 21:56 UTC](https://meta.discourse.org/t/paid-plugin-reply-and-or-like-required/131044 "2019-10-15T21:56:54Z")

</div>

您希望完成什么？ 一个插件，用于隐藏内容 \[hidden\]需要回复和/或点赞才能查看\[/hidden\] 需要回复或点赞才能查看隐藏内容 您希望何时完成？ 尽快 您的 …

---

## [在静态页面中嵌入 PDF 的插件](https://meta.discourse.org/t/plugin-to-embed-pdfs-in-a-static-page/130871)

<div class="topic-metadata">

**Author:** [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)\
**回复:** 2\
**最近更新：:** [2019 年10 月 15 日 20:34 UTC](https://meta.discourse.org/t/plugin-to-embed-pdfs-in-a-static-page/130871 "2019-10-15T20:34:40Z")

</div>

大家好， 我需要一款插件，能够创建静态页面，嵌入我在帖子中上传的 PDF 文件，并通过该静态页面的链接修改帖子中上传文件的链接。 静态页面应……

---

## [最小密码长度](https://meta.discourse.org/t/min-password-length/129518)

<div class="topic-metadata">

**Author:** [@hosna](https://meta.discourse.org/u/hosna)\
**回复:** 8\
**最近更新：:** [2019 年10 月 15 日 19:21 UTC](https://meta.discourse.org/t/min-password-length/129518 "2019-10-15T19:21:39Z")

</div>

为什么我无法将最小密码长度减少到少于 8？🤔

---

## [是否有办法为不同主题设置主页分类布局？](https://meta.discourse.org/t/is-there-a-way-to-make-the-main-page-category-layout-different-for-different-themes/130960)

<div class="topic-metadata">

**Author:** [@Jennifer\_Abrams](https://meta.discourse.org/u/Jennifer_Abrams)\
**回复:** 1\
**最近更新：:** [2019 年10 月 15 日 18:51 UTC](https://meta.discourse.org/t/is-there-a-way-to-make-the-main-page-category-layout-different-for-different-themes/130960 "2019-10-15T18:51:59Z")

</div>

在 Discourse 中，用户显然可以在偏好设置中选择自己的主题。 但许多设置似乎是全站通用的，而非针对特定主题。 是否可以通过 CSS 为每个主题的默认值设置特定的分类布局？

---

## [处理已取消的会员资格](https://meta.discourse.org/t/handling-cancelled-memberships/131058)

<div class="topic-metadata">

**Author:** [@markwill](https://meta.discourse.org/u/markwill)\
**回复:** 6\
**最近更新：:** [2019 年10 月 15 日 18:37 UTC](https://meta.discourse.org/t/handling-cancelled-memberships/131058 "2019-10-15T18:37:21Z")

</div>

我正在使用 WordPress SSO 来授权已购买会员资格的用户（我在 WordPress 中实现了自定义逻辑来判断他们是否为会员）。一切运行正常，但我想知道如何处理已取消……

---

## [品牌头部中的幻影链接](https://meta.discourse.org/t/phantom-link-in-brand-header/312645)

<div class="topic-metadata">

**Author:** [@MarkTuff](https://meta.discourse.org/u/MarkTuff)\
**回复:** 2\
**最近更新：:** [2019 年10 月 15 日 17:09 UTC](https://meta.discourse.org/t/phantom-link-in-brand-header/312645 "2019-10-15T17:09:30Z")

</div>

嗨 @vinothkannans，不确定为什么，但我这里悬停着一个虚假的链接。它实际上没有跳转到任何地方。 我不认为我的设置中有什么奇怪的地方。有任何想法吗？

---

## [禁用链接预览功能？](https://meta.discourse.org/t/disable-link-preview-feature/118808)

<div class="topic-metadata">

**Author:** [@Laurent](https://meta.discourse.org/u/Laurent)\
**回复:** 6\
**最近更新：:** [2019 年10 月 15 日 16:08 UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808 "2019-10-15T16:08:32Z")

</div>

链接预览往往错误多于正确，经常显示与 URL 无关的内容（这不是 Discourse 的错，我知道要概括网页内容非常困难）。 另外，我认为它赋予了 UR… 过多的权重。

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

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