Simply removing the sign up button doesn't remove the ability for users to sign up. The API endpoint is still open to register.

    Davis You can close registration through the admin panel but I will take a look how I can disable sign up through this extension.

    A tutorial on how to set this up with wordpress would be greatly appreciated

      Kyrne I agree, a wordpress guide would be helpful. This looks good but I have no idea how to set it up with my wordpress site.

        8 days later

        Kyrne I don't have any experience with wordpress but I will try to spin up a test instance and post a short explanation here.

          wuethrich See this message is too excited, I was WordPress users, has been looking for ways to communicate with flarum. There is a request, the next document can be better with the map, so that we can not understand these English.

          5 days later

          I dont really understand how to do this sadly. Where can i find the config.php.dist and Forum.php?

            neoneosa I can give you a hand on this if you like. Is your code from your website public available?

            9 days later

            wuethrich Nice job, im using your extension here!

            The header-links are working well.

            But i've just noticed if the anonym user clicks "Start a discussion" or "Login to reply" buttons, the default flarum's login popup is shown. How can we fix (or prevent) it?

            Thanks for your time ?

              p0p3ye Oh good point I've missed that. Let me first do the Wordpress integration and after that I will take a look into this issue.

                wuethrich Thank you for doing this extension. I was waiting for it and I think I'm not the only one, this looks perfect.

                dadiocoleman You can simply create a token from your command line:

                strings /dev/random | grep -o '[[:alnum:]]' | head -n 30 | tr -d '\n'; echo

                or just hit randomly on your keyboard...

                This is perfect timing! Kudos, and a massive thank you.

                5 days later

                Seems to be doing exactly what it should!

                Now waiting for a Flarum "production ready" release... Because if I don't I'm afraid it will break at one point.

                What do you guys think?

                  remouk I agree!!
                  I really really really want to use Flarum!! It is sooo beautiful, but it is in its beta and it lacking core features. Hopefully it won't be too long before this becomes mainstream.

                  a month later

                  Hey guys. I'm trying to figure out how to integrate this to my website.

                  I follow all the steps (even though they are limited) but I cant get it to work.

                  Should I technically only need the following code to get it to work? Because it doesn't work for me:

                  require_once DIR . '/Forum.php';
                  $forum = new Forum();
                  $forum->login('username', 'a@b.c');
                  $forum->redirectToForum();

                  Using your test page "index.php" works fine, but when I implement those four lines of code into my own page,
                  it simply doesn't do anything.

                  On top of that, calling a php script that contains "$forum->redirectToForum();" from a JQuery POST call only returns the forum content. It doesn't actually redirect me to the forum page.

                  Please help.