As per advice from Julian in the previous thread, we have rolled back from nodebb-plugin-blog-comments2 to the prior nodebb-plugin-blog-comments. Installed the plugin on the NodeBB server.
I am assuming you want a different thread for using this different version.
Edited the comments.php on the WP server hosted by Pagely.
And unfortunately still no joy.
We can see the text "Comments", but none of the actual comments appear.
Using the installation instructions listed here:
Our NodeBB server (Hosted at Intrinium) is version: NodeBB v1.4.4.
Wordpress (hosted at Pagely) version: 4.7.3.
We want the comments from this NodeBB page: http://fora.zombieorpheus.com/topic/2/episode-01-01-discussion
To show up on this WP page (you probably can't access this one currently since launch is delayed by this issue): http://www.zombieorpheus.com/videos/jq-episode-01-01/
We can iframe the comments, but that is a kludge that is not the desired functionality. We are hoping either this plugin, or some other method, can make it so the comments in context appear on the WP page. Are we trying to use this incorrectly? Or is there some other issue?
In NodeBB > Plugins > Blog Comments:
Name of your blog: JQ Ep1, JQ Ep2
Link to your blog: http://www.zombieorpheus.com/videos/jq-episode-01-01/,http://www.zombieorpheus.com/videos/jq-episode-01-02/
Category ID where this plugin will publish articles: 2,3
Code in the wp-content/themes/<theme>/comments.php:
if ( post_password_required() )
var nodeBBURL = '//fora.zombieorpheus.com',
wordpressURL = '<?php get_site_url(); ?>',
articleID = '<?php echo the_ID(); ?>',
// categoryID = 1; // OPTIONAL. Forces a Category ID in NodeBB.
// Omit it to fallback to specified IDs in the admin panel.
nbb.src = nodeBBURL + '/plugins/nodebb-plugin-blog-comments/lib/wordpress.js';
(document.getElementsByTagName('head') || document.getElementsByTagName('body')).appendChild(nbb);
The code in one of the example WP pages that should have comments appearing:
<span id="nodebb-comments"></span> Comments
Really appreciate any ideas, we've been stuck at this show-stopper for days now.