Possible to create an invite-only setup?

AI-generated summary

The discussion revolves around creating an invite-only setup in Discourse. craigconstantine initially thought invite-only was limited to staff and “trusted” users, but Benjamin_D clarified that trusted users are actually those at trust level 2 (TL2), which can be adjusted in site settings.

craigconstantine found that tokens can be set to be usable only once and have a per-user limit. However, they are still looking for a way to limit total growth by setting a site-wide daily limit on token generation. They also suggested that the invite interface should clearly communicate when the daily limit has been reached, whether for an individual or the entire site.

Additionally, craigconstantine raised concerns about integrating the invite system with a Discourse-plugin-based subscription system. They wondered if users would be able to create an account and fulfill a subscription in one streamlined process after following an invite, or if they would need to complete these steps separately.

  • you can join only if invited by an existing user
  • admin control to limit tokens so growth can be controlled
  • record of who invited who (to add some responsibility for who you invite)

…you’d think by now I’d learn to dig in settings first.

So I can create an invite-only setup, but it restricts invites to staff and “trusted” users.

What/who are trusted users? Can that be like, level-3 users? …that’d be slick! Have to earn the ability to invite others…

And my other point about being able to limit invites still stands: A way to say, 100 new invite tokens may be generated, and then users who can invite, can generate single-use-token invitations.

1 Like

The trick is in the threshold for tl2 :wink:

1 Like

Thanks for pointing me to that @Benjamin_D !

It looks like tokens can be set to be usable only once, and there’s a per-user limit. (So I could say, you can only invite 1 new user per day, for example.)

Is there a way to limit total growth? …a total limit across the site for the number of tokens generated per day— and zero should be a valid setting so I can effectively freeze new invitations.

The invite interface should say something nice like, “sorry there is a limit to the daily invitations and that has been reached for today” …or something making it clear that a) you have reached your per-day limit versus b) the site has reached it’s entire, all-users-combined, per-day limit.

1 Like

I’m also wondering how well the invite system would play with the Discourse-plugin-based subscription system?

If I create the site so that you cannot see anything until you’ve subscribed… are people going to follow an invite, create their account, and then see that they need a subscription? …or can the create-account and fulfill-subscription (enter and process payment) be done in one obvious flow?