• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

[nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)

Scheduled Pinned Locked Moved NodeBB Plugins
356 Posts 71 Posters 236.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MarximusMG
    wrote on last edited by
    #231

    @psychobunny After confirming that the new setup worked perfectly with the plugin, I configured the WordPress install and tried publishing the series of posts I had lined up. Again, I got this as a response:

    {"error":"Unable to post topic"}
    

    After rocking back and forth in the corner for a minute or so, I figured out what the issue was this time around. 🙂 I didn't realize that the plugin carried over the tags from the WP post, and every post I was trying to publish over to NodeBB had >5 tags, which led to NodeBB rejecting the new topic. I simply increased the default max # of tags allowed in the NodeBB ACP, and voila - problem solved.

    Thought I'd post this in case it can save anyone else a bit of time in the future!

    1 Reply Last reply
    1
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #232

    Ah. Good catch. There are a few other gotchas ex. if the title was too short. Happy to get some PRs on this otherwise I'll do a better error page next time I update this

    1 Reply Last reply
    1
  • Peter-Zoltan KeresztesP Offline
    Peter-Zoltan KeresztesP Offline
    Peter-Zoltan Keresztes
    wrote on last edited by
    #233

    hmm it was working for some time now again I am back to the same situation where when I try to enable on a blog post I get {"error":"Unable to post topic"} and in the nodebb logs all I see it's 6/2 13:31 [20304] - warn: [nodebb-plugin-blog-comments] Origin (undefined) does not match hostUrls: https://z0z0.me

    Peter-Zoltan KeresztesP 1 Reply Last reply
    0
  • Peter-Zoltan KeresztesP Offline
    Peter-Zoltan KeresztesP Offline
    Peter-Zoltan Keresztes
    replied to Peter-Zoltan Keresztes on last edited by
    #234

    aparently the increasing the number of comments worked for me too.

    1 Reply Last reply
    0
  • M Offline
    M Offline
    MarximusMG
    wrote on last edited by
    #235

    @psychobunny Quick question - in what file would I be able to change the source image for the default avatar shown (before a user is logged in/registered)? Having a hard time locating it. Thanks again!

    1 Reply Last reply
    0
  • M Offline
    M Offline
    MarximusMG
    wrote on last edited by MarximusMG
    #236

    @psychobunny Is the plugin pulling the image source from WordPress' core files, or is the source image set in the plugin files themselves?

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #237

    You can modify it here: https://github.com/psychobunny/nodebb-plugin-blog-comments/blob/master/public/templates/comments/comments.tpl#L7

    Although I should probably update it to use the new letter icons

    M 1 Reply Last reply
    0
  • M Offline
    M Offline
    MarximusMG
    replied to psychobunny on last edited by
    #238

    @psychobunny thank you! As always, much appreciated. 🙂

    1 Reply Last reply
    0
  • J Offline
    J Offline
    jaredthirsk
    wrote on last edited by jaredthirsk
    #239

    Trying to get this working, having some success.

    Problems I discovered:

    • Some replies silently fail. The problem was I was entering posts that are too short for nodebb's minimum post length setting. Workaround: reduce this size in nodebb settings.

    • BUG: I am testing on page (see below) with no content, and no excerpt, and the javascript blows up on translator.firstChild.innerHTML when the excerpt is empty, because there is no firstChild.

    One limitation I discovered:

    • Page support: I am trying to use comments on pages (not posts), and I am getting an "Unable to access API. Please install the JSON API" in my browser console, but it is installed. If I try swapping ?json=get_post&post_id=118 for ?json=get_page&page_id=118 in a manual browser request, it works. But I see public/lib/wordpress.js only uses get_post. How hard would this feature be to add?
      • Ok I started taking a shot at it by using the implicit mode on the API: ?json=118. Then instead of making articleData *.post in wordpress.js, take .page if post is null.
      • This seems to work, except then I get redirected to https://example.com/my-page-slug/#nodebb/comments -- not sure what's going on here.
    J 1 Reply Last reply
    0
  • J Offline
    J Offline
    jaredthirsk
    replied to jaredthirsk on last edited by jaredthirsk
    #240

    @jaredthirsk said:

    • This seems to work, except then I get redirected to https://example.com/my-page-slug/#nodebb/comments -- not sure what's going on here.

    Ok, I feel a bit silly: it was just scrolling down to an area that was all white, because I had my comment input below the comments, and the nodebb/comments element is after this (BUG! I think nodebb/comments should be above where the comments start, no matter how the comment box setting is set. But I will probably set that setting back because the ordering is reverse and I don't know how to change that (Limitation). Edit: I changed it but it still seems to be scrolling really low, making the user think that the page is blank. This doesn't seem good!)

    1 Reply Last reply
    0
  • I Offline
    I Offline
    irra1990
    wrote on last edited by
    #241
    This post is deleted!
    1 Reply Last reply
    0
  • JoykillerJ Offline
    JoykillerJ Offline
    Joykiller GNU/Linux
    wrote on last edited by
    #242

    @psychobunny Are you still supporting this?

    1 Reply Last reply
    0
  • GiggiuxG Offline
    GiggiuxG Offline
    Giggiux
    wrote on last edited by
    #243

    Does this plugin work with latest version of Ghost and NodeBB?

    Peter-Zoltan KeresztesP 1 Reply Last reply
    0
  • Peter-Zoltan KeresztesP Offline
    Peter-Zoltan KeresztesP Offline
    Peter-Zoltan Keresztes
    replied to Giggiux on last edited by
    #244

    @Giggiux yes it does.

    1 Reply Last reply
    1
  • Peter-Zoltan KeresztesP Offline
    Peter-Zoltan KeresztesP Offline
    Peter-Zoltan Keresztes
    wrote on last edited by
    #245

    Does this plugin works with the latest version of nodebb? After I have upgraded the nodebb to 1.1.0 I can no longer see the comments on my blog. However they are still there in the nodebb.

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #246

    Yes, it's working on this site: https://blog.nodebb.org/nodebb-v1-1-0-release/

    AFAIK no hooks or anything related to publishing and commenting have changed since the last minor version

    Peter-Zoltan KeresztesP 2 Replies Last reply
    0
  • Peter-Zoltan KeresztesP Offline
    Peter-Zoltan KeresztesP Offline
    Peter-Zoltan Keresztes
    replied to psychobunny on last edited by
    #247

    @psychobunny Interesting. Any idea why suddenly after updating the nodebb all the comments from my ghost ware gone? I mean on the Ghost site cause I can still see them in the nodebb.

    1 Reply Last reply
    0
  • Peter-Zoltan KeresztesP Offline
    Peter-Zoltan KeresztesP Offline
    Peter-Zoltan Keresztes
    replied to psychobunny on last edited by
    #248

    @psychobunny said in [nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget):

    anything related to publishing and commenting have changed since the

    Any suggestion on how to debug it to eventually make it show up on the ghost posts?

    1 Reply Last reply
    0
  • Peter-Zoltan KeresztesP Offline
    Peter-Zoltan KeresztesP Offline
    Peter-Zoltan Keresztes
    wrote on last edited by
    #249

    Can I have any help on making this working again? I have done everything what it is in the documentation and it's not working since I have upgraded to v1.1.0 and I had to add proxy_set_header X-Forwarded-Proto $scheme; to the nginx. `

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #250

    Any errors in the browser console?

    Peter-Zoltan KeresztesP 1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development