Which category does "Make Public Topic" target?

When I click Make Public Topic on a Private Message, the message is converted to a topic - but I can’t work out which category it will end up in. How do I set the category for the ex-message?

Thanks, Nick

It goes in Uncategorized category. You can change the category only after you moved the topic.

Thanks - but I have disabled uncategorized topics, it’s there any way of choosing a category?

Nope, but I suppose it’s a legitimate feature request. You should wait for a member of the Discourse team to answer this question.

Editing the category doesn’t fire the notifications for the new category.

Another problem with this is when you want to move a message into a private category. There currently is no way to do that without briefly exposing the topic to the public :frowning:

It may happen that a topic is made public to everyone instead of being assigned to a restricted category and administrators do not immediately notice it.

It has also recently happened to me to have moved a PM containing a link to an alpha and private project in a public forum area rather than in a restricted category. Fortunately, a user immediately alerted me of the error I had done.

PS @fefrei is a ninja…

Thanks all, can someone point me towards the code involved so I can have a go at making a plug in? I haven’t made a discourse plugin but am reasonably handy with a text editor.

As a follow up.. as we have a policy of always categorising a topic i thought we could secure the uncategorised category. Looks like that is not an option.

Perhaps the easiest change would be the addition of a forum setting that lets you nominate a specific category for Make Public that defaults to uncategorised. That way folks could set up a secure transition category where they have a chance to categorise the topic appropriately without fear of inadvertently making sensitive content public.

我今天刚遇到这个问题。这里还有一个更严重的、目前尚未在主题中提及的问题。如果成员关注的是该功能默认所属的分类,系统会立即向他们发送关于该主题的通知,而这时你还没有机会更改分类。幸运的是,我后来转为主题的消息并不涉及机密内容。

我赞同提供管理员设置以选择不同默认分类的建议——这完全可行。或者,让该功能在触发任何通知之前,尊重“快速编辑”窗口期(在我们这里是10分钟——我知道这有点长),就像这是一个新主题一样。

复现步骤:

  1. 设置一个测试用户,关注该功能默认所属的分类(在我们这里不知为何是 Community Building,可能是因为我们禁用了无分类主题?)
  2. 编写一条消息
  3. 将该消息公开
  4. 检查出站邮件服务器(在我们这里是 Mandrill),查看是否收到通知

Ouch, it sends an email straight away?
I can see sending a Notification that when clicked would give the “oops”, but sending an email sounds risky.

My guess is the code is using the create time when accounting for the “ninja delay” instead of the move time?

I’m also having this issue where I want to turn a private message into a topic in a private category, without wanting to trigger notifications / listing in Latest / sending emails.

I found that this workflow works for me:

  • Unlist private message first
  • Make Public Topic
  • Re-categorize the topic
  • Re-list the topic
  • Delete admin messages

This will not trigger notifications or emails. It would be nice if you could pick a category when choosing Make Public Topic though – when I used this option, it went into a seemingly random category that I did not expect it to go to on our instance (since we have uncategorized disabled).

This not huge deal for us but we have a decent number of volunteer mods who sometimes forget to change the category, and the category it goes to we have set to not show in latest lists, so can be easily missed.

I also support this. It’s frustrating behaviour. @sam what’s involved in adding a setting to select the category for moving private posts public?

I think being able to select a category at conversion time would probably be the best option and also meets the principle of “least surprise”.

“you need to change a site setting before you make a PM public to control what category it goes into” isn’t very discoverable.

Yup, that makes sense.

这件事有什么进展吗?我们经常将版主(PMs)调动到我们的版主分类中。让他们以这种方式公开暴露出来实在糟糕。

我认为我们应该修复这个问题 @eviltrout

今天下午我有点时间,所以为此提交了一个 PR:

谢谢。我不熟悉“PR”这个术语。就时间框架而言,这指的是什么?