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?
It'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:
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"
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?
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?
Is it recommended to add the custom fields in a theme but implementing the functions for saving the custom field value as a plugin?
I 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:
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?
Looks like your connection to NodeBB was lost, please wait while we try to reconnect.