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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • 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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Announcements
  3. Topics are now locked after 30 days

Topics are now locked after 30 days

Scheduled Pinned Locked Moved Announcements
7 Posts 2 Posters 1.0k Views 2 Watching
  • 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.
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #1

      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
      4
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

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

        1 Reply Last reply
        0
        • marcusquinnM Offline
          marcusquinnM Offline
          marcusquinn
          wrote on last edited by marcusquinn
          #3

          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.

          Web Design https://www.evergreen.je
          Development https://brandlight.org
          Life https://marcusquinn.com

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

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

            1 Reply Last reply
            1
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

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

              1 Reply Last reply
              1
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                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
                1
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  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
                  1
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search