[nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)
-
I'm not sure if I fully get what you're saying, but for example @ http://blog.nodebb.org/widgets-system/
If you were logged into community.nodebb.org, you'd be able to comment there. If not or you were a new user, there are login/register buttons that open up a popup to our community site, lets you authenticate, and then lets you comment straight on the blog itself.
If you were to start your own blog, my sessions are not shared with yours, ie. if I was logged into nodebb community and I went to your blog, I'd still have to register on your site either via your forum or via the auth popup. (I'm assuming Disqus is similar as well?)
-
@psychobunny Any update on the crash I was having?
-
yeah its been fixed sorry if I forgot to report back! pls
npm install nodebb-plugin-blog-comments
or./nodebb upgrade
(fix courtesy of @baris )
-
hmm, just did a git pull and then ./nodebb upgrade and tried to publish comments again and got this error;
error: [app] Encountered Uncaught Exception: string is not a function
TypeError: string is not a function
at Object.Topics.post (/var/nodebb/src/topics.js:92:11)
at /var/nodebb/node_modules/nodebb-plugin-blog-comments/library.js:96:11
at /var/nodebb/src/groups.js:133:6
at /var/nodebb/src/database/redis.js:317:4
at try_callback (/var/nodebb/node_modules/redis/index.js:532:9)
at RedisClient.return_reply (/var/nodebb/node_modules/redis/index.js:614:13)at HiredisReplyParser.<anonymous> (/var/nodebb/node_modules/redis/index.js:2
66:14)
at HiredisReplyParser.EventEmitter.emit (events.js:95:17)
at HiredisReplyParser.execute (/var/nodebb/node_modules/redis/lib/parser/hir
edis.js:43:18)
at RedisClient.on_data (/var/nodebb/node_modules/redis/index.js:488:27)
error: [app] Could not restart server. Shutting down. -
okay, @baris just informed me he fixed a different plugin and not this one. Sorry! 0.3.x to 0.4x = tons of breaking changes in the next few weeks, all of us are going to try hard to keep our plugins and themes up to date in time for the next release
What happened recently is the topics.create function signature changed to just accept a hash of topic data input, so I'll have to update my plugin to reflect that change as well.
-
@psychobunny
Dont worry i'm not sure what i'm saying here either. lol. i dont fully understand how this plugin works.
As far as how Disqus works, I do know because i use it quite frequently. All comments sections are connected to one another across all websites, so you only have one login, one running post count, and one running count of how many times all your posts have been upvoted. When you post on your blog, disqus reads the title of your post and creates a new comments thread titled by default, "Blog Title - post title" What it doesnt do is record the op, or post it to a forum.... which is what i hope this plugin does/will do in the future.Anyway, I think this would be an awesome plugin if all users on, for instance, the community.nodebb.com, could then go and put a community.nodebb.com-related comments section on their NodeBB dev blog.... And even for it to automatically post that blog post to the community.nodebb.com forum under an appropriate category. To me this makes a lot of sense. The folks most likely to comment on a NodeBB-related blog ARE the nodebb community and vice versa, so you want to connect those two together. I mean, how many people have GIVEN Up using forums because they wanted to just start their own blog instead? Maybe like 90% of the entire blogosphere, considering forums are where most of them started. If you combined the comments sections you'd get ALLLLL of those people back on forums, at the same time driving more active commenters to their own blog.
-
@kevin said:
Anyway, I think this would be an awesome plugin if all users on, for instance, the community.nodebb.com, could then go and put a community.nodebb.com-related comments section on their NodeBB dev blog.... And even for it to automatically post that blog post to the community.nodebb.com forum under an appropriate category. To me this makes a lot of sense. The folks most likely to comment on a NodeBB-related blog ARE the nodebb community and vice versa, so you want to connect those two together. I mean, how many people have GIVEN Up using forums because they wanted to just start their own blog instead? Maybe like 90% of the entire blogosphere, considering forums are where most of them started. If you combined the comments sections you'd get ALLLLL of those people back on forums, at the same time driving more active commenters to their own blog.
This is how it works right now
http://blog.nodebb.org/widgets-system/
and
http://community.nodebb.org/topic/866@Sp4rkR4t its been fixed, but I've been having some problems publishing it, if npm install doesn't bring you up to 0.0.14 use the command julian posted above
-
All I'm waiting for is the WP plugin that links my WP blog with my NodeBB forum in the same manner.
-
@psychobunny Sorry to do this to you but.... now I'm running the latest code for nodebb and 0.0.14 of the plugin, everything is updated and installed however when I check the blog to publish the comments nothing is there at the bottom of the article If I inspect elements I can see the plugin injection point but nothing is showing up.
-
hmmm. check your console - any script errors? and you have to be logged into at least ghost or nodebb as an admin in order to get a publish button to show up
-
@psychobunny Ah, just realised that if I download the 0.0.14 plugin but then run ./nodebb upgrade it reverts to the 0.0.12 version and we get the same crash. Don't know why the button wasn't appearing last time but it's working now I just can't use ./nobebb upgrade, I'm guessing because of the npm issues you are having?
-
I really don't know what's going on here. @julian any idea? I had this problem once before but couldn't reproduce afterwards. Very weird. (I even republished the repository)
-
@psychobunny Still have an error on the 0.0.14 version when adding a comment from the blog side nodebb crashes with this output to the log;
TypeError: Object 1 has no method 'apply'
at /var/nodebb/node_modules/async/lib/async.js:485:30
at async.waterfall.privileges (/var/nodebb/src/topics.js:172:13)
at fn (/var/nodebb/node_modules/async/lib/async.js:582:34)
at Object._onImmediate (/var/nodebb/node_modules/async/lib/async.js:498:34)
at processImmediate [as _immediateCallback] (timers.js:330:15) -
I just got a
502 Bad Gateway
on blog.nodebb. I tried to post something.
I tried backspacing to retain the data so I could save it for later... it didn't save FML -
@psychobunny said:
This is how it works right now
That's wonderful. Could it work for every user on community.nodebb.com? I didn't see a control panel or anything when i installed the plugin so i'm not sure yet how you designated what category it would post to. And I cant wait to get it to work for Tumblr.