Choose groups and watched categories on signup

I know there can be custom user fields, but is there any way of sorting out group requests and category watching from the signup form?

(Either the normal Discourse signup form, or using a plugin, or separately using the API?)

Thanks.

2 Likes

I guess there might be two possibilities.

  1. A Discourse plugin that changes the sign up process.

  2. A separate script that uses the Discourse API to sign up and simultaneously make a group request and/or watch certain categories.

Iā€™m pretty sure itā€™s not possible using the standard settings.

Am I on the right track? Thanks.

1 Like

Iā€™m not sure what you mean by ā€œsorting outā€ but this might be the droid youā€™re looking for :grin:
Discourse-automation
even if sign-up is not in the Available triggers listā€¦ but I guess maybe sign-up is also user added to group TL0 ?

3 Likes

I believe this plugin will work.

4 Likes

The Custom Wizard Plugin looks promising. Iā€™ll have time to try it out next month!

It looks like a wizard could be triggered straight after the user signs up, allowing notification levels to be set per category.

The plugin also allows a user to be added to a group. Iā€™m not entirely sure how Discourse groups work, or how the plugin works with a private group (not publicly visible and/or users canā€™t join freely) - maybe it sends a group request. Alterernatively, the plugin allows a private message to be sent, so I could use this as a group request.

Iā€™ll look at Discourse Automation too.

Thanks to both of you.

3 Likes

Your welcome. If you figure out a template for first time set Up for users to pick categories let me know havenā€™t had much time to dig deep.

1 Like

I think it is now (at least, ā€œfirst logged onā€ is close enough):

Would the Automation plugin be able to set watch status per category based on custom fields too?

I donā€™t believe this is currently possible using Automation. However, I think we do have a new API endpoint that can now allow an admin to set a userā€™s notification level, which may be of some use:

(Though if theyā€™re added to a group automatically, you can also set the group default notifications for categories and tags and set them that way?)

2 Likes

Has this changed over the last year or so?

(Iā€™d like to have prospective users, on the signup page, be able to tick certain categories to decide which to ā€œwatchā€.)

2 Likes

Thatā€™s an interesting use case.

You can use the ā€œAdd user to group through User Custom Fieldā€ automation script, and then set up the ā€œCategory default notificationsā€ for the groups as you see fit.

1 Like

Thank you. I will look into that. It does have the disadvantage of potential confusion when people change their notification settings but remain in the original group.