@Panda you’d be surprised. If you consider that you’d need to use the API to be able to populate a WordPress widget for example (which in turn would of course be PHP), taking this route is still immensely popular.
[NodeBB] Auto assign a label or group title
-
Hello there
I would like to automatically assign a label/or several (group title) for new users with a validated account
Like this all registered users will have at least one
It’s possible to do that ?
many thanks to the communauty
-
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 testingOk 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
-
-
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?
Related Topics
-
-
Nodebb design
Solved General -
-
-
-
-
NodeBB Footer
Solved Customisation -
Customising NodeBB
Locked Customisation