Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. orweinberger
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 15
    • Best 3
    • Groups 0

    orweinberger

    @orweinberger

    3
    Reputation
    704
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website crypto.co.il Location Israel

    orweinberger Follow

    Best posts made by orweinberger

    • RE: NodeBB chat bot plugin

      This looks easy enough, thank you @yariplus!

      posted in NodeBB Development
      orweinberger
      orweinberger
    • RE: Getting the user id of a username via plugin

      Thank you! @Giggiux

      posted in NodeBB Plugins
      orweinberger
      orweinberger
    • RE: How to use Write API to chat with user in a chat room

      Thanks @yariplus, I also found this very useful.

      posted in NodeBB Plugins
      orweinberger
      orweinberger

    Latest posts made by orweinberger

    • User context in plugin button

      I'm working on a plugin that adds a button for each post, in the post-tools section. I'm trying to figure out how I can get the user and post context in my plugin code when this button is clicked, but not sure where to start.

      Do you know of a plugin with similar functionality that I can review and see how it was done?

      posted in NodeBB Development
      orweinberger
      orweinberger
    • RE: How to use Write API to chat with user in a chat room

      Thanks @yariplus, I also found this very useful.

      posted in NodeBB Plugins
      orweinberger
      orweinberger
    • Group chats

      Is there an option to open a chat window for a given group? I created a new group, added a few users to it, now I would like to start a chat with this group - Is this possible? I can only see an option of manually adding different members.

      posted in General Discussion
      orweinberger
      orweinberger
    • Chat webhooks

      I'm trying to fire a hook whenever a new chat message is sent. I noticed there's a hook called action:chat.sent. My plugin however does not get that hook fired even when a new chat message is sent for some reason.

      I also noticed there's filter:messaging.parse and filter:parse.raw but these fire with all chat data, meaning that if I sent one message but in my history I have more messages, the hook will fire with all previous messages as well, and I would only like it to fire once when a new chat is sent. As a workaround I guess I can bind to filter:messaging.parse and manually filter out anything that isn't isNew: false, but I am looking for something cleaner if possible.

      posted in NodeBB Development
      orweinberger
      orweinberger
    • RE: NodeBB chat bot plugin

      This looks easy enough, thank you @yariplus!

      posted in NodeBB Development
      orweinberger
      orweinberger
    • NodeBB chat bot plugin

      Hi, I'm trying to build a chatbot for my nodebb forum, at the moment I'm using the action:post.save hook and then run a check to see if the bot's username was mentioned. This is not ideal because only a fraction of the posts will contain the bot mention. Is there a hook specifically for a mention that I can use?

      posted in NodeBB Development
      orweinberger
      orweinberger
    • RE: Getting the user id of a username via plugin

      Thank you! @Giggiux

      posted in NodeBB Plugins
      orweinberger
      orweinberger
    • Getting the user id of a username via plugin

      I'm currently working on an example plugin and I would like to basically know the userid of a given mentioned username.

      So for example, if a user comments and says 'Hey @someusername how are you?' I would like to find out the userid of 'someusername' via my plugin.

      I can't seem to find any relevant method under User that will allow me to get this info.

      Any ideas?

      posted in NodeBB Plugins
      orweinberger
      orweinberger
    • Changetip Plugin

      Re: Plugin Request: ChangeTip

      This is quite an old request, ChangeTip now has a nodejs module to perform API actions:

      If anyone can assist with this, it would be very much appreciated.

      I would love to know if anyone has any idea on a different plugin that I could use as a skeleton to create this plugin. I tried using the nodebb-plugin-sso skeleton but it seems to be a bit obsolete.

      Thanks

      posted in NodeBB Plugins
      orweinberger
      orweinberger
    • SSO Plugin questions

      I'm working with this SSO plugin skeleton: https://github.com/julianlam/nodebb-plugin-sso-oauth to create my own.

      I want to add a check to see if the user who is trying to connect to this 3rd party is already logged in to NodeBB, if so I would like to disregard the email address provided by the 3rd party sso and just add the other fields from the sso provider to his profile.

      The reason for this is becuase whenever a user is already logged in and tries to connect via SSO and that he is registered in that 3rd party with a different email address, NodeBB will create a new user.

      I can see that I need to add a check under the OAuth.login function but not sure how to check if there's currently a logged in session for this user.

      posted in NodeBB Development
      orweinberger
      orweinberger