How do I enforce categories? So I can use Discourse better as a private self organisation tool

All I do if I forget is to change the category to one in my private group.

If you have trouble training yourself to not make mistakes with
“my private posts as topics in my private category”

try changing your workflow to
“my private posts as posts in my (private) personal message”. When you’re ready to make them public, select and move.

1 Like

Where in the help can I learn how to set this up?

If you go to your own profile page, click “new message”, add yourself as the “Add a user” and give it a title, you will in effect have your own private topic.

Then later as Admin you can use the wrench menu to select posts and “move” them to a category as a topic. You will still need to remember to give it a category, but I think the chances of making a mistake would be less because you would need to consciously go into your “private topic” and you would be thinking “this is private, I’m now making it public”.

2 Likes

Thank you for your thoughts however I want a solution that enables me to protect myself whilst posting as admin.
It is simple enough to protect myself if I am not admin because I choose a private topic.

I want a solution whereby

  1. I login with admin
  2. I click New Topic
  3. I enter some data and then click Create Topic
  4. If I have forgotten to set the category then Discourse warns me that I am about to create a public post.
1 Like

I liked your post before you edited it because you posted:

which is a workable approach.

However, your edit suggests that what you are wanting is either a type of confirm message box every time you create a topic, or the code to be able to somehow know your intentions and interrupt the process when it detects that you are about to make a mistake.

The first would get old fast, the second is not possible.

I think the best you could do is have a plugin that sets a personal default category for you when you don’t explicitly assign a category.

your edit suggests that what you are wanting is either a type of confirm message box every time you create a topic

I edited the previous post again to show that the warning message should only come up if the category has not been set.

or the code to be able to somehow know your intentions and interrupt the process when it detects that you are about to make a mistake

I am just asking for a normal validation there is no magic about this usually.

I think the best you could do is have a plugin that sets a personal default category for you when you don’t explicitly assign a category

Thanks, I will put that idea on my Things To Investigate list.