Ah bugger! lol.

Wonder what is happening with mine. I presume all you need to do is the install via composer?

Ah removed and re-added with composer and now working! Weird!

Thanks anyway!

8 days later

Does anyone know if it is possible to configure the extension somehow to allow that the same invitation code is used multiple times?

My plan is to restrict access to the forum, so that only those can sign up who I want to ... and that can be sometimes 6 per day.

    Is it updated for beta 6?

    • UaMV replied to this.
      6 days later

      @Davis Quick question:

      Would you say that it's possible to modify the extension in a way to have one invitation code that you can use over and over again until you change it?

      That is what I need ...

      7 days later

      Luongmyno please enable debug in your config.php and post the information that pops up when clicking "debug" on the red error tooltip when you reproduce this error. That will help the author to fix the issue faster.

      Luongmyno works for me on beta 6. I do find though, if I try to create a another code that takes me past my allowed limit I see that error message. So one, like @luceos says, enable debug. Two, in admin, increase the allowed number of invites to a higher number ?

      2 months later

      davis/flarum-ext-inviteonly v0.1.0-beta3 is not working for me in flarum/core v0.1.0-beta.6

      I'm receiving the same error as @Luongmyno with the plugin, "Oops! Something went wrong. Please reload the page and try again.". And besides that, the Davis labels aren't showing correctly.

      Error

      As you can see in the developer console, a lot of requests are send while using the plugin.

      alt text

      Debug Output

      200 OK
      
      GET http://forum.com/api/davis/inviteonly/1
      
      <br />
      <b>Notice</b>:  Undefined property: Illuminat

      Someone else having these problems?

        yclaes This extension needs an update but I was holding off until stable. If I have time I might have a look.

          12 days later

          Davis
          FYI - Correct spelling of referal is referral. ?

          Thank you for the awesome extension. ♥

          18 days later

          Would love a way to not make it invite only, but still have referral links. Maybe a way to track them in the admin dashboard. That way people could "refer" their friends and get entered into a giveaway.

            Davis argh sorry for the double post. I forked your project on GitHub and modified it to do what I suggested above. I didn't have time to make it into an extension (localizations etc) so it's pretty janky but it works.

            2 months later

            I would really like to see Kyrne feature. I have an event and for this I have to invite a lot of people at once but I don't want anyone else to register at the forum. (Which someone already did.)

            Just a security issue I noticed: the /register endpoint is still open, you could register w/o a referral code.

            I can't reproduce that. When I go to flarum-forum.tld/register I get an error code. (Which could be produced by an extension.)