@inna By the way, as I've here, I've entered some info, but I found something:
at registerHooks (/some_path/src/plugins/load.js:159:13)
at Plugins.loadPlugin (/some_path/src/plugins/load.js:122:4)
The issue is Plugins.loadPlugin is in line 159, and registerHooks is in line 122.
Should I report this to NodeBB Github issues? Is it related to Persona theme? Or just reporting here is enough to check it?
Does someone know a way to create a post-only category?
I am trying to create a category for ban appeals in which users should be able to create a new topic and only see their own topics listed so other users can't see their appeal and if they appealed.
If that is possible, is it possible to make pinned topics readable for everyone?
Otherwise, what would be the best way to achieve something like this?
The files which are linked in the topic have to be accessible by viewstl.com so private files wont work here I think. 🤔
Maybe you do have to enable cross site origin for viewstl.com as well.
See this topic more as a simple feature and as well as an inspiration for other plugins in this direction you could make.
Maybe its interesting for @Aleksei or someone else. 🙂
Thank you everybody for helping me with forum troubleshooting. The problem has been found. It's memory limit. After a few years of use, 512MB RAM + 256MB swap is not enough anymore (I have some suspicions that swap does not kick in, but it's a topic for a different story).
If somebody searches, and no changes plugins, core, or hardware, and you do not have plugins that depend on external services - check if it's a memory issue.
We successfully integrated wordpress with nodebb, every thing works great.Here is my site "https://www,happyusclub.com". But during login from the nodebb site , the referrer link in the header is showing as "https://forum.happyusclub.com" without any permalinks.
Basically we are trying to redirect users to the referrer page after login.(similar to nodebb community after login the users redirecting to the page where they come from). But in my site when the user clicks login it goes to wordpress sso as expected but with referrer link as forum homePage without any permalink. Can anyone share your thoughts on how to approach this problem.
I have a question about pagnition behavior.
When i set page size to 5, i will get 1 main post and 4 replies in first page. and 5 replies in other page.
But i want 5 replies in first page, and every other page as well.
And i can't find any hook can help. 😞
The action:flags.create hook is no longer called after flag notifications have been delivered to the admins/mods. It is now called after the flag is created (as per the name).
Note that a flag is only created the first time a post or user is flagged. Subsequent flags add a report to the existing flag, which you can listen for with action:flags.addReport. This hook is called on all report additions, including during the initial flag creation.
Where action:flags.create used to be, we now call action:flags.notify and pass in additional properties from, to, and the notification object itself.