Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Topics are now locked after 30 days

    Announcements
    2
    7
    139
    Loading More Posts
    • 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.
    • girish
      girish Staff last edited by

      Hi All,
      I have installed a new archiver plugin in this forum which auto-locks topics after 30 days of inactivity. I have excluded some of the categories like Announcements and App wish list. If you see any strange behavior, please let me know.

      1 Reply Last reply Reply Quote 4
      • girish
        girish Staff last edited by

        It seems this plugin is causing some login issues, I have disabled this for now to investigate what is happening.

        1 Reply Last reply Reply Quote 0
        • marcusquinn
          marcusquinn last edited by marcusquinn

          I'm not a fan of this, sorry. Leads to duplicate threads and there's plenty of older threads that can have value added to them as the community grows.

          We're not here for a long time - but we are here for a good time :)
          Jersey/UK
          Work & Ecommerce Advice: https://brandlight.org
          Personal & Software Tips: https://marcusquinn.com

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            @marcusquinn I had to disable it after 2 days because it was causing login issues.

            1 Reply Last reply Reply Quote 1
            • girish
              girish Staff last edited by

              Let me see if I can get it to unlock all the posts 🙂

              1 Reply Last reply Reply Quote 1
              • girish
                girish Staff last edited by

                As a heads up, if this forum goes down now and then, it's because I have to restart the forum to activate this archiver plugin (and try to see if it has some option to unlock all the posts)

                1 Reply Last reply Reply Quote 1
                • girish
                  girish Staff last edited by

                  Alright, I had to go the database and reset the lock state of all the posts 😕 Unfortunately, this means I had to reset genuinely locked posts as well. But I think we can live with that.

                  For future reference, I had to run this in the MongoDB shell:

                      x = db.getCollection('objects')
                      x.updateMany({ _key: { $regex: /^topic:\d+/ } }, { $set: { locked: 0 } })
                  

                  On a side note, NodeBB code is so well done 🙂

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Powered by NodeBB