@yariplus Ah...I was doing it on version 0.9.4 which did not have mongodb dependency listed in package.json. Had to install manually. Thanks. 😄
UNSOLVED Is there way to make a topic part two categories at the same time?
I would like to make a topic part of two categories at the same time. By doing so the topic should get listed in the category pages of both the categories. Also a notification should go to the users watching both the categories. Is it possible to do with some settings/plugins? If not, then can anyone guide me with a starting point to write a new plugin for this?
NodeBB is not made to work this way at all. I'd suggest trying to use tags instead. Either way, you'll need to use a plugin. If will be a lot of work.Actually some parts of it can be done fairly simply via a plugin. Other parts would be more complicated.
Do you mind sharing why you need such a feature?
@PitaJ Thank you for the response. I can explain why I need this in more details. I have a website made using Drupal and I am trying to migrate to nodebb. In the existing site, there are small groups and every group contain a set of people. People in the group have permission to post content inside the group and any user can view the content.
Now there is a bigger group which is a common to all place and this is where almost every users in the website is a member of. So if a smaller group want their content to be promoted to a bigger audience (but still wanted to be part of their smaller group for better content organization), they typically post the content in their small group and share it with the big group so that members of big group also get notified.
I am trying to make a similar setup in nodebb using categories + groups. So there will be a category that is open to all (let`s call it 'global category'), anybody can post in that category, and we expect that lot many users will watch this category. Now there will be another category, let us call it 'small category' and a group 'small group'.Only users in 'small group' can post to 'small category'. So 'small category' acts as the place where 'small group' can organize their content. But some of the content they post there also need to be made part of 'global category' so that the content gets displayed in both the category pages and users watching the 'global category' also gets notified,
@aneeeshp that is an interesting use case. It does sound somewhat like trying to fit a square peg in a round hole. A plugin could be built that does what you need, pretty much anything can be done with a plugin, but it could be very complicated.
If you want this feature built, you can contact us at firstname.lastname@example.org, and we can discuss it further.
@PitaJ Okay. Let me check if I can accommodate my requirement in some other way. Will come back to you if needed. Thank you.
I ran into similar problem some while ago and I used tags as a temporary solution. YMMV.