Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. Tags
    3. plugindevelopment
    Log in to post

    • C

      Authorizing another socket's session
      NodeBB Development • plugindevelopment login unsuccessful sso plugins • • chiguireitor  

      6
      0
      Votes
      6
      Posts
      823
      Views

      C

      It seems require('socket.io').reqFromSocket(socket) doesn't returns a valid req for AuthController.doLogin.... i want to authenticate via websocket but maybe i will have to do it the old POST way, am i correct?
    • Giggiux

      SOLVED extends nodebb write-api?
      NodeBB Plugins • write-api plugindevelopment • • Giggiux  

      7
      0
      Votes
      7
      Posts
      2780
      Views

      Giggiux

      To anyone searching the same thing, I resolved the problem using the custom write-api hooks, I wasn't aware of: https://github.com/NodeBB/nodebb-plugin-write-api/blob/master/routes/v1/index.js#L45 filter:plugin.write-api.routes that gives you data, I used it in this way: function(data, callback) { var app = data.router; var apiMiddleware = data.apiMiddleware; var middleware = data.middleware; var errorHandler = data.errorHandler; app.post('/route', apiMiddleware.requireUser, function(req, res) { // do stuff }); callback(null, { router: app }); }; Obviously you should have nodebb-plugin-write-api installed.
    • D

      Plugin Development Workflow
      Plugin Development • plugindevelopment workflow • • devmattrick  

      7
      2
      Votes
      7
      Posts
      2333
      Views

      jarey

      @Tomas-Pavlacky seems that we will have to submit a PR to update those dependencies. Did you managed to make it work?
    • boomzilla

      Plugin Integration Test
      NodeBB Development • plugindevelopment integration • • boomzilla  

      4
      0
      Votes
      4
      Posts
      1563
      Views

      boomzilla

      @julian It means that I can test my plugin with nodebb actually firing hooks for it.
    • I

      Need a plugin developer who can do badges plugin
      NodeBB Plugins • plugin plugindevelopment plugin request developers • • inhuman  

      2
      0
      Votes
      2
      Posts
      1322
      Views

      julian

      @inhuman We could build one out for you, possibly Reach out to us at sales@nodebb.org
    • Jesse Pulfer

      Anyone familiar with Xenforo's Resource Manger ?
      General Discussion • plugindevelopment communitydevelopers • • Jesse Pulfer  

      3
      2
      Votes
      3
      Posts
      1304
      Views

      yariplus

      Has this been started yet? I am interested in helping with this, as I'm a XenForo convert.
    • 1 / 1