@sharonyue we use dbsearch, the plugin bundled with every NodeBB installation 🙂
Questions regarding [nodebb-plugin-blog-comments] use.
I'm playing around with nodebb and ghost.
I've installed nodebb 0.6.1 and Ghost 0.5.8.
Firstable i would like to ask: is possible to integrate the two apps in that versions, using for that nodebb-plugin-blog-comments?
If not, which version of ghost can i use to achive a correct integration between both? The same way this forum/blog uses?
My second question is: Has anyone faced the "same origin policy" problem when using this plugin? I'm very new to node.js development and i'm facing the following error when trying to use the plugin:
XMLHttpRequest cannot load http://localhost:4567/comments/get/2/0. The 'Access-Control-Allow-Origin' header contains the invalid value 'undefined'. Origin 'http://localhost:2368' is therefore not allowed access.
I can post the post on the blog but, neither the post is shown on nodebb category nor the comments are available throught nodebb on ghost side. I'm logged in both apps with admin user (same mail).
Thanks in advance, and excuse my bad english.
Any help is really appreciated.
@psychobunny If you don't mind, and if you have a minute; could you guide me a little bit with the usage details of the plugin?. Since you created it?
I wouldn't mind to help fix the problems with ghost last versions if needed.
Well thanks in advance.
jarey Translatorreplied to julian on last edited by jarey
The idea is they're compatible, although I think at the moment, it only works with 0.4.x of Ghost...
Thanks for your reply. I will try with ghost 0.4.x then.
Thank you very much.
UPDATE: I've just tested the plugin with version 0.4.2 of Ghost and all ran smoothly. The problem for me was the "Same Origin Policy" testing the plugin in my local instances of Ghost and Nodebb. I will now re-try the installation with the latest version of Ghost and let you now if i find any problem. Thanks again.
UPDATE2: I've tested the plugin with version 0.5.8 of Ghost. I get an error related to the ghost API. Even logged in the api responds with 401 unauthorized. I think that is the step involved of publishing the post from ghost to nodebb (while fetching the blog entry content). Think this issue is already known by @psychobunny . Fun fact is that i can post comments en entries already published on nodebb and all works good.