# Trying to make a generic invite

**URL:** https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871
**Category:** Support
**Tags:** invites
**Created:** [August 19, 2023, 7:07pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871 "2023-08-19T19:07:46Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 19, 2023, 7:07pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/1 "2023-08-19T19:07:46Z")

</div>

I’m trying to make a nice generic invite for my community.

We’ve made a user with a nice username and name to appear on the invite screen.

But the number of invites is limited to 10, and the timeframe is limited to three months.

Is there a way to bypass the limit to create a generic invite with a large number of uses that we can post on our website and other socials so we can drive traffic to our discourse site?

---

<div class="post-metadata">

### Author: ![not-ethan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/not-ethan/32/282617_2.png) [@not-ethan](https://meta.discourse.org/u/not-ethan)
#### Post date: [August 19, 2023, 7:10pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/2 "2023-08-19T19:10:00Z")

</div>

Staff users can set the expiration date to anytime and go up to 5000 users with the default settings

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [August 19, 2023, 7:18pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/3 "2023-08-19T19:18:34Z")

</div>

Hi @spdegabrielle if you search “invite” in admin - settings, you should find the required fields you can configure.

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 19, 2023, 7:43pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/4 "2023-08-19T19:43:20Z")

</div>

@not-ethan and @Lilly

Thank you for responding so quickly.

I’m trying to make a generic invite, not tied to a particular user.

So while the staff users can do 5000 with any date limit, the invite is tied to their name. which isn’t very informative on the invite screen,

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/3/3/c33bb5794679db0a1ca98e11be3640cdd91da4bc.png)

@Lilly The user limits are restricted to three months - and there doesn’t seem to be a way to change that.

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 19, 2023, 7:45pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/5 "2023-08-19T19:45:59Z")

</div>

@Lilly my mistake - there is an ‘invite expiry days’ setting - but sadly it is global - I’m disinclined to change all users to 5000.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [August 19, 2023, 8:00pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/6 "2023-08-19T20:00:57Z")

</div>

Do you want all users to be able to invite, or just limit this one particular account or selected ones? If latter, I guess you could set `min trust level to allow invite` to TL4 then assign those users to that trust level. 🤔

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 19, 2023, 8:06pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/7 "2023-08-19T20:06:01Z")

</div>

Good suggestion. It seems reasonable as I’ve never had a user use the invite function. Still, I’d rather not remove the facility.

I’m guessing from your responses the a generic site invite - like many discord servers - is not a feature available in discourse?

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [August 19, 2023, 8:38pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/9 "2023-08-19T20:38:45Z")

</div>

Ok I think I may have figured it out. Use a staff account. The setting shown below: `invite link max redemptions limit` applies to staff accounts. Also `max invites per day` doesn’t appear to be limited by staff.

 ![IMG_0219](https://global.discourse-cdn.com/meta/original/4X/c/0/6/c0643e3fb1282117723711c2e35cd4f0ac68c88e.jpeg)

 ![IMG_0218](https://global.discourse-cdn.com/meta/original/4X/d/a/b/dab1bea1e177062649dcbc86b7b57a5450cd8fd1.jpeg)

Check out this topic

> [@Configuring how users can create and send invites for others to join your community](https://meta.discourse.org/t/configure-how-users-can-create-and-send-invites-for-others-to-join-your-community/124096):
>
> bookmark This guide explains how to configure, create, and manage user invitations in Discourse. person_raising_hand Required user level: Administrator Discourse allows users in permitted groups to invite new members to your community (default trust level 2). Invites can be configured to redirect the new user to a specific topic when they first join the site. Invites can also be configured to add the user to custom Discourse groups when they accept the invite. Configuring invite-rela…

In other words, exactly what @not-ethan said, but the settings don’t appear that clear.

Perhaps the setting descriptions could use some more clarity. 🤔

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 19, 2023, 8:56pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/10 "2023-08-19T20:56:47Z")

</div>

Yes I’m aware of staff account capabilities. But I’m after a generic invite, not one from one of our staff.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [August 19, 2023, 9:23pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/11 "2023-08-19T21:23:33Z")

</div>

What does generic mean now?

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [August 19, 2023, 9:26pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/12 "2023-08-19T21:26:03Z")

</div>

I’m confused as to why you don’t just make a designated staff account for this? I think I am just misunderstanding what you are trying to do. My apologies.

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 19, 2023, 9:27pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/13 "2023-08-19T21:27:29Z")

</div>

We only have a limited number of staff accounts. Would need to ‘unstaff’ someone.

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [August 20, 2023, 1:39am UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/15 "2023-08-20T01:39:49Z")

</div>

Why not temporarily increase the standard invite limit up to say, a few thousand+ uses, make your invite, then set the limit back to normal?

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 20, 2023, 8:25am UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/16 "2023-08-20T08:25:24Z")

</div>

Thanks I’ll try that and report back

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 20, 2023, 9:59am UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/17 "2023-08-20T09:59:43Z")

</div>

Im sad to say while it was a good idea  
Upping the limits seemed to have no effect on the user I created and impersonated.

I also just noticed the regular user invite doesn’t include the ability to set a landing topic.

![image](https://global.discourse-cdn.com/meta/optimized/4X/a/f/9/af96cabd8550e4316d516e6cac4ad8ee9d587b17_2_690x56.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/3/e/e3efbc70511a8b9724d505409c6fba7cd0a68c8a.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/3/1/231f5979f698c87cfade3cd926f8e7633dc4cd42.png)

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [August 20, 2023, 5:46pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/18 "2023-08-20T17:46:56Z")

</div>

You might want to create a user for this purpose, e.g. use `system` or “forum identity”.

You could use the API to generate links as that user, or impersonate.

> [@spdegabrielle](#):
>
> Upping the limits seemed to have no effect on the user I created and impersonated.

Which limit did you raise?

If it was only `max invites per day`, that is not the right one.

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 20, 2023, 6:25pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/19 "2023-08-20T18:25:31Z")

</div>

Good point! I missed ’ invite link max redemptions limit users’, but it ultimately failed.

I was able to create an invite with a 14 year lifespan and 5000 uses, but it is non-functional in practice, returning an ‘Validation failed’ error,

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/6/d/c6d123ba32769dfcd7f170068eaa832ba872ceb1.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/8/c/28c09ad0263a8c84f1ba3d69681737aa603f82a8.png)

It also lacks the ability to set the ‘Arrive at topic’ parameter available to staff users.

Thanks to everyone for their help.

I’m inclined to log a feature request for generic ‘Welcome’ invites that can go to an ‘about this site’ post.

s.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 20, 2023, 6:31pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/20 "2023-08-20T18:31:24Z")

</div>

> [@spdegabrielle](#):
>
> It also lacks the ability to set the ‘Arrive at topic’ parameter available to staff users.

For this bit, I think if you use the invite button from the topic itself it should allow a normal user to have an ‘arrive at topic’ version. Though the topic has to be in a public category:

> [@Creating and using invites](https://meta.discourse.org/t/create-and-use-invites/263314):
>
> bookmark This guide explains how to enable and utilize invitations in your Discourse community to enhance user engagement by bringing new members. person_raising_hand Required user level: Trust Level 2 (default) or higher. Invitations in Discourse allow users to bring new members into the community effortlessly. Here’s how you can create and manage invites effectively. Summary This document covers: How to access and use the Invites feature. Inviting users directly to topics. Viewing …

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spdegabrielle/32/190784_2.png) [@spdegabrielle](https://meta.discourse.org/u/spdegabrielle)
#### Post date: [August 20, 2023, 6:52pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/21 "2023-08-20T18:52:14Z")

</div>

Thanks  
did not realise that

I still have the "validation failed’ error - which I am guessing occurred because I set the user invite settings back to their defaults. (I’m assuming regular users are limited, and new users cannot send invites at all for good reasons)

As it stands my options are; _demote a staff user_, or _create an invite user_ with the steps

1. relax invite constraints for all users (5000 day, 5000 invites per user)
2. create a special user with the name ‘community invite’,
3. go to the ‘Welcome new users’ topic while impersonating user
4. create the invite with the maximum number of uses (length defaults to 14 years)  
Noting that I must not reset the invite settings to their defaults or the invite will trigger a ‘Validation failed’ error and be unusable.

By comparison Discord communities have generic invites like `https://discord.gg/elixir` that go straight to their onboarding or nominated channel.

S.

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/a/5/ea5e0f5d10225306933cfd8dcd05d036f85ccbc9.png)

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [August 21, 2023, 10:24pm UTC](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871/22 "2023-08-21T22:24:58Z")

</div>

> [@spdegabrielle](#):
>
> Is there a way to bypass the limit to create a generic invite with a large number of uses that we can post on our website and other socials so we can drive traffic to our discourse site?

Yes, don’t use an invite link. 😃

I’m not being facetious, but invite links, outside of a private, exclusive community don’t provide enough benefits, in my opinion.

If you share how your community is configured, I could give specific advice. Here’s what I’ve done with Discourse in the past:

1. Create a welcome topic explaining stuff, and inviting the public to join the forums, explaining it’s low traffic, no spam, run by whichever org, etc. (the invite page)
2. Take that topic URL and create a permalink for it in Discourse, so `https://forums.examples.org/you-are-invited` → `https://forums.example.org/t/welcome/1234`.
3. Share `https://forums.examples.org/you-are-invited` on social media

In this scenario the forums were public, and user could sign up without pre-approval. That permalink is “evergreen”, because I can change where it points; I can publish it online, in print, as a QR code, etc.

That’s one content-driven approach to inviting new members. 🙂

[Next page](https://meta.discourse.org/t/trying-to-make-a-generic-invite/275871.md?page=2)
