Move or Hide 'Uncategorized'
-
nodeBB version: v4.5.0
Hi everyone.
As you know, ActivityPub's 'All Known Topics' comes from/recent?cid=-1
and I wanted to make that accessible as either a category or a sub-category.So I added a "Remote Category", with the Category ID of
-1
for the aforementioned. Bad idea!
The category was added fine, it shows up as 'Uncategorized', but I can't move up or down the Category list, place it as a sub-forum of another category, or even make any changes to the category (changing icon, topics per page)If I try to change the 'Set Order' to
99
, it throws up an errorError Category does not exist
Which I understand because of the Category ID of
-1
So I decided to 'Purge category' - Thinking that the 'Remote Category' acted like a symlink in Linux.
It didn't delete the category itself, but it did delete any topics that were from the Fediverse (that's fine)
But it did remove all Privileges from the category.
Disabling the category doesn't remove the category from the Categories list either (Which I suspect is because of the error above)But now I am stuck with this category.
I was able to remove 'View' privileges from the category for non-admin users, but I can still see it.
Now, my issue is that I can't move it or hide it myself.Is anyone able to help on how to fix this?
I did find I was able to add a directory link in the 'Navigation' bar, which works perfectly, and non-admin users can still view the topics via the Navigation.
Thanks in advance
-
S support@community.nodebb.org shared this topic
-
Oh boy you really had some fun in the admin panel didn't you
Are you able to restore the privileges for the "Uncategorized" category, just so we get back to a regular state?
Just to confirm everything is technically back to normal except for the "Uncategorized" category on the forum index?
I can help get that sorted out for you with a MongoDB command, just wanted to clarify first
-
-
julian said in Move or Hide 'Uncategorized':
> Are you able to restore the privileges for the "Uncategorized" category, just so we get back to a regular state?Yes! I was able to restore the privileges by copying them from another category. Topics and posts from the Fediverse are working as normal.
julian said in Move or Hide 'Uncategorized':
> Just to confirm everything is technically back to normal except for the "Uncategorized" category on the forum index?This is correct.
Thanks for your help, Julian
-
Crakila are you adept at MongoDB commands?
You'll want to remove -1 from the
cid:0:children
sorted set. -
julian I'm not, unfortunately.
It's not something that I have touched before.