# Latest

**URL:** https://meta.discourse.org/latest.md?page=1455&state=watching

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

**Page:** 1456

---

## [Batch processing to search and replace in all posts](https://meta.discourse.org/t/batch-processing-to-search-and-replace-in-all-posts/33621)

<div class="topic-metadata">

**Author:** [@dandv](https://meta.discourse.org/u/dandv)\
**回复:** 6\
**最近更新：:** [2016 年8 月 17 日 10:24 UTC](https://meta.discourse.org/t/batch-processing-to-search-and-replace-in-all-posts/33621 "2016-08-17T10:24:55Z")

</div>

Is there a simple Ruby script somewhere that can be easily tweaked to do a search and replace in all posts? I’ve migrated from MyBB and there are some tiny formatting tweaks that need to be made, e.g. replace \[hr\] with -…

---

## [登录按钮的表单属性](https://meta.discourse.org/t/login-button-form-attribute/109828)

<div class="topic-metadata">

**Author:** [@mcnesium](https://meta.discourse.org/u/mcnesium)\
**回复:** 2\
**最近更新：:** [2019 年2 月 23 日 08:29 UTC](https://meta.discourse.org/t/login-button-form-attribute/109828 "2019-02-23T08:29:38Z")

</div>

在此提交中，登录按钮曾添加了 form 属性，但该提交随后又将其移除。这导致某些密码管理器无法自动提交登录表单。 相关： https://meta.discourse.org/t/logi…

---

## [Separating View from Data, Plugins, Modularity](https://meta.discourse.org/t/separating-view-from-data-plugins-modularity/48612)

<div class="topic-metadata">

**Author:** [@phisch](https://meta.discourse.org/u/phisch)\
**回复:** 2\
**最近更新：:** [2016 年8 月 15 日 13:35 UTC](https://meta.discourse.org/t/separating-view-from-data-plugins-modularity/48612 "2016-08-15T13:35:36Z")

</div>

Hi, How modular is Discourse internally? Will it easily be possible to develop a plugin which uses a different approach to discussion for a certain category? Does Discourse use the MVVM principle or something similar, …

---

## [盾牌图标对齐错误](https://meta.discourse.org/t/shield-icon-aligned-wrong/109877)

<div class="topic-metadata">

**Author:** [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)\
**回复:** 1\
**最近更新：:** [2019 年2 月 23 日 02:30 UTC](https://meta.discourse.org/t/shield-icon-aligned-wrong/109877 "2019-02-23T02:30:24Z")

</div>

我不确定是不是我的笔记本电脑的问题，但我注意到盾牌图标的位置稍微向下偏移了。

---

## [Postman 设置：适用于 Memberful SSO 托管实例](https://meta.discourse.org/t/postman-settings-for-memberful-sso-controlled-instance/109597)

<div class="topic-metadata">

**Author:** [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)\
**回复:** 2\
**最近更新：:** [2019 年2 月 22 日 23:34 UTC](https://meta.discourse.org/t/postman-settings-for-memberful-sso-controlled-instance/109597 "2019-02-22T23:34:18Z")

</div>

尝试使用 Postman 执行基本查询时失败，返回的是登录 HTML 页面。我的 Memberful SSO 实例的站点设置是否正确？ 我还有另一个非 SSO 实例，Postman 在那里运行正常。 A…

---

## [CSS 自动刷新不生效？](https://meta.discourse.org/t/css-auto-refresh-not-working/109658)

<div class="topic-metadata">

**Author:** [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)\
**回复:** 6\
**最近更新：:** [2019 年2 月 22 日 21:19 UTC](https://meta.discourse.org/t/css-auto-refresh-not-working/109658 "2019-02-22T21:19:42Z")

</div>

最近我注意到，对主题组件中的 CSS 所做的更改，直到在浏览器中执行硬刷新后才会反映在网站上。 以前，当保存主题 CSS 时，样式表会自动更新…

---

## [主题计时器使用了错误的日期](https://meta.discourse.org/t/topic-timers-use-wrong-dates/109819)

<div class="topic-metadata">

**Author:** [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)\
**回复:** 5\
**最近更新：:** [2019 年2 月 22 日 16:53 UTC](https://meta.discourse.org/t/topic-timers-use-wrong-dates/109819 "2019-02-22T16:53:14Z")

</div>

今天是 2019 年 2 月 22 日。 也就是 2019 年 2 月 22 日，星期五。 起初，我想为某个主题设置一个一周后自动关闭的计时器。我所说的“一周”是指 7 天。 然而，当前 Discourse 的时间范围机制存在一个问题……

---

## [SSL Let's Encrypt 安装后出现错误](https://meta.discourse.org/t/ssl-lets-encrypt-error-after-installation/108184)

<div class="topic-metadata">

**Author:** [@foros](https://meta.discourse.org/u/foros)\
**回复:** 8\
**最近更新：:** [2019 年2 月 22 日 16:31 UTC](https://meta.discourse.org/t/ssl-lets-encrypt-error-after-installation/108184 "2019-02-22T16:31:50Z")

</div>

您好， 因此，我已在 http://forosdeinmigracion.com 安装并重新安装了 Discourse，可能超过 10 次。SSL Let's Encrypt 一直正常工作，但突然在安装后，我的服务器无法……

---

## [SCSS 变量主题问题更新后出现](https://meta.discourse.org/t/scss-variable-theme-issue-after-update/103836)

<div class="topic-metadata">

**Author:** [@artur-shaik](https://meta.discourse.org/u/artur-shaik)\
**回复:** 4\
**最近更新：:** [2019 年2 月 22 日 15:06 UTC](https://meta.discourse.org/t/scss-variable-theme-issue-after-update/103836 "2019-02-22T15:06:06Z")

</div>

刚完成了内部更新，然后用启动器重新构建。 现在屏幕上显示的不再是我的网站，而是这个堆栈跟踪： 错误：\`red($color)\` 的 \`$color\` 参数必须是颜色 回溯： app/assets/stylesheets/common/fo…

---

## [SSO登录和注销问题](https://meta.discourse.org/t/sso-login-logout-issues/48351)

<div class="topic-metadata">

**Author:** [@junaid\_pk14](https://meta.discourse.org/u/junaid_pk14)\
**回复:** 2\
**最近更新：:** [2016 年8 月 12 日 00:43 UTC](https://meta.discourse.org/t/sso-login-logout-issues/48351 "2016-08-12T00:43:03Z")

</div>

{

---

## [Twitter AccessToken](https://meta.discourse.org/t/twitter-accesstoken/109789)

<div class="topic-metadata">

**Author:** [@HiedaNaKan](https://meta.discourse.org/u/HiedaNaKan)\
**回复:** 1\
**最近更新：:** [2019 年2 月 22 日 10:21 UTC](https://meta.discourse.org/t/twitter-accesstoken/109789 "2019-02-22T10:21:38Z")

</div>

如何获取绑定用户的 Twitter AccessToken？

---

## [允许版主修改主题时间戳](https://meta.discourse.org/t/allow-moderators-to-change-topic-timestamp/108702)

<div class="topic-metadata">

**Author:** [@southpaw](https://meta.discourse.org/u/southpaw)\
**回复:** 2\
**最近更新：:** [2019 年2 月 22 日 09:10 UTC](https://meta.discourse.org/t/allow-moderators-to-change-topic-timestamp/108702 "2019-02-22T09:10:15Z")

</div>

管理员应有权允许版主修改主题的时间戳。 我们有一些员工负责发布需要回溯日期的特定主题。目前，我的选择是 授予这些额外的员工更多权限……

---

## [当前升级 Docker 时卡住](https://meta.discourse.org/t/stuck-in-docker-currently-upgrading/109794)

<div class="topic-metadata">

**Author:** [@xiasummer](https://meta.discourse.org/u/xiasummer)\
**回复:** 1\
**最近更新：:** [2019 年2 月 22 日 05:33 UTC](https://meta.discourse.org/t/stuck-in-docker-currently-upgrading/109794 "2019-02-22T05:33:03Z")

</div>

我通过网页 xxxx/admin/upgrade 升级 Docker。 我点击了“升级”后便离开了该页面。 几天后，我发现网页卡在那里，显示 Docker 管理器仍处于“正在升级”状态。 如果…

---

## [在待审批列表中删除用户时出错](https://meta.discourse.org/t/error-on-delete-user-in-pending-approvals-list/107780)

<div class="topic-metadata">

**Author:** [@schungx](https://meta.discourse.org/u/schungx)\
**回复:** 3\
**最近更新：:** [2019 年2 月 22 日 05:07 UTC](https://meta.discourse.org/t/error-on-delete-user-in-pending-approvals-list/107780 "2019-02-22T05:07:06Z")

</div>

如何复现 为新用户和邮件支持设置审批流程 从某个新邮箱账户向多个类别发送邮件 新用户被暂存，并为每个用户创建新帖子，出现在审批列表中 进入审批…

---

## [更宽的汉堡菜单？](https://meta.discourse.org/t/a-wider-hamburger-menu/109231)

<div class="topic-metadata">

**Author:** [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)\
**回复:** 6\
**最近更新：:** [2019 年2 月 22 日 03:02 UTC](https://meta.discourse.org/t/a-wider-hamburger-menu/109231 "2019-02-22T03:02:59Z")

</div>

在桌面上，我发现菜单项因菜单宽度较窄而被截断： 菜单文本因超出 CSS 定义的最大宽度而被截断并显示省略号： 我考虑过使用 CSS 来加宽菜单……

---

## [移动端“群组添加新按钮”被隐藏在下拉菜单中](https://meta.discourse.org/t/groups-add-new-button-is-hidden-behind-drop-down-on-mobile/109761)

<div class="topic-metadata">

**Author:** [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**回复:** 1\
**最近更新：:** [2019 年2 月 22 日 02:43 UTC](https://meta.discourse.org/t/groups-add-new-button-is-hidden-behind-drop-down-on-mobile/109761 "2019-02-22T02:43:55Z")

</div>

有点容易造成混淆，修复起来应该不难吧？

---

## [有没有办法按回复数对搜索结果进行排序？](https://meta.discourse.org/t/is-there-a-way-to-sort-search-by-replies/109719)

<div class="topic-metadata">

**Author:** [@vbdubz](https://meta.discourse.org/u/vbdubz)\
**回复:** 4\
**最近更新：:** [2019 年2 月 22 日 02:18 UTC](https://meta.discourse.org/t/is-there-a-way-to-sort-search-by-replies/109719 "2019-02-22T02:18:36Z")

</div>

我知道可以按点赞数等排序，但有没有办法按回复数对论坛搜索结果进行排序？甚至能否在不进入主题的情况下直接显示每个主题的回复数量（就像默认的主题列表那样）？

---

## [使用 Sendgrid 托管账户？](https://meta.discourse.org/t/use-sendgrid-for-hosted-account/109692)

<div class="topic-metadata">

**Author:** [@Sean\_Strycker](https://meta.discourse.org/u/Sean_Strycker)\
**回复:** 3\
**最近更新：:** [2019 年2 月 22 日 01:36 UTC](https://meta.discourse.org/t/use-sendgrid-for-hosted-account/109692 "2019-02-22T01:36:26Z")

</div>

我们是否可以在 Discourse 托管账户上使用我们的 SendGrid 账户？

---

## [API GET 获取类别用户 notification\_level](https://meta.discourse.org/t/api-get-for-category-user-notification-level/109701)

<div class="topic-metadata">

**Author:** [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)\
**回复:** 5\
**最近更新：:** [2019 年2 月 22 日 00:59 UTC](https://meta.discourse.org/t/api-get-for-category-user-notification-level/109701 "2019-02-22T00:59:02Z")

</div>

我看到有人讨论通过 API 设置 notification\_level。那读取值呢？ 例如，我可以用以下方式设置值： PUT {{base\_url}}/category/14/notifications.json?api\_key={{api\_key}}&api\_username={{api\_user…

---

## [内容高亮](https://meta.discourse.org/t/highlighting-of-content/109779)

<div class="topic-metadata">

**Author:** [@dlukefinch](https://meta.discourse.org/u/dlukefinch)\
**回复:** 2\
**最近更新：:** [2019 年2 月 21 日 22:44 UTC](https://meta.discourse.org/t/highlighting-of-content/109779 "2019-02-21T22:44:27Z")

</div>

在 Discourse 上查看内容时，文本背景会短暂高亮。能否取消该效果？

---

## [启用 Discourse 的 CORS](https://meta.discourse.org/t/discourse-enable-cors/109616)

<div class="topic-metadata">

**Author:** [@csmu](https://meta.discourse.org/u/csmu)\
**回复:** 6\
**最近更新：:** [2019 年2 月 21 日 20:48 UTC](https://meta.discourse.org/t/discourse-enable-cors/109616 "2019-02-21T20:48:18Z")

</div>

可以在不重新构建应用镜像的情况下，为正在运行的自托管 Discourse 站点设置 DISCOURSE\_ENABLE\_CORS 吗？

---

## [Logster 2.1.0 在 discourse\_dev Docker 镜像中运行 unicorn 时导致段错误](https://meta.discourse.org/t/logster-2-1-0-causes-segfault-running-unicorn-in-discourse-dev-docker-image/109265)

<div class="topic-metadata">

**Author:** [@LeoMcA](https://meta.discourse.org/u/LeoMcA)\
**回复:** 11\
**最近更新：:** [2019 年2 月 21 日 19:39 UTC](https://meta.discourse.org/t/logster-2-1-0-causes-segfault-running-unicorn-in-discourse-dev-docker-image/109265 "2019-02-21T19:39:34Z")

</div>

由于将 Bump logster 更新至 2.1.0（#7000）· discourse/discourse@1c00e8a · GitHub，在 discourse\_dev Docker 镜像中尝试运行 unicorn 会导致段错误： discourse\_dev \> unicorn …

---

## [无法再通过邮件地址创建临时用户](https://meta.discourse.org/t/unable-to-message-email-address-to-create-staged-user-anymore/109676)

<div class="topic-metadata">

**Author:** [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**回复:** 4\
**最近更新：:** [2019 年2 月 21 日 17:44 UTC](https://meta.discourse.org/t/unable-to-message-email-address-to-create-staged-user-anymore/109676 "2019-02-21T17:44:32Z")

</div>

我不太确定这里发生了什么，但从昨天起，我和我的同事发现，我们已无法通过向电子邮件地址发送消息来创建临时用户。在消息收件人框中输入用户名，然后它……

---

## [允许用户无需审核即可回复](https://meta.discourse.org/t/allow-users-to-reply-without-moderation/109754)

<div class="topic-metadata">

**Author:** [@Vittorio\_Mauriello](https://meta.discourse.org/u/Vittorio_Mauriello)\
**回复:** 3\
**最近更新：:** [2019 年2 月 21 日 17:25 UTC](https://meta.discourse.org/t/allow-users-to-reply-without-moderation/109754 "2019-02-21T17:25:09Z")

</div>

你好， 我们正在测试该平台，但在测试对某个主题的回复时，系统会阻止消息并要求版主批准。我该如何关闭此功能？ 谢谢

---

## [新用户 \> 开始通过提示/帖子注册](https://meta.discourse.org/t/new-users-starting-registration-with-a-prompt-post/109748)

<div class="topic-metadata">

**Author:** [@Werner\_Puchert](https://meta.discourse.org/u/Werner_Puchert)\
**回复:** 3\
**最近更新：:** [2019 年2 月 21 日 15:27 UTC](https://meta.discourse.org/t/new-users-starting-registration-with-a-prompt-post/109748 "2019-02-21T15:27:32Z")

</div>

我在其他使用过的 Discourse 平台上见过这种做法。在注册期间，系统会向用户提出一个关于一般兴趣领域的问题，例如“你最喜欢的书是什么，为什么？”。 这个问题的答案将成为 ……

---

## [CSS 实现全局响应式宽度](https://meta.discourse.org/t/css-for-global-responsive-width/109726)

<div class="topic-metadata">

**Author:** [@rkaplan](https://meta.discourse.org/u/rkaplan)\
**回复:** 3\
**最近更新：:** [2019 年2 月 21 日 15:08 UTC](https://meta.discourse.org/t/css-for-global-responsive-width/109726 "2019-02-21T15:08:02Z")

</div>

我正在尝试配置整个站点的 CSS 以实现响应式布局，例如让宽度根据当前窗口的全宽进行调整。我知道这些条目属于暴力破解方式，并不特别优雅……

---

## [Discourse 重建后删除所有内容](https://meta.discourse.org/t/discourse-deleting-everything-after-rebuild/109712)

<div class="topic-metadata">

**Author:** [@guiqis](https://meta.discourse.org/u/guiqis)\
**回复:** 6\
**最近更新：:** [2019 年2 月 21 日 14:15 UTC](https://meta.discourse.org/t/discourse-deleting-everything-after-rebuild/109712 "2019-02-21T14:15:48Z")

</div>

每次我执行 ./launcher rebuild app 时，我的 Discourse 安装都会出现欢迎消息，就像第一次使用一样。因此，我需要先登录，然后恢复备份，之后才能正常工作。 我该怎么做才能修复这个问题？…

---

## [更改 Sidekiq 作业优先级](https://meta.discourse.org/t/changing-sidekiq-job-urgency/109564)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**回复:** 5\
**最近更新：:** [2019 年2 月 21 日 13:49 UTC](https://meta.discourse.org/t/changing-sidekiq-job-urgency/109564 "2019-02-21T13:49:38Z")

</div>

如果您曾使用过主题列表预览，可能会注意到在主题列表图片预览显示预览图之前存在延迟。主题列表图片似乎依赖于 Sidekiq 作业 PullHotlinkedIm…

---

## [PM 函数未触发通知](https://meta.discourse.org/t/watching-pm-function-not-triggering-notifications/109737)

<div class="topic-metadata">

**Author:** [@WorldIsMine](https://meta.discourse.org/u/WorldIsMine)\
**回复:** 2\
**最近更新：:** [2019 年2 月 21 日 13:17 UTC](https://meta.discourse.org/t/watching-pm-function-not-triggering-notifications/109737 "2019-02-21T13:17:54Z")

</div>

当我审查两个用户的私信（未邀请或提及管理员）时，切换到“关注”后，若话题有新回复，该操作无效。设置显示“您将收到此私信中每一条新回复的通知……”

---

## [Increasing DFP ad size on mobile](https://meta.discourse.org/t/increasing-dfp-ad-size-on-mobile/45118)

<div class="topic-metadata">

**Author:** [@charleswalter](https://meta.discourse.org/u/charleswalter)\
**回复:** 21\
**最近更新：:** [2016 年8 月 9 日 05:10 UTC](https://meta.discourse.org/t/increasing-dfp-ad-size-on-mobile/45118 "2016-08-09T05:10:14Z")

</div>

I’d like to look at updating the ad experience on mobile devices. Either looking to have the 320x50 ads fill the full width, or potentially look at introducing 300x250 ads. Can anyone think of a way to have the 320x50 a…

[上一页](https://meta.discourse.org/latest.md?page=1454&state=watching)

[下一页](https://meta.discourse.org/latest.md?page=1456&state=watching)
