@esfandiar Downgraded the node version and it seems that the issue is now resolved. Thanks.
Add custom property to the new and existing user profiles
Hey nodebb community,
I'm just new to nodebb but already did some research about the available hooks. I want to add a custom field to user profiles and found this: https://docs.nodebb.org/nb_NO/latest/plugins/hooks.html#filter-user-custom-fields
The documentation says
Allows you to append custom fields to the newly created user, ex. mobileNumber
what about existing user accounts?
can someone provide sample code on how to add a custom profile field that can be set by new and already existing user accounts?
Aza Noriega Community Rep
It's not an answer to your question but, just in case, for researching hooks better to use Github wiki
Node.js based forum software built for the modern web - Home · NodeBB/NodeBB Wiki
Copyright © 2023 NodeBB | Contributors