MikeJones I do get the current max-age when accessing your website and the preload website also doesn't complain anymore when I try.

Maybe you had not restarted/reloaded nginx (or the server) ?

There's still the redirect issue preventing preload through.

    clarkwinkelmann forgot to update I found where I needed to double tap my max-age. I am still looking into the redirect issue though.

    Thought everything with our forum was perfect, until we got a D and the following report:

    Your vendor folder is currently being served by your webserver. This could expose untrusted scripts to the world and compromise your security. Use a rewrite rule to prevent your webserver from serving this folder.

    Any idea how to fix that on a shared hosting?

      MikeJones yes there's one listen for www. and one for bare domain, they could be merged but it should work fine the way it is.

      The redirect "issue" is on line 5. Replace return 301 http://www.seekadventure.net$request_uri; with return 301 https://www.seekadventure.net$request_uri;

      user1993 great if it's fixed 👌

        2 months later

        Hi guys, following a suggestion from @luceos I implemented a simple first version of a forum showcase feature at https://lab.migratetoflarum.com/showcase

        The idea is as follow: any forum that has been scanned publicly (without checking "hide from homepage") will be added to the showcase tab. A ping is made every few weeks to check if the forum still exists and to update the metadata.

        Anybody can scan your forum and therefore get it on the showcase (which is kind of the point here actually), but I know not everybody will want to end up in the showcase. So I also took the opportunity to implement a proper opt out feature at https://lab.migratetoflarum.com/opt-out

        To opt out, you will have to add a meta tag to your forum, and it will instruct the lab to never show your forum in public results, including both the showcase and public scans. Users of the lab will still be able to scan the forum, but no link will appear on the homepage of the lab.

        I will probably retroactively add some previously scanned forums to the showcase once I'm sure everything is working correctly. Right now I've only pinged some well known forums to get started.

        Let me know if you notice any issue, it's an early version of the feature. Consider contacting me privately via the email in the footer if you have issues or concerns with the opt out feature.

        If you see a particular issue with your website, consider opening a GitHub issue so we can better track the resolution.

        Planned features (coming soon ™️) :

        • forum screenshot
        • ability to order by number of discussions/users

        What do you think of the feature ? Any suggestion for future updates ?

          What you forgot to mention is that this alleviates the issue with the Showcase tag and the discussions related to showcasing existing Flarum forums. The ping mentioned, checks whether the site is still serving an active Flarum installation and as such the Lab is able to provide an index/list of Flarum installations still used in production.

          I think there's huge potential in such an index, thank you for jumping onto the idea 🤗

          matteocontrini language is totally feasible. You can't hide the language packs you use in Flarum, so even if the lang attribute is not correctly configured I should be able to get the language.


          Question for all: would you be interested in a "MigrateToFlarum Showcase" extension that you can install on your forum so the lab can get better statistics with less requests, as well as letting you able customize a few things ?

          For example, the following could be done:

          • Get the number of discussions without hitting your API, as well as get number of discussions above 50k
          • Get the number of discussions if your forum requires registration to see discussions
          • Get the number of private discussions. Based on settings, could include discussions behind a paywall or private discussions between users for example
          • Get the number of users even if you don't allow user listing
          • Get activity stats
          • More frequent update of statistics
          • Automated addition to the showcase without having to scan the forum first
          • Ability to opt out from the lab without manually adding the meta tag
          • Ability to customize the forum description for the showcase
          • Ability to select showcased discussions or pages from the forum
          • Ability to select your forum market category or audience to sort out forums in the showcase

          These are just the ideas I had. They would all be optional if implemented. There's no timeline for such an extension, I'd love to hear your thoughts first.

          Also, what if it was a paid extension, so it supports the lab and offers you a bit more visibility in the showcase ?

          Now live on the lab:

          • If your forum url ends with a public folder, we check for misconfigured web root and offer a link to https://flarum.org/docs/install.html#customizing-paths
          • Made the exposed storage folder test compatible with beta 8
          • In the showcase forums are now sorted by discussion count by default
          • Added the ability to sort by discussion and user count
          • Descriptions now show under beta 8 forums in the showcase
          • And last but not least... SCREENSHOTS !

          Check out the showcase here https://lab.migratetoflarum.com/showcase

          Not all websites have gotten their screenshots yet, this should come with the next automated refresh for those I didn't manually trigger.

          Already noticed:

          I realized a few websites didn't load fast enough and have a "loading" page visible.

          Due to how the lab works, a forum will only be removed from the showcase if it has not been a Flarum for multiple weeks. However the screenshots will continue to be made, hence some error pages getting in the screenshots. I'll check how to work around that.

            16 days later

            clarkwinkelmann some of the showcase items are already did links or have JS errors. Is there something to be done about that? Lots of interesting installations I've found I pushed into the lab, there are now almost 100 registered. Could you have a look at how to keep the list cleaner, even if that means temporarily disabling items that seem to have compilation errors? Just a thought, I love the showcase.

              luceos yes I've seen that, I'll need to do some manual cleaning.

              Right now forums are scanned every two weeks and removed after two unsuccessful Flarum detection, so it can take a month before it disappears automatically. I could scan forums more frequently but as there is no way to control it I don't want to put unnecessary stress on the forum servers. How frequent would be too frequent ? Technically, I could scan every day, but it might be a bit too much...

              EDIT:

              Manual cleaning done, the list now looks a lot nicer.

              Most of the broken screenshots are because of some forums that were scanned via a non-canonical url... I'll try to come up with a fix for that. Most notably, forums accessible over HTTPS but with a canonical HTTP url 😐