Thanks for the reply. I'll keep learning and I'll get back to you if needed.
Integrating NodeBB into an exisiting Web Application
I was wondering if anyone has successfully integrated NodeBB into their own web application?
See, I have an web application that works online and offline. Users login to the application and do stuff. What I'm missing in this application is a 'Home' screen. I was thinking of using NodeBB as the 'Home" screen and also benefiting from all the features that NodeBB provides, like Instant Messaging for example. I would also like for my existing application to be able to act on hooks that NodeBB fires. But I'm not sure how the integration of NodeBB with an existing application would work? Or if anything like this would be possible?
@agarcia17 The high level overview of this setup is as follows:
- For every action you want to capture, look up the associated "action hook". If there isn't one, let us know and we can build one in for you for the next version
- In your plugin, listen for these hooks, and when they are called, send off a
POSTrequest or something to your service.
- Handle as necessary.
We have an Ember application with routes and we would like to embed NodeBB in one of those routes. We've only been able to do that with an iFrame and are having a hard time accessing the action hooks outside of the iFrame. Is there another way to embed NodeBB without using an iFrame into an existing application? Would we be able to control NodeBB all calls to the online server in order to have it work offline?
@julian any thoughts?
@agarcia17 Ouch, not really. Unfortunately this use-case of NodeBB is very far from what we normally expect, so you are on your own
Usman Khan last edited by
@julian you guys are doing a great job with NodeBB, it's probably the only forum platform that doesn't look like it was developed in stone age.:)
I am trying to integrate NodeBB with my web app with nodeBB but I am having problem with the documentation. There is a hook available in NodeBB docs See:
But on Git, no such hook exists:
Which one is correct? Are these hooks updated?
@Usman-Khan It's available here. You probably missed it.
I think the git link is the correct one. It's generated automatically based on code.