You can do it, the emoji plugin is built with ts https://github.com/NodeBB/nodebb-plugin-emoji
<baris>
Posts
-
is it possible to develop and deploy plugin with typescript ts and then compile it with js? -
Can I install and use a custom plugin theme I developed myself on the nodebb hosting plan?You can publish your plugin to npm and install it from the ACP, if it is a private plugin you can contact us at [email protected] with your instance name and we can install it for you.
-
Clustering on two machinesOnce you deploy it you can use the
uri
property in nodebb config.json to use the replica set. -
Clustering on two machinesDo we start the NodeBB processes on the machine 2 and have the same redis server in the config so the processes can communicate?
Yes
Do we set isCluster to true?
You don't have to set
isCluster: true
since you are running more than one process on each machine, nodebb will detect it automatically. You should setjobsDisabled: true
on machine 2 so it doesn't run digests and other cronjobs.How do we make a MongoDB replica? Do we add the IPs of both mongo instances in the config file of nodebb on both machines?
You can use the
mongo:uri
property to define the mongodb replicaset. -
NodeBB 3.7.1The translations are here for the post queue
https://github.com/NodeBB/NodeBB/blob/master/public/language/en-GB/modules.json#L109
https://github.com/NodeBB/NodeBB/blob/master/public/language/en-GB/post-queue.json#L8-L9Emojis in notifications are parsed by the emoji plugin https://github.com/NodeBB/nodebb-plugin-emoji/commit/ac774fdff95d40b78c6cee71f523d1fb46ec7b9d
NodeBB/public/language/en-GB/modules.json at master · NodeBB/NodeBB
Node.js based forum software built for the modern web - NodeBB/public/language/en-GB/modules.json at master · NodeBB/NodeBB
GitHub (github.com)
NodeBB/public/language/en-GB/post-queue.json at master · NodeBB/NodeBB
Node.js based forum software built for the modern web - NodeBB/public/language/en-GB/post-queue.json at master · NodeBB/NodeBB
GitHub (github.com)
-
All 3 cpu load process up to 100%,but only a few users is online@Nuran-Akimbek your nodebb log shows alot of restarts.
2024-04-24T00:37:17.878Z [4568/111463] - [31merror[39m: NodeBB address in use, exiting... Error: listen EADDRINUSE: address already in use 0.0.0.0:4568 at Server.setupListenHandle [as _listen2] (node:net:1897:16) at listenInCluster (node:net:1945:12) at doListen (node:net:2109:7) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) 2024-04-24T00:37:17.879Z [4569/111464] - [32minfo[39m: 🤝 Enabling 'trust proxy' 2024-04-24T00:37:17.879Z [4568/111463] - [31merror[39m: uncaughtException: listen EADDRINUSE: address already in use 0.0.0.0:4568 Error: listen EADDRINUSE: address already in use 0.0.0.0:4568
Figure out what's already running on those ports. I don't see any error messages other than those.
-
Can't get group badges to workWith the current codebase, making a group hidden also removes it from the badge selection.
I think closest you can get is with the below settings. Group will be visible but you will still need to invite people.
-
Online users widget & ACPYou can change it to 5 minutes in the ACP using the online cutoff setting.
-
Online users widget & ACPWidget-stats plugin uses the same system https://github.com/NodeBB-Community/nodebb-widget-board-stats/blob/master/library.js#L88-L90, users who have performed an action in the past 30 mins
-
Online users widget & ACPThe acp stats are showing active socket connections, this is a more real time stat. The widget shows people who have navigated the forum in the past 30 mins.
-
High CPU, 503 blue screen error.I restart/rebuild nodebb regularly
You shouldn't do this, rebuild and restart are pretty expensive. You should find the actual error messages and crashes in the nodebb log and fix those.
-
High CPU, 503 blue screen error.On that last screenshot there is an error and nodebb restarted, but the rest of the error is missing. Take alook at
/path/to/nodebb/logs/output.log
and post the full error message.If nodebb is crashing and restarting regulary it would explain why you are seeing the error page and high cpu usage.
-
During the creation of new categories : Resulting document after update is larger than 16777216 error@Nuran-Akimbek you can test develop branch if you want to test the fix, make a backup of your database in case you want to rollback.
-
Harmony Theme - Help with Chat & File StructureIf you still have it in your theme it will overwrite the core files, that's how themes can customize them.
-
Harmony Theme - Help with Chat & File StructureAll the chats moved to core, in nodebb folder src/views
-
During the creation of new categories : Resulting document after update is larger than 16777216 error -
NodeBB 3.7.1 -
During the creation of new categories : Resulting document after update is larger than 16777216 errorAhh I think with that many groups it is the
groupslug:groupname
object that is hitting the 16mb limit. You can confirm if thats the case by checking the size of that document. Try runningObject.bsonsize(db.objects.findOne({_key: "groupslug:groupname"}));
see what it returns. -
Topic fusion on mobileCreated an issue https://github.com/NodeBB/NodeBB/issues/12474
-
During the creation of new categories : Resulting document after update is larger than 16777216 errorA category object shouldn't be more than 16mb, are you storing custom data in the category key?