String concatenation is highly optimized in JS engines, so the benefits of template literals for performance are small. Using template literals on the client side also makes you incompatible with older browsers.
Also you didn't really relate your advice to NodeBB.
I have a redactor composer plugin on my forum and it looks great and works perfectly when replying or in chat but when I try to actually make a new thread/post I get the error "Category does not exist".
I'm an absolute normie with coding or any of this stuff and I'm doing my best to troubleshoot setting this thing up. Any help would be greatly appreciated.
This is the plugin
This is the tutorial I used to install nodebb initially
install nodebb ubuntu 18.04 With Cloudflare SSL
Additionally I can't seem to get any other composer to work properly. Even the default composer plugins. Usually they will only work to post text alone but not even the preview function works. I'd love to have a redactor composer but at this point I'd probably take any basic composer if it would work.
Thanks for any help in advance!
As the title says, I'm trying to make it so only admins/mods can upload or adjust the cover images for people's profiles. I've looked around the various hooks and what not, but I'm at a loss of how to achieve this.
I was originally thinking I could edit the function of the upload/edit buttons and check if the person has the required permissions; but I cannot seem to find where their functionality is actually defined.
The principle in a docker container is to not care about the inners of it, since you are not directly connected to it (besides setting up the app).
The goal of @damian, I think, is not to test if nodebb runs well on a platform but rather to have a small image to run tests against nodebb and maybe some added plugins, etc. To this, the smaller the container the better, and alpine is good at that.
And even for production purposes, if you want to setup a farm of forums, the smaller the image the better.
I hope this sheds a new light on our request.
If it were a bot, I could assign it a token from the ACP. I am creating a third party application that interfaces with NodeBB. It needs to be able to inherently create new user accounts, and then also login as them (which is where logging in via a token would come into play). I suppose it would be possible to create an account via a socket connection directly, but I imagine I could have uses to some of the write API methods anyways.
Is it possible to programmatically create user tokens for the Write API? If that's the case, I could use a socket to create the account, and then generate a JWT token specifically for that user rather than hacking something into the application itself. That would leave the only hurdle being logging in, but at that point I could just store encrypted login credentials in a config file, and login to the API using https://github.com/NicolasSiver/nodebb-plugin-ns-login