User invite process improvements

Continuing the discussion from “There was a problem sending another activation email” …:

Are there any plans to alter this process? It seems a bit dysfunctional. (The nature of my community is invite-only, so I’m using this feature a bit more and probably nitpicking more than typical.)

For example: if username changes are disabled (username_change_period = 0), there is no opportunity for the inviter or the invitee to set a username at all. An admin must wait for the user to accept the invitation, then must manually set a username for them. (The workaround I’ve used is to allow users to change their usernames at will — not ideal.)

Passwords are likewise, except that a user always has the option to set or reset their password.

Here’s a simple mockup:

Additionally, it would be nice to be able to create invite links with no email attached at all. (i.e. retrieve the invite link in plaintext). This would be useful for sending invites to users by means other than email… such as IRC, facebook, etc.

It may be necessary in these cases to force the user to specify an email address once they accept / click the link. Another mockup:


Edit / additional thoughts.

I definitely like the idea of invites being painless / one click, but in my case, it would be very nice to force users through a subset of the normal registration process when they accept an invite.

7 Likes

I know that this is possible, for that exact usecase (sending over a different channel). @techapj, can you answer some of this?

1 Like

I am quite opposed to assigning passwords, as it means the user has to change their password later anyway. Ideally users log in with a shared credential (Google, Facebook, Yahoo) that provides a validated email and that is their “password”.

I at least feel like users should be prompted with a reduced version of the default registration form when they “redeem” an invite. The current system of throwing new invitees into the forum with no guidance (other than the welcome message in their inbox with some instructions) is jarring.

I’ve had several questions about usernames, passwords, and the like.

2 Likes

Generate a copyable invite link is something I think we should do, by next release, @techapj

3 Likes

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:

4 Likes

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?

2 Likes

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

2 Likes

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:

https://github.com/discourse/discourse/commit/eb96016043fa646b486f04790ff31eed60234a06

4 Likes

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!

3 Likes

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.

2 Likes

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:

4 Likes

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.

3 Likes