Navigation

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

    satishbh

    @satishbh

    0
    Reputation
    22
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    satishbh Unfollow Follow

    Latest posts made by satishbh

    • RE: Cloud Storage plugin

      @satishbh I have added the s3 bucket name, API key and Secret, but It crashes stating that the location is null. Is there any config file that we need to update?

      2019-08-29T16:52:17.873Z [4567/56699] - error: uncaughtException: Cannot read property 'Location' of undefined
      TypeError: Cannot read property 'Location' of undefined
      at ManagedUpload.callback (/Users/sbhupa@us.ibm.com/NodeBB/node_modules/nodebb-plugin-cloudstorage/lib/controllers.js:222:103)
      at Response.finishSinglePart (/Users/sbhupa@us.ibm.com/NodeBB/node_modules/aws-sdk/lib/s3/managed_upload.js:674:28)
      at Request.<anonymous> (/Users/sbhupa@us.ibm.com/NodeBB/node_modules/aws-sdk/lib/request.js:364:18)
      at Request.callListeners (/Users/sbhupa@us.ibm.com/NodeBB/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
      at Request.emit (/Users/sbhupa@us.ibm.com/NodeBB/node_modules/aws-sdk/lib/sequential_executor.js:78:10)

      posted in NodeBB Plugins
      S
      satishbh
    • RE: Cloud Storage plugin

      @667 does this plugin work?

      posted in NodeBB Plugins
      S
      satishbh
    • How to restrict view, edit access to just the author and moderators?

      Using the privileges , can we restrict the posts done by the user are seen just for him and the moderators? More like a 1-0-1 communication between the author and moderators.

      posted in General Discussion
      S
      satishbh
    • Plugin for premoderation of content?

      Is there are any nodebb plugin that can you used for pre-moderation of posts? If pre-moderation is enabled on a category, all the posts within that category will go thru a moderator for approval before being surfaced for viewing to rest of the users?

      posted in NodeBB Plugins
      S
      satishbh
    • RE: How to call a ReST endpoint from inside the oauth-sso plugin?

      Thank you @PitaJ , request module worked.

      posted in NodeBB Development
      S
      satishbh
    • How to call a ReST endpoint from inside the oauth-sso plugin?

      Once i get the ID from oAuthPlugin , i need to call an external URL to get additional profile attributes. so was trying somthing simple like this but its complaining on including the Ajax package. Is there any Utilities in NodeBB i could use for calls like this? Is it better to use the request library in nodebb to achieve this?

      function getProfile() {
      var url = 'https://www.example.com/jsp/getJsonProfile.jsp?iruserid=' + username
      $.getJSON( url, {})
      .done(function( data ) {
      var myJSON = JSON.stringify(data);
      console.log ("json" + myJSON);
      if ( (typeof(data.displayname) !== "undefined")) {
      console.log ("user is logged :" + data.displayname);
      } else {
      console.log ("user is not logged");
      }
      })
      .fail(function() {
      console.log( "error retrieving idaas user status" );
      });
      };

      posted in NodeBB Development
      S
      satishbh
    • RE: Custom plugin

      Do i need to run the link commands?

      posted in Plugin Development
      S
      satishbh
    • Custom plugin

      I am trying to create a custom plugin to read some cookie info created within the same domain but a different app. Its not able to read the plugin.json, is it valid Path to read local plugin thats not in Git.

      {
      "id": "nodebb-plugin-sso-xxx",
      "name": "NodeBB XXX SSO",
      "description": "NodeBB Plugin",
      "url": "C:/NodeBB/NodeBB/plugins/",
      "library": "./library.js",
      "hooks": [
      { "hook": "filter:auth.init", "method": "getStrategy" }
      ]
      }

      posted in Plugin Development
      S
      satishbh