Custom profile fields
-
I think @psychobunny already did some work on this. He made a cash plugin that adds currency to users https://github.com/psychobunny/nodebb-plugin-cash
-
Yup. The
filter:user.profileLinks
hook will allow you to add custom pages to your user's profile page -
Yeah, custom profile fields and choose which should be shown.
-
Just to be clear, is
filter:posts.custom_profile_info
now preferred overfilter:user.profileLinks
? -
@Ted One is for post and the other for profile. I thought that
user.custom_fields
is the one to create the fields but it fails.
The problem with it, is that you need to create a new user to fire the hook which is not what you expect from a custom field, it should be added after profile creation via a plugin.
In @psychobunny nodebb-plugin-cash there's the use offilter:posts.custom_profile_info
to actually show the the value and not the field, nowhere there is a custom field, it's a custom value that gets fired when a post is submited (working nicely btw).
I'm interested too because I was hopping to work on a plugin that take advantage of a user custom input to work but right now it doesn't seem that easy.
@frissdiegurke tried to help me https://community.nodebb.org/topic/2558/how-to-use-filter-user-custom_fields/4 but it seems more like a workaround (I havent tested it yet). -
@Ted If you achive this I would be greatly interested in how you've done it
By the way if I success in that I'll give you the word too. -
@Ted & @esiao
I wonder if you may share some experience on it? I am working on a similar thing but haven't get a clear clue how this could be done. Thanks!
-
Yeah, this is something i need in order to migrate my forum and its users custom profile fields on profile site is good enough for me
-
Just a note to other people that stumble across this old thread while looking for a custom profile field plugin. This plugin looks very interesting: https://community.nodebb.org/topic/4337/nodebb-plugin-ns-custom-fields-ns-custom-fields/3
-
@jongarrison <-- Thanks for the update, will try this plugin later!
@psychobunny <-- What about integration of this plugn to NodeBB core?