[nodebb-plugin-ns-custom-fields] NS Custom Fields
-
@Nicolas In console - the only "warns" I had was possible plugin compatibility issues with spam-be-gone, the Google & Twitter SSO plugins, and it skipped style.css of nodebb-plugin-newuser-invitation. Those appear anyway and don't affect the forum at all.
When I go to edit the custom fields in my profile, that's when it hangs, and there's nothing in log.
Each field had a key - "gender" and "club", with the same names but with capital letters at the start, and each option on both had an individual ID - all numerical (1-2, 1-42).
-
Better, if you will use non-numerical keys for options and fields, I mean -
f1-f2
, just prefix values with some letter.
Edit them. Restart Forum and try again. -
Deleted them both (there's no apparent way to edit the ID or label after they've saved). Added new gender field, used f1 - boy, f2 - girl as options, restarted forum, same issue occurring.
-
and the page doesn't stop loading
When you have this issue, is page rendered, i.e. you can interact with custom fields, or you have empty page?
Updated on dev machine NodeBB to the latest (1.0.2), visited my profile (I have many custom fields, some of them are selects), everything looks fine.
-
Nothing at all is being rendered, if you look at this screenshot, I've a footer widget for stats, with nothing between that and the top of the profile.
Whereas on the profile edit page, it renders fine:
It's odd. I'll remove the plugin, and try again and add new fields, restart forum and so on, maybe it's just not installed properly or something.
-
@Danny-McWilliams @Nicolas I have the same problem using select fields. Normal text fields will work. But select fields are not shown on the edit page and the page does not stop loading. Any solution?
-
@globalcow I wish I have the same issue to troubleshoot it.
Do you use Redis or MongoDB? -
If you want custom fields in the main edit section, I recommend to request such feature from the Core team.
Additional menu item for custom fields is a plugin way. There is no setting, which you could change in order to have custom fields in the main edit section. -
@Nicolas said in [nodebb-plugin-ns-custom-fields] NS Custom Fields:
If you want custom fields in the main edit section, I recommend to request such feature from the Core team.
Additional menu item for custom fields is a plugin way. There is no setting, which you could change in order to have custom fields in the main edit section.Ok! But can i change (rename) by hand ? CustomFields menu name to SOMETHING…?
I need DVB-S2 menu name instead of CustomFields
-
@Nicolas said in [nodebb-plugin-ns-custom-fields] NS Custom Fields:
If you want custom fields in the main edit section, I recommend to request such feature from the Core team.
Additional menu item for custom fields is a plugin way. There is no setting, which you could change in order to have custom fields in the main edit section.Need rename menu item «Change Extra» to DVB-S2 tuner! How do that ?
-
What do you mean by "CustomFields as a menu name" ?
There is a menu item -Change Extra
in user's profile. And there is a breadcrumb -Custom Fields
And there is a route -edit/custom-fields
Do you want change all of them? You can do it by editing source code of the plugin directly.
-
This post is deleted!
-
@Nicolas said in [nodebb-plugin-ns-custom-fields] NS Custom Fields:
If you want custom fields in the main edit section, I recommend to request such feature from the Core team.
Additional menu item for custom fields is a plugin way. There is no setting, which you could change in order to have custom fields in the main edit section.@Nicolas Has there been any movement on this from the core devs. Custom fields in the profile / required fields at time of registration are so direly needed!
-
@Nicolas Is there anyway to use your custom fields plugin but not have the fields editable? I plan to calculate the value outside of nodebb and update the database value.
Basically a read only value - similar to reputation
-
Do you want to mix them? I mean, to have "editable" and "non-editable"?
If every custom field is "non-editable" you could just customize your theme.Maybe it will be helpful - https://community.nodebb.org/topic/4337/nodebb-plugin-ns-custom-fields-ns-custom-fields/42?page=3