[nodebb-plugin-ns-custom-fields] NS Custom Fields
-
@Nicolas said in [nodebb-plugin-ns-custom-fields] NS Custom Fields:
@teh_g Birthday is part of the core. The main idea of Custom Fields is to add extra fields.
Birthday actually doesn't get displayed oddly enough. Just age is displayed. I'll poke around elsewhere though!
-
@Nicolas I can't seem to get this working on my 1.4.5 install. I get a 404 for the ACP template:
404 NOT FOUND Route Count /assets/templates/admin/plugins/custom-fields.tpl 1
UPDATE:
Had to do a ./nodebb build after install and now it is showing up! Thanks! -
Version 5.0.0
Summary: update is about a compatibility. Also, there was a critical issue, which would prevent latest NodeBB ACP from compiling.
- Compatibility with NodeBB v1.5.0
- Remove extra payment method from a Donation section
- Update development dependencies for ACP panel
-
@nicolas Great plugin. Is there any way to let users spice up their profiles by adding:
- their pictures/videos gallery
- share their status updates like fb status updates
- Basically let users share their stuff from life on their user profile page.
Is there any other plugin already which lets us do this? @fais3000
-
What you have described, would be a different plugin. Ability to have an interactive profile page, like a Facebook wall.
-
@nicolas Yes that interactive plugin would be awesome! i really love your plugins and i am going to give you donation too.. i am using ns awards and ns spoiler, u can let me know via which plugin do u want me to donate u from
-
@nicolas is this fully compatible with node bb 1.9.2 persona theme?
i dont see this plugin in my ACP find plugins but i see this instead https://github.com/thadeuszlay/nodebb-plugin-thad-persona-custom-fields
dont know which 1 works fine?
-
Version 6.0.0
The new version is available. Summary: no new features.
- Changed compatibility with NodeBB v1.11.x
-
@Nicolas said in [nodebb-plugin-ns-custom-fields] NS Custom Fields:
Version 6.0.0
The new version is available. Summary: no new features.
- Changed compatibility with NodeBB v1.11.x
Does this plugin work with write api? if so what would be the data to post to modify? Because; _uid=2&steamid=test or _uid=2&customFields[0].steamid=test"
The key doesnt seem to work.
So I was looking into it, basically need to add routes etc, your code base is deeply confusing to me. So I'll just request and hopefully in the future youll add it
@Nicolas Can you please add custom fields routes to allow access via nodebb write api pretty please
-
@Nicolas @Joykiller Ah yeah, write API listens for some hooks if you want to add your own routes to the Write API
Seems a little redundant because you could just attach the route to
app
yourself in your init handler, but... well, there it is. -
@julian said in [nodebb-plugin-ns-custom-fields] NS Custom Fields:
@Nicolas @Joykiller Ah yeah, write API listens for some hooks if you want to add your own routes to the Write API
Seems a little redundant because you could just attach the route to
app
yourself in your init handler, but... well, there it is.Yeah decided to just write directly to mongo for what i need.
-
Hello! I have installed a plugin few days ago. Didn't seem to find anything related to it in my dashboard after I enabled it. Today I found this message in a log file
2019-05-22T17:12:02.076Z [4567/10922] - [31merror[39m: Error: Cannot find module './src/emitter' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load (internal/modules/cjs/loader.js:508:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Module.require.main.require (/home/nodebb/nodebb/require-main.js:8:10) at /home/nodebb/nodebb/node_modules/nodebb-plugin-ns-custom-fields/plugin/nodebb.js:9:31 at Object.<anonymous> (/home/nodebb/nodebb/node_modules/nodebb-plugin-ns-custom-fields/plugin/nodebb.js:47:3) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32)
Does somebody faced the same issue? I am using v1.12.1
-
@KuznyaOrg Yea getting same or similar reported error with ns-embed, discussed over here https://community.nodebb.org/topic/7135/nodebb-plugin-ns-embed-ns-embed/48
-
@Nicolas said in [nodebb-plugin-ns-custom-fields] NS Custom Fields:
Provides full set of instruments to create custom fields in user's profiles: admin control panel (manage available fields), user account (edit and view fields);
Install
npm install nodebb-plugin-ns-custom-fields
ACP
Preview of Admin Control Panel for Custom Fields Plugin,
ver. 1.0
Theme Status
Currently zero themes support this plugin. With template engine of NodeBB, some changes should be made manually to the theme, if you want to see custom fields in the user's profile.
It will look like:
Why I can't see the the custom field page after install the plugin via the admin install plugin. I tried rebuild and restart the server. Where does it located?
-
I update the version from 5.x.x to 6.0.0 which 5.x.x installed via admin plugin portal. I can see the custom field plugin under the "Plugin" of admin portal.
A new issue, I added some custom fields, but it does not show in user edit profile page /user/xxxxx/edit. Any one can help?
NodeBB version: v1.12.2
-
@Fei-Wong said in [nodebb-plugin-ns-custom-fields] NS Custom Fields:
page /user/xxxxx/edit
There should be one more button under the avatar.
-
Hello,
This plugin seem to be working good on v1.13.4-5. I can add fields, change them throgh the user profile... and I can see fields are exposed to the api/user/$username so it is easy to add to that specific template... /user/$username
I am new to plugin and theme development for NodeBB... I am having a hard time to make like the custom fields be available on other pages template such as topi.tpl for example.
On the Topic API you have information about the user like as follows.. my goal is to expose some or all custom fields there so I can add them to topic.tpl. Any idea how or where I can make that happen? ANY help is appreciated. Thanks!!
"user": {
"uid": 1,
"username": "admin",
"userslug": "admin",
"reputation": 4,
"postcount": 51,
"topiccount": 51,
"picture": null,
"signature": "",
"banned": 0,
"banned:expire": 0,
"status": "online",
"lastonline": 1602618059671,
"groupTitle": "["administrators"]",
"groupTitleArray": [
"administrators"
],
"icon:text": "A",
"icon:bgColor": "#673ab7",
"lastonlineISO": "2020-10-13T19:40:59.671Z",
"banned_until": 0,
"banned_until_readable": "Not Banned",
"selectedGroups": [],
"custom_profile_info": []
},