Skip to content

[NodeBB] Auto assign a label or group title

Solved Customisation
  • Hello there 🤞

    I would like to automatically assign a label/or several (group title) for new users with a validated account

    2e2f8f97-74a2-42f8-9354-2dcfe39cbefb-image.png

    Like this all registered users will have at least one 🙂

    It’s possible to do that ?

    many thanks to the communauty 😉

  • @phenomlab said in [NodeBB] Auto assign a label or group title:

    @DownPW I’m almost positive there used to be a plugin that performed exactly this task, but I can’t seem to locate it within npm. I expect you could (relatively easily) perform this function by listening to the registration hook and leveraging that to add the user to a group programmatically, although this would need some development and testing

    Ok thanks for your answer @phenomlab

    I will rather look for a plugin allowing me to do it because I don’t have time to develop this function.

    I’ll keep you posted on my research 😉

    – >In fact, all my users are already in a group called “all”

    What interests me the most is to automatically assign the group label in the user profile

    @DownPW

    Resolve 🙂

    since all users are in this group by default. I just had to put this group in non-private and check the display of the badge.

    By default, NodeBB displays the user’s default group label unless the user changes it himself

  • Hello there 🤞

    I would like to automatically assign a label/or several (group title) for new users with a validated account

    2e2f8f97-74a2-42f8-9354-2dcfe39cbefb-image.png

    Like this all registered users will have at least one 🙂

    It’s possible to do that ?

    many thanks to the communauty 😉

    @DownPW I’m almost positive there used to be a plugin that performed exactly this task, but I can’t seem to locate it within npm. I expect you could (relatively easily) perform this function by listening to the registration hook and leveraging that to add the user to a group programmatically, although this would need some development and testing

  • @DownPW I’m almost positive there used to be a plugin that performed exactly this task, but I can’t seem to locate it within npm. I expect you could (relatively easily) perform this function by listening to the registration hook and leveraging that to add the user to a group programmatically, although this would need some development and testing

    @phenomlab said in [NodeBB] Auto assign a label or group title:

    @DownPW I’m almost positive there used to be a plugin that performed exactly this task, but I can’t seem to locate it within npm. I expect you could (relatively easily) perform this function by listening to the registration hook and leveraging that to add the user to a group programmatically, although this would need some development and testing

    Ok thanks for your answer @phenomlab

    I will rather look for a plugin allowing me to do it because I don’t have time to develop this function.

    I’ll keep you posted on my research 😉

    – >In fact, all my users are already in a group called “all”

    What interests me the most is to automatically assign the group label in the user profile

  • undefined phenomlab marked this topic as a regular topic on 24 Dec 2022, 13:36
  • @phenomlab said in [NodeBB] Auto assign a label or group title:

    @DownPW I’m almost positive there used to be a plugin that performed exactly this task, but I can’t seem to locate it within npm. I expect you could (relatively easily) perform this function by listening to the registration hook and leveraging that to add the user to a group programmatically, although this would need some development and testing

    Ok thanks for your answer @phenomlab

    I will rather look for a plugin allowing me to do it because I don’t have time to develop this function.

    I’ll keep you posted on my research 😉

    – >In fact, all my users are already in a group called “all”

    What interests me the most is to automatically assign the group label in the user profile

    @DownPW

    Resolve 🙂

    since all users are in this group by default. I just had to put this group in non-private and check the display of the badge.

    By default, NodeBB displays the user’s default group label unless the user changes it himself

  • undefined DownPW marked this topic as a question on 24 Dec 2022, 14:08
  • undefined DownPW has marked this topic as solved on 24 Dec 2022, 14:09
  • @DownPW

    Resolve 🙂

    since all users are in this group by default. I just had to put this group in non-private and check the display of the badge.

    By default, NodeBB displays the user’s default group label unless the user changes it himself

    @DownPW very useful tip. Thanks

  • Did this solution help you?
    Did you find the suggested solution useful? Why not buy me a coffee? It's a nice gesture, and a great way to show your appreciation 💗


1/5

22 Dec 2022, 13:05


Threaded Replies


Related Topics