User invite process improvements

I will second or third this (as if I have a say).

Email is turning into a nightmare for our project, partly our own design, we had people submit their emails into a google form because they had to enter two other addresses they would be grouped with.

We have malformed emails, emails with typos etc, but once we cleaned all those, well it seems like 60% of our recipients are having the emails flagged as spam (and if you work with general non techie folks, maybe 10% might know where to look).

It would help us a lot to message people an invite link, even ok to add a shorter expiry time stamp.

Thanks discoursers!

1 Like

We have this feature now! :gift:


WOW! Thank you @techAPJ and Team!!

This is fantastic. Updating now.

1 Like

I invite all people to a topic that is a Guide to the best of this forum.

Would it be easy enough to expand this to the invite to a specific article feature?


Sure I agree with that, @techapj can you cover this case as well? Same UI buttons.


Great feature request here in this topic @fysics, I’ll use this every day.

This can be done as such: Generating lots of Invite Tokens

Ok, done! :confetti_ball:


This is really fantastic. :confetti_ball: :dancers: :boom:

1 Like

Not only is the link that we get more inviting when I send it to a new person, but it’s also a way to easily tell if the person is already a member without shooting them an email if they weren’t.

This provides me so much more control & less questions in the entire invite process, and takes my use to just the right spot in one fell swoop.

What a great add on to Discourse!


This is an old thread; but it’s the best match I’ve found to the query I have. Much like Zane who made the first post; I have an invite-only community and would like to either set the username for each invited user (preferred) or else allow them to set it with their password when they click on the invite link.

Is there an option to do that; I haven’t found any options in the invite process. Any good workarounds?

The change username setting doesn’t really help in this case; if I set it to non-zero they can’t edit it as soon as they join and if I set it to zero they can’t edit it all; if I understand that setting correctly.

Let’s confirm with @techapj but I believe this is possible.


If you want to pre-stage username while inviting, there is only one option and that is generating invite links via Discourse API gem. Here is the howto:


Thanks. Unfortunately it’s too technical for me (at this stage). I don’t
know what Gem is or if we have it; and I’d be nervous to break it if I
tweaked it!

Still; will point our admin to it and check it out, and see where it lands
on the list.

Appreciate the link (and clarity that uploading a csv won’t help me).

1 Like

(Sorry for reviving thread) Is this feature planned? Currently evaluating Discourse for building a new (invite-only) community, however one requirement would be the possibility of sending invite links over instant messaging without exchanging email addresses. (So basically generating invite links without entering an email address at all.)

I’d try to implement this myself but I’m not quite comfortable enough with my Ruby skills.

Hi nkr, welcome to the forum

It is possible to invite members to topics by username or email address. You do not need to use email addresses.


Oh sorry, what I meant was inviting new users to the forum, not a specific topic. Can’t do that without entering an email address.

Discourse relies quite heavily on email. Email is used for password reset and to verify account ownership status, amongst other less critical (but very useful) features like notifications. Can you expand upon inviting users without knowing their email? How will they know you invited them?

1 Like

One need is migrating a group like meetup, FB, or listserv. Would be nice to publish/send a link that onboards the user and adds them to group like bulk invites (sans email). They would still have to provide an email to activate.


Exactly. Users could generate invite links which are valid once (or maybe even have a max number of possible invitees allowing them to be reused). Anyone who clicks this link would still have to enter an email address plus username and password to register.

We could still do notifications like “User XY registered using your invite link”.


Ah, you need them to be added to a group. This is certainly an interesting idea.

This is a concern I have with this. While this proposed feature would work well on sites where public registration is enabled, “open-ended” invite links would be a huge security hole for invite only sites.

1 Like