• 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

    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 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

  • Topic is now a regular thread  phenomlab phenomlab 

  • @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

  • Topic has been marked as a question  DownPW DownPW 
  • Topic has been marked as solved  DownPW DownPW 

  • @DownPW very useful tip. Thanks


If this topic and the associated threads resolved an issue for you, or was useful, why not buy me a coffee? It's a nice gesture, and there's other ways to donate if you wish 💗

Discover More