[nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)
-
handlebars +1
-
Very nice!
-
You'd need your own hosted WP (I'm assuming you can't modify the template's source code on their hosted service, can you?)
-
@psychobunny said:
You'd need your own hosted WP (I'm assuming you can't modify the template's source code on their hosted service, can you?)
Some part could be modified (eg. headers, and CSS). I not sure this is enough.
-
Does the Custom Design upgrade let me edit HTML?
No. The Custom Design upgrade allows you to edit fonts, colors, and CSS only. You can change the appearance of a theme, but not its HTML markup or PHP code.Yeah you're right, sorry. You'd have to host it yourself. Why not host your WP and NodeBB on the same server?
-
Because AFAIK disqus comments lives on the actual blog page itself; it doesn't publish the OP to a forum (ie. Disqus isn't actually a forum software but a commenting software).
The changing parts are the mechanism for pulling markdown/html from the blog's API and submitting it to NodeBB to publish. Should be straightforward to that part for other blog software I just need the time
-
@psychobunny said:
Does the Custom Design upgrade let me edit HTML?
No. The Custom Design upgrade allows you to edit fonts, colors, and CSS only. You can change the appearance of a theme, but not its HTML markup or PHP code.Yeah you're right, sorry. You'd have to host it yourself. Why not host your WP and NodeBB on the same server?
If WP version will be ready I will try to create an own hosted copy of the current blog, however never tried install an maintain WP before, but it coulld be an good chalange
-
If you really want to a self-hosted WP blog and you can afford $5/month for a Cloud server, I could help you set one up.
-
@planner Thanks. I'm currently using digitalocean's droplets. It is cheap, reliable, fast, and has good additional features like daily backup, and snapshot.
-
Not today. Ghost has a long way to go in terms of development - if you see their ACP you can tell that they are missing a lot. And more importantly, Ghost is currently single account only; they do not have multiple sign-ups yet.
When the time comes, I'm down for writing a deeper integration
-
@psychobunny Tried adding this but when I click the publish button on my ghost blog nodebb crashes. this is what gets spat out from nodebb.
/var/nodebb/node_modules/redis/index.js:535
throw err;
^
TypeError: string is not a function
at Object.Topics.post (/var/nodebb/src/topics.js:90:11)
at /var/nodebb/node_modules/nodebb-plugin-blog-comments/library.js:96:11
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)
at Socket.<anonymous> (/var/nodebb/node_modules/redis/index.js:82:14) -
This looks awesome. It would be great if users could connect their blogs to the forum in this way where it automatically double posts and comments are shared across platforms. Tumblr uses disqus, as do a lot of websites. It's an interesting setup, but obviously having it connect back to a shared forum rather than just accumulating a post count across random comments sections is a big step up.
This is what the disqus looks like on the 'topic' page. It looks very similar. Every disqus applies for a shortname, like you would a client ID, for each website you want to set up comments for. What I don't understand from looking at the nodebb version of this is, how do you designate what nodebb user relates to the OP, and are you supposed to post on the forum first, then the blog, vice versa, does one automatically post after the other? I dont have ghost so I can't see how it works.
<div id="disqus_thread" class="disqus"></div> <script type="text/javascript"> var disqus_shortname = '{text:Disqus Shortname}'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-
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?)