Navigation

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

    Fidelix

    @Fidelix

    2
    Reputation
    539
    Profile views
    4
    Posts
    1
    Followers
    0
    Following
    Joined Last Online
    Location Brazil

    Fidelix Follow

    Best posts made by Fidelix

    • RE: NodeBB development environment (IDE - Tools - Configs etc)

      I've been struggling with this all day and no luck.
      Even when I run from the command line I still get the error:

      Imgur

      Imgur
      posted in NodeBB Development
      Fidelix
      Fidelix
    • RE: NodeBB development environment (IDE - Tools - Configs etc)

      Apparently this happens when NodeBB uses async.parallel().
      If you disable the minifier, the error will happen with the templates system, sound system, and so on.

      posted in NodeBB Development
      Fidelix
      Fidelix

    Latest posts made by Fidelix

    • Can't use database from my importer

      First of all, I'm new to NodeJS development. I'm liking it so far (except for a few annoyances here and there).

      I am extending development of nodebb-plugin-import-ipboard (forked and will send a PR once it's done) to support a bunch of stuff the current plugin does not currently support, for instance:

      • IPB replies which are in a special blockquote format.
      • Spoiler blocks
      • Mentions
      • A few more things...

      On my nodebb-plugin-import-ipboard/index.js file, which I'm requiring from a manual test.js file (so it's not running inside NodeBB!), I placed a:
      var db = require('nodebb-plugin-import/server/db');

      But when I try to use it like this:
      var imported_post = db.getObject("_imported_post:1566");
      I just get "undefined".
      I can see on the debugger variables Redis is loaded (but I don't know if it was loaded correctly.)

      I also tried loading data instead of db:
      var data = require('nodebb-plugin-import/server/data');
      and
      var imported_post = data.getImportedPost("1566");

      And I just get undefined.
      Can someone tell me what I'm doing wrong?

      posted in Technical Support
      Fidelix
      Fidelix
    • Can't use database from my importer

      First of all, I'm new to NodeJS development. I'm liking it so far (except for a few annoyances here and there).

      I am extending development of nodebb-plugin-import-ipboard (forked and will send a PR once it's done) to support a bunch of stuff the current plugin does not currently support, for instance:

      • IPB replies which are in a special blockquote format.
      • Spoiler blocks
      • Mentions
      • A few more things...

      On my nodebb-plugin-import-ipboard/index.js file, which I'm requiring from a manual test.js file (so it's not running inside NodeBB!), I placed a:
      var db = require('nodebb-plugin-import/server/db');

      But when I try to use it like this:
      var imported_post = db.getObject("_imported_post:1566");
      I just get "undefined".
      I can see on the debugger variables Redis is loaded (but I don't know if it was loaded correctly.)

      I also tried loading data instead of db:
      var data = require('nodebb-plugin-import/server/data');
      and
      var imported_post = data.getImportedPost("1566");

      And I just get undefined.
      Can someone tell me what I'm doing wrong?

      posted in Plugin Development
      Fidelix
      Fidelix
    • RE: NodeBB development environment (IDE - Tools - Configs etc)

      Apparently this happens when NodeBB uses async.parallel().
      If you disable the minifier, the error will happen with the templates system, sound system, and so on.

      posted in NodeBB Development
      Fidelix
      Fidelix
    • RE: NodeBB development environment (IDE - Tools - Configs etc)

      I've been struggling with this all day and no luck.
      Even when I run from the command line I still get the error:

      Imgur

      Imgur
      posted in NodeBB Development
      Fidelix
      Fidelix