Salta al contenuto
0
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
Collassa

Forum Federato

Di Piero Bosio
  1. Home
  2. Categorie
  3. Senza categoria
  4. Move or Hide 'Uncategorized'

Move or Hide 'Uncategorized'

Pianificato Fissato Bloccato Spostato Senza categoria
4 Post 2 Autori 0 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • Crakilaundefined Questo utente è esterno a questo forum
    Crakilaundefined Questo utente è esterno a questo forum
    Crakila
    scritto su ultima modifica di
    #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 🙂

    julianundefined 1 Risposta Ultima Risposta
    • Crakilaundefined Crakila

      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 🙂

      julianundefined Questo utente è esterno a questo forum
      julianundefined Questo utente è esterno a questo forum
      julian
      scritto su ultima modifica di
      #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 Risposta Ultima Risposta
      • Crakilaundefined Questo utente è esterno a questo forum
        Crakilaundefined Questo utente è esterno a questo forum
        Crakila
        scritto su ultima modifica di
        #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 😄

        julianundefined 1 Risposta Ultima Risposta
        • Crakilaundefined Crakila

          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 😄

          julianundefined Questo utente è esterno a questo forum
          julianundefined Questo utente è esterno a questo forum
          julian
          scritto su ultima modifica di
          #4

          Crakila are you adept at MongoDB commands?

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

          1 Risposta Ultima Risposta
          Rispondi
          • Topic risposta
          Effettua l'accesso per rispondere
          • Da Vecchi a Nuovi
          • Da Nuovi a Vecchi
          • Più Voti


          • Accedi

          • Accedi o registrati per effettuare la ricerca.
          • Primo post
            Ultimo post