Hi, nodebb stores everything as post but i want to know how to distinguish
- mainpost(post created with topic)
- comment(post to mainpost/topic)
- reply(post to comment)
any help would be appreciated. Thanks!
Hi, nodebb stores everything as post but i want to know how to distinguish
any help would be appreciated. Thanks!
@julian ok, but where i have to add api? i installed nodebb-plugin-webhooks but how to add api for particular event?
@julian thanks!
Hi! I have a api to store data when user posts something. how can i add this api to create post hook?
also what is the hook for create/update post?
Thanks!
Hi, I want to send notification periodically to users like every 2 hours. For posts and topics i can see timestamp but not there for upvotes. Is there a way to get timestamp for upvotes?
Thanks!
Hi, i am trying to add user with nested objects but its not working. if i add string it works. Please help.
Thanks!
@PitaJ Thanks!
Hi, when i try to connect remote postgres db it's not connecting, but it's working in local
Following error shows when connecting remote server in logs/output.log
Please help!
NodeBB v1.18.6 Copyright (C) 2013-2022 NodeBB Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
Clustering enabled: Spinning up 1 process(es).
2022-09-08T09:36:48.339Z [4567/2552] - [32minfo[39m: Initializing NodeBB v1.18.6 http://localhost:4567
2022-09-08T09:36:48.343Z [4567/2552] - [31merror[39m: Error: Cannot find module './dev-cxopicks-db'
Require stack:
- E:\projects\bizstack\nodebb\src\database\index.js
- E:\projects\bizstack\nodebb\src\start.js
- E:\projects\bizstack\nodebb\require-main.js
- E:\projects\bizstack\nodebb\app.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (E:\projects\bizstack\nodebb\src\database\index.js:13:19)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
[cluster] Child Process (2552) has exited (code: 0, signal: null)
config.json