Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

FòrumCAT

  1. Home
  2. Technical Support
  3. Move or Hide 'Uncategorized'

Move or Hide 'Uncategorized'

Scheduled Pinned Locked Moved Technical Support
4 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • crakila@community.nodebb.orgC This user is from outside of this forum
    crakila@community.nodebb.orgC This user is from outside of this forum
    crakila@community.nodebb.org
    wrote last edited by
    #1

    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 error

    Error 
    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 🙂

    julian@community.nodebb.orgJ 1 Reply Last reply
    0
    • crakila@community.nodebb.orgC crakila@community.nodebb.org

      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 error

      Error 
      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 🙂

      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote last edited by
      #2

      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 🙂

      1 Reply Last reply
      0
      • crakila@community.nodebb.orgC This user is from outside of this forum
        crakila@community.nodebb.orgC This user is from outside of this forum
        crakila@community.nodebb.org
        wrote last edited by
        #3

        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 😄

        julian@community.nodebb.orgJ 1 Reply Last reply
        0
        • crakila@community.nodebb.orgC crakila@community.nodebb.org

          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 😄

          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote last edited by
          #4

          Crakila are you adept at MongoDB commands?

          You'll want to remove -1 from the cid:0:children sorted set.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups