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


Navigation

    Cloudron Forum

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

    SOLVED Unread/Recent/Nav buttons don't work within categories/topics

    NodeBB
    3
    19
    35
    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.
    • Lonk
      Lonk @robi last edited by

      @robi Can you reproduce the error while watching the NGINX log?

      robi 1 Reply Last reply Reply Quote 0
      • robi
        robi @Lonk last edited by

        @Lonk said in Unread/Recent buttons don't work within categories/topics:

        @robi Can you reproduce the error while watching the NGINX log?

        it's not an nginx issue.

        it's a problem with how NodeBB generates the URL for the top buttons like /recent.

        I don't know why it would be doing the extra URI paths when all it needs to do is /recent.

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

          So this is def a nodebb bug...then?

          robi 1 Reply Last reply Reply Quote 0
          • robi
            robi @Lonk last edited by

            @Lonk said in Unread/Recent buttons don't work within categories/topics:

            So this is def a nodebb bug...then?

            that would be a rash conclusion at this point.

            I did post it here in the NodeBB section with the hopes to find out the actual reason, configuration or bug or otherwise.

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

              @robi When I installed a NodeBB plugin, the navigations links did become corrupt once and I had to fix it by going to /admin/settings/navigation and editing all the entries one by one. I reported this on their forum but didn't get any real response.

              robi 1 Reply Last reply Reply Quote 1
              • Lonk
                Lonk @robi last edited by

                @robi Have you switched to a regular singular sub domain and tested to see if the double sub-domain is the real issue at hand here?

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

                  @Lonk said in Unread/Recent buttons don't work within categories/topics:

                  @robi Have you switched to a regular singular sub domain and tested to see if the double sub-domain is the real issue at hand here?

                  Yeah, this is a good idea to check out as well. Just clone the forum to another place and check if the links are correct.

                  robi 1 Reply Last reply Reply Quote 0
                  • robi
                    robi @girish last edited by

                    @girish said in Unread/Recent buttons don't work within categories/topics:

                    @robi When I installed a NodeBB plugin, the navigations links did become corrupt once and I had to fix it by going to /admin/settings/navigation and editing all the entries one by one. I reported this on their forum but didn't get any real response.

                    This is a good suggestion, but I don't have enough access to do this and I don't see anything wrong with these entries.
                    Settings _ Navigation _ NodeBB Admin Control Panel.png

                    1 Reply Last reply Reply Quote 0
                    • robi
                      robi @girish last edited by

                      @girish
                      If I could, I'd have done this already.
                      It's a dyndns that only lets you control xxx.sub.domains, and not sub.domains.

                      Which is also why I asked for anyone with a wildcard domain for repro|comparison.

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

                        @robi said in Unread/Recent/Nav buttons don't work within categories/topics:

                        This is a good suggestion, but I don't have enough access to do this and I don't see anything wrong with these entries.

                        What I meant is the thing on the left side named "Route". Does it say "/categories" for you? In my case, it had become"corrupt" like "/categories#xxx" something.

                        e5c6cd80-a48d-4bc6-bba7-43c11ab31bea-image.png

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

                          it just says categories without the leading /

                          1 Reply Last reply Reply Quote 0
                          • robi
                            robi @girish last edited by

                            @girish thank you that was it!

                            I changed all the routes for all the menu items to start with a / and we're good now.

                            Like you said, it must have been a plugin that changed the routes 😕

                            Lonk 1 Reply Last reply Reply Quote 1
                            • Lonk
                              Lonk @robi last edited by

                              @robi said in Unread/Recent/Nav buttons don't work within categories/topics:

                              @girish thank you that was it!

                              I changed all the routes for all the menu items to start with a / and we're good now.

                              Like you said, it must have been a plugin that changed the routes 😕

                              Niceeeee. Always feels good to fix a weird problems - glad you got it figured out! ☺️

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post