For example, I am using the module nodebb-plugin-custom-pages and created a page called home.tpl and route /home, now if I change home page to a custom url /home and navigate to home page, it opens up /home but it is still visible in url. While setting it up to popular, /popular does not show up in url.
Custom profile fields
-
Any plan on adding the ability to create custom profile fields? Or is the intention to allow users to do it via plugins?
-
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
-
Sticking to the "minimalist" aspect, I'd definitely go for allowing plugins to introduce custom fields to user profiles, but only shown on the individual's profile page.
It's way too easy for templates to become cluttered...
-
Has there been any new developments on this (a plugin, maybe)? I'd love the ability to let my users write their own "about me" sections on their profile pages.
-
Yup. The
filter:user.profileLinks
hook will allow you to add custom pages to your user's profile page -
My apologies for dragging this back up, but a filter is something used by a plugin to add functionality, yes? Assuming I understand that correctly ... Is anyone aware of a plugin for this functionality, as of now?
-
-
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). -
@esiao, thanks for the info. I'm working on something that would need to institute a custom section on the profile, so I'll be looking into this.
-
@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. -
@esiao, excellent. Two heads are better than one!
-
@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?