Actually, as I messed with my NodeBB's installation and broke it, I just cloned it from the repo and then it worked 🙂
How to install NodeBB on windows local
thank you, @alexsir. It works but I have another error...
TypeError: Cannot read property 'node' of undefined
at Object.versionCheck (C:\Users\catalin.marcu\Downloads\NodeBB-master\NodeBB-master\src\prestart.js:71:26)
at Object.<anonymous> (C:\Users\catalin.marcu\Downloads\NodeBB-master\NodeBB-master\app.js:52:10)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:187:16)
./nodebb setup, not
node app --setup
This post is deleted!
Yes, it works. Thanks!
I have a new question. Can I make more groups to have just separate discussions and a group will cannot read the other's group discussions?
I mean each group to have its own wall
@catalin yes you can. You just have to create a category for each group, and change the permissions for those categories so only the respective group can access, read, and write in it.
@pitaj That's it! Thanks!
@pitaj But can this be done automatically by an api / plugin?
I want to put this forum on my website. On my website I will have users who will register / log in.
These users on my site, will be divided into groups.
- When a user registers, can I automatically do a nodebb account for him?
- Are there any api or plug-ins where the newly created user is automatically assigned to a group in nodebb (the same group that the user belongs to in my website)?
Something like: Automatically create the groups (from my website) in nodebb, automatically create the categories (with the same name as groups) and automatically give permissions to a group for a category.
@catalin you can automatically create nodebb accounts for accounts on your website. Look up "nodebb plugin session sharing".
Automating the rest of that though would require a custom plugin.
@pitaj Ok. I understand. Thank you much!
@pitaj I have another question. Can to show to a user just users who is from his group?
And I want to show to a user only the group he belong to. Is this possible? Thanks!