阻止未注册用户查看帖子

Kind of. That plugin theme still lets you see the main post though (1), and users browsing the topic view can see the content preview. I was looking for something that can just completely hide/replace the content with a message telling them to register, no preview of the post. Same for the topic view. Is it possible to modify that plugin’s code to do something like that or is Discourse just not designed for that use?

1:

有点。那个插件主题仍然允许你看到主帖(1),并且浏览主题视图的用户可以看到内容预览。我想要的是能够完全隐藏/替换内容,并显示一条要求他们注册的消息,没有帖子预览。主题视图也是如此。是否可以修改该插件的代码来实现类似的功能,还是 Discourse 本身就不支持这种用法?

1: