But I could extend it and ask for it, right?
Thadeusz Lay
Posts
-
Is it possible to rearrange how the replies of a post are shown? -
Is it possible to rearrange how the replies of a post are shown?For example male on the right side and female on the left side and people with higher reputation are on top while people with lower rank on the bottom?
-
How do I add a button on the profile's portrait?Next to the "online" and "follow"-button, I want to add another button (it's position should be on e.g. the bottom left of the portrait picture).
How would I do this with a plugin? What hooks do I need?
-
How to access settings values in "quickstart" pluginIt's about this plugin: https://github.com/NodeBB/nodebb-plugin-quickstart
In the admin page it says I can access the values in Setting1 or Setting2 with:
meta.settings.get('quickstart');I don't really know where to call it. I searched for "meta" but couldn't find it. So, I pasted in every JS file I could find within that plugin folder and tried to log it out. But in vain. It doesn't recognize "meta"
-
Is it possible to access the user ID via a widget?I want to access the user ID of the the logged in user and the user I'm visiting. Is this possible with a widget or do I have to write a plugin?
-
What happens to the custom field I made when nodeBB is updates@psychobunny said in What happens to the custom field I made when nodeBB is updates:
IMO make those custom fields a plugin. This way others can also use your functionality if they want, and even better for you if they add more things to it.
Why can't they use and extend my functionality in my theme? Why does it have to be in a plugin?
-
What happens to the custom field I made when nodeBB is updatesIs it recommended to add the custom fields in a theme but implementing the functions for saving the custom field value as a plugin?
-
What happens to the custom field I made when nodeBB is updatesI made a theme of my own based on the persona theme. I created new custom fields on the user profile, e.g. zodiac sign, personality, favourite movies, etc. For these fields to be saved I also changed the files:
- profile.js in nodebb/src/user/profile.js. To be precise I changed the function User.updateProfile
- edit.js in nodebb/public/src/client/account/edit.js. To be precise I changed the function updateProfile.
These functions in the files mentioned above are responsible for saving the field information of the user profile.
What happens if nodeBB is updated and I have to update my nodeBB? Will the changes I made in edit.js and profile.js be gone and I have to write them again? How do I add custom fields in the user profile in a way that is "update friendly", meaning that if I have to update nodeBB I don't have to think about changing the profile-update-function?