Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. djensen47
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Dave Jensen

    @djensen47

    61
    Reputation
    212
    Posts
    909
    Profile views
    2
    Followers
    0
    Following
    Joined Last Online
    Website www.axisandallies.org Location San Francisco

    djensen47 Follow

    Posts made by djensen47

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

      @psychobunny I filed some bugs and included a PR for one of the bugs.

      posted in NodeBB Plugins
      djensen47
    • RE: [nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)

      Does the plugin not show the comments from the nodebb post?

      posted in NodeBB Plugins
      djensen47
    • RE: [nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)

      Okay, the solution to this is that the comment in the Wordpress php that the categoryID is options is not correct. You need the category ID.

      But there are still some subdir issues happening for me.

      posted in NodeBB Plugins
      djensen47
    • RE: [nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)

      I'm also seeing this in the logs:

      2019-02-07T22:14:16.880Z [4567/23701] - warn: [nodebb-plugin-blog-comments] Origin (undefined) does not match hostUrls: https://www.axisandallies.org
      2019-02-07T22:14:42.601Z [4567/23701] - error: /forums/comments/publish
      
      SyntaxError: Unexpected end of JSON input
          at JSON.parse (<anonymous>)
          at Comments.publishArticle (/var/srv/nodebb/node_modules/nodebb-plugin-blog-comments/library.js:135:15)
          at Layer.handle [as handle_request] (/var/srv/nodebb/node_modules/express/lib/router/layer.js:95:5)
          at next (/var/srv/nodebb/node_modules/express/lib/router/route.js:137:13)
          at Route.dispatch (/var/srv/nodebb/node_modules/express/lib/router/route.js:112:3)
          at Layer.handle [as handle_request] (/var/srv/nodebb/node_modules/express/lib/router/layer.js:95:5)
          at /var/srv/nodebb/node_modules/express/lib/router/index.js:281:22
          at Function.process_params (/var/srv/nodebb/node_modules/express/lib/router/index.js:335:12)
          at next (/var/srv/nodebb/node_modules/express/lib/router/index.js:275:10)
          at rewrite (/var/srv/nodebb/src/controllers/home.js:33:10)
      

      It's odd that Origin is undefined, right?


      Also, here's the forum data being posted, it's not JSON and it's missing a bunch of stuff.

      markdown=&title=&cid=&tags=&id=2930&url=https%3A%2F%2Fwww.axisandallies.org%2Fp%2Fvictory-new-wwii-game-columbia-games%2F&_csrf=l3iXstpC-aU9hckFGosqYZl2yAcIZ_ozQR98
      

      Oddly I get the same error with and without the JSON API wordpress plugin activated. (It is currently activated)

      posted in NodeBB Plugins
      djensen47
    • RE: [nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)

      I installed the plugin, setup comments.php on Wordpress and I see the following on Wordpress:

      "Commenting has been disabled" with the "Publish this article to NodeBB"

      d2cf3f38-ab86-45e1-ba4b-7c39361e6615-image.png

      However, when I push the button, I get this error:

      Internal Error.
      Oops! Looks like something went wrong!
      
      /forums/comments/publish
      
      Unexpected end of JSON input
      

      ef77baaa-8079-4a1c-8551-7efb524073a3-image.png

      Could this be a problem with my forum being installed in a subdir?

      cc: @psychobunny @baris

      posted in NodeBB Plugins
      djensen47
    • RE: Using a mounted volume for files

      I have a mount. I mount the DO volume to the default location from their configuration instructions: /mnt/<volume-name>/ and then I nest the files dir under there.

      Then I symlink public/uploads/files to the files dir I set up on the mount.

      Problem seems to be that git treats symlinks as files so it thinks files/.gitignore is missing.

      posted in Technical Support
      djensen47
    • Using a mounted volume for files

      I'm on DigitalOcean and I use an attached volume to store uploads. I've been using a symlink but it creates a bit of an issue:

      $ git status
      On branch v1.11.x
      Your branch is up to date with 'origin/v1.11.x'.
      
      Changes not staged for commit:
        (use "git add/rm <file>..." to update what will be committed)
        (use "git checkout -- <file>..." to discard changes in working directory)
      
              deleted:    public/uploads/files/.gitignore
      

      The problem is that when I upgrade it clobbers the files symlink. Does this NodeBB instance use an attached volume? If yes, do you symlink to it?

      Thanks.

      posted in Technical Support
      djensen47
    • RE: Questions about the setup for community.nodebb.org

      @baris Awesome!

      posted in Technical Support
      djensen47
    • RE: Random profile backgrounds?

      I found the answer to this. It's in the settings:

      Admin > Settings > Uploads > Profile Covers > Default Cover Images

      posted in Technical Support
      djensen47