Kurzer Code, um einen Join/Leave-Gruppe-Button in einen Beitrag einzufügen

To integrate group memberships more fluidly into the community-building aspects of Discourse posts, it would helpful to have a short-cut for inserting the join group interface directly into any post.

For example, it could be a code added to the end of a group name, e.g. @volunteers_group:join. Whether the button appears as +Join or +Request to join or -Leave will depend on the users current membership and group security.

The button should be displayed with the group name, as well as a note indicating what priviliges joining that group offers, i.e. is it a public/private group; which categories have added visibility.

The feature would give administrators of projects the ability to bootstrap teams very efficiently.

5 „Gefällt mir“

Can’t you just send out invites which contain a group membership? As I understand it, invites work to add existing users to a group, correct @techapj?

2 „Gefällt mir“

I think the use case is around self service, the groups page is kind of hidden, it would be a fairly complex change permission wise to support the proposal though

1 „Gefällt mir“

Here’s an example post.

Welcome to the conference!

There are three content streams being featured, but each attendee should pick only one to focus on. Select which group to join below. We are also looking for 5 jury members to choose winning projects. Apply if interested.

Stream 1: Fruit – JOIN
Stream 2: Computers – JOIN
Stream 3: Waterfalls – JOIN

Apply to join the conference jury – APPLY

Thank you
Dr. Neylor

4 „Gefällt mir“

Currently the only way to add existing user to a group via invite is by using Invite Link (prepared via Invite Token), more details here:

The Invite Link can serve this case because the user will only be added to a group if they click on that link.

5 „Gefällt mir“

So you’re saying that there is already a method in the codebase for generating this link, contrary to @sam’s concern, and it’s mostly a matter of building a new UI around generating the link?

It’s not exactly what you are looking for and what Sam is proposing, it’s kind of a workaround which you can use if it works for you.

3 „Gefällt mir“

I think that “Stream 1…” example would still work pretty well if those “JOIN” buttons were appropriately styled and just linked to the group page. I strongly doubt you’d lose many people in the onboard funnel with that extra click.

Although far from a perfect equivalent, I do hate it when websites use that interactive “follow us” Twitter widget which asks me to follow them immediately instead of taking me to their Twitter stream so I can see if I’m actually interested in what they’re putting out.

2 „Gefällt mir“

Sort of, we should allow for /groups?only-show-group=bla which would be a very easy change and take away a ton of the current noise of simply linking to the groups page. (eg: what if there are 100 groups)

6 „Gefällt mir“

Maybe, the equivalent for topics is categories and tags… should groups also have categories and tags?

2 „Gefällt mir“

Ich hole das hier wieder hoch, ich habe gesucht und keine gute Option gefunden – Wir möchten viele Website-Einstellungen an einem zentralen Ort zentralisieren.
eine „Benachrichtige mich, wenn der Chatbot die Gruppe @xyz erwähnt“-Auswahl Ja/Nein, die mit dem Gruppenbeitritts-/Austritts-Handler verknüpft ist. Die Verknüpfung mit groups/?showonly= ist das Nächstbeste, aber das „Beitreten“ einer „Einstellungsgruppe“ ist für viele unserer Benutzer nicht intuitiv.

Ich mag die Ideen, die in diesem Thema besprochen wurden. Gruppen könnten sicherlich etwas Liebe gebrauchen, obwohl sie derzeit kein Schwerpunkt des Teams sind. Fühlen Sie sich frei, Verbesserungen als Theme-Komponente zu implementieren, um sie auszuprobieren!

Ein Gedanke, der mir kam, ist, dass wir Join/Leave-Buttons auf der Benutzerkarte für Gruppen hinzufügen könnten, die es Leuten erlauben, frei beizutreten und zu gehen.

Auf diese Weise könnte der Beispielbeitrag, den @trudat oben geschrieben hat umgeschrieben werden, z. B.:

2 „Gefällt mir“