• Resources
  • Free Flarum hosting on an expert platform by FreeFlarum.com

geoffalan After a while, the logged in user times out. When you click a link, instead of prompting to log back in, it gives a permissions error. This could be confusing to users who don't know they need to log back in. Any solution to redirect them to re-login?

I don't think so. You should address this as a feature request for Flarum, or maybe it's just a bug and the user should be prompted to log-in. Not sure.

I am using the FoF Links extension and clicking between the links does not refresh the page if anything has changed. Is there a way to force a refresh? (I have enabled Pusher which does push a notification of a new post or reply, but not deleted ones.)

Again, this should be addressed to the developers of the FoF Links. We can't change how extensions or Flarum works, because we maintain none of that (we're not affiliated with Flarum, we're just a community provided service). Might be a bug, might not be, but we can't help.

If you share your forum URL, I can look at the logs for potential errors, but to be honest I don't think that there is anything wrong and it's just how the extension and Flarum works. I remember that FoF Links has a setting for whether the link is a Flarum link or not (whether to just load the page as single-page application or not, I guess). What I mean is that you could try adjusting certain settings a bit, maybe it'll work the way you want it.

ItsMrReals oops, yes I see now. Some extensions had absolute versions in composer.json. I've changed it so that now the latest versions will be used.

I've updated all extensions to their (now really) latest versions (I have to sync everything again because of some migrations, oonf)

It can be a nice feature to redirect from the old domain for a while when the custom domain is renamed.

    xdass when custom domain is renamed

    So, when you change your custom domain? But that's something that you should be able to do - we can't redirect from your old domain, because we do not own it.

    If you mean redirect on forum name change, then that's not possible either. That's why we've put a warning to "think twice before you rename your forum". In other words, "rename at your own risk and don't forget to notify your users before you do so". Yes, we could probably implement a system that will redirect users from the old forum to the new one for some time, but it's not as easy as it seems and it would require another time to develop.

    If you're really brutal though, you can rename your forum and register a new one with the old name. Then, write a simple JavaScript to redirect users to the new forum, eg.: window.onload > window.location bla bla bla there are tutorials on the internet and delete the forum after some time. But I do not recommend doing this because it's a brutal and useless, overcomplicated workaround.

    If you mean when you simply link your custom domain for the first time and redirect users from FreeFlarum's domain to yours, then I am pretty sure that that's a thing already.

      SKevo No, I did not do such a thing, but having such a feature can be useful for people who change it. I don't know the technical part, I just wanted to give suggestions.

        xdass I see. Well, its not happening, not soon at least...

        The redirect is simple (from Nginx config), but making it last only for some time would require us to get our hands dirty. And just reserving the redirect forever would then have to make it impossible to register a forum with that name (also when we would just have a temp redirect). And if somebody would change the name of their forum multiple times, then multiple redirects would be made. We could make a cooldown between renaming, but that's another work, or just limit the renaming, and so on and so forth... It's complicated (just like making it at least work somehow 😛)

        But I am actually thinking of implementing something like "max renames", or maybe just let people change the name only once, mainly to prevent abuse. Not sure, we'll see how it goes (if people will use ir much or if they'll be responsible).

          SKevo I understand. I thought it like a simple feature but it was more complicated than I expected :d

          Hey @SKevo, sorry for the tag. Is there any Discord Guild or maybe a DM on Discord to chat privately?

            ednatmp no, we only have E-Mail. Then there's GitHub and this discussion.

            If you want to DM me on Discord, here's my username: Kevo#7590

            SKevo
            Hey, its kinda lame question, but how do you make text orange or gradient? 😅 There are few easter eggs about post formatting which is working but doesnt show in post context menu. I've recently discovered by an accident text separator:


            haha 😁
            Is this covered in docs actually?

              aaronlbpeterman [color=orange]text[/color]

              For gradient, I've used online generator.

              Docs for FF will be worked on later when I finish more stuff. I'd like to PR to Flarum docs too then

              Hi, I would like to make a donation to FreeFlarum.

              The "donation" link on the FAQ page is void (https://www.freeflarum.com/donate).
              Clicking the link just reloads the FAQ page.

              How can I make a donation to FreeFlarum?


              Also thank you and Happy New Year!

                SV7 oops, yes I've changed the /donate route recently to redirect people to the docs URL and didn't update the link in the docs, which was /donate too, resulting in a loop. It should be working now.

                Happy New Year everyone!

                Hello all. Happy new year. Quick and maybe stupid question... Has the Welcome Banner edit box moved ? I can't find it anymore... Doc says it was under basics but nothing there.

                  jlannoy it's indeed in the "Basics" settings, section "Welcome Banner" at the very bottom of the page. If it's not there, then it might be a problem with your forum, since I can see it just fine.

                  If you don't see anything on that page, then it's definitely a bug. If that happens, I'll need your forum name to fix the issue (might be an extension causing the bug, cache, or maybe even CSS).

                    SKevo Yes you are right, the section is in the admin page but hidden. For my needs I can use the devtools to show it, edit and then save.

                    Apparently something is adding this piece of code :
                    <style>
                    #content > div > div.container > form > fieldset:nth-child(5) { display: none; }
                    </style>

                    in the admin page header, causing the bug.

                    My flarum is "swd" if you want to look at it when you have some time. (I have a workaround)

                      jlannoy yes, I thought so. The code is put in place to hide the "Test Mail" button to prevent user from spamming it. It is permanently throttled, but we've hidden it to get it off eyes and to not get complaints that it doesn't work. Since there is not really any unique ID for the element, we had to use nth-child CSS selector, which also has a side effect of hiding wrong elements. Since nothing seemed wrong on my forum when I was testing it, I kept it. I will remove the CSS now and then it should be fixed.

                      Hello, I want to submit my forum for Google search results however it requires me to add this record:
                      Text @ (codeFromGoogle)
                      The problem is I am already using @ in CNAME record. I asked my domain name provider (Namecheap) about this and he advised me to replace CNAME record with ALTER record. Can it break something? At freeflarum site, there is clearly stated to use CNAME record.

                        aaronlbpeterman yes, that will most likely break your forum's DNS, since FreeFlarum was made to work only with CNAME records.

                        I assume that you are trying to get your site verified at Google. As far as I know, Google offers different types of verification, so you might try that (eg. pasting a code in the header and such).