[nodebb-plugin-pushbullet] Push Notifications for NodeBB


  • @julian it works...most of the time 😉
    @Silvina ...Never mind, julian just beat me to it.


  • @Ted most of the time?!
    @julian
    From pushbullet:
    2014-11-05_11-47-03.jpg
    From my forums:
    2014-11-05_11-48-07.jpg

  • GNU/Linux Admin

    Do me a favour and toggle "Enable Pushbullet Notifications" off, save, then toggle it back on, and save, and see.

    If it starts working, then I messed up the handling of defaults 😬

    Also... most of the time? 😁


  • @julian @Silvina The most of the time reference was regarding my comment to julian about the reload feature - sorry for the confusion.

    What you'll need to do since you've associated the account is wait for someone to upvote a post, send you a message etc. so that you can test if the push functionality is working. I can see your site listed on your Push page, so everything should be operational.


  • @julian not working yet.. haha.. let me play around it further. its a good step forward that i managed to associate the account already.

  • Plugin & Theme Dev

    @julian any way to make this plugin work again?
    thank you

  • GNU/Linux Admin

    wasn't aware that it wasn't working, actually...


  • Works for me. Or better said, I just received the push notifications for replies to this post 🙂

  • GNU/Linux Admin

    @fuzzmz oh boy, haven't seen you in awhile 😄

    Possibly the registering of new pushbullet accounts isn't working? I'll have to take a look...

  • Plugin & Theme Dev

    It doesnt seems to work with the new api as it was posted above the app creation is a bit different. Will be nice if you test it with a new account and put a small guide
    Thank you

  • GNU/Linux Admin

    @Martin sounds good, I'll take a look at it later today if I have some time. Seems odd to have this happen, however, unless the underlying API has been changing from Pushbullet...

  • Plugin & Theme Dev

    Did you have time to check this?

  • Global Moderator Plugin & Theme Dev

    Someone reply to my post. I'm trying to test this.

  • GNU/Linux Admin

    @pitaj howdy.

  • Global Moderator Plugin & Theme Dev

    @julian nope. still nothing.

    Test pushes work though

    Try again. I reset eveything

  • GNU/Linux Admin

    @pitaj ping pong.

    It's likely new associations don't work, though I can't imagine why (since the pushbullet plugin code hasn't changed so substantially to necessitate a re-auth)...

    I've been getting pushbullet notifs from you though 😄

  • Plugin & Theme Dev

    @julian said:

    @pitaj ping pong.

    It's likely new associations don't work, though I can't imagine why (since the pushbullet plugin code hasn't changed so substantially to necessitate a re-auth)...

    I've been getting pushbullet notifs from you though 😄

    so, do we call it as broken for new users?


  • I'm running NodeBB v0.6.1 and pushbullet plugin v2.0.4. Here is the interesting "stuff".......

    From the first install, I have not been able to get the Pushbullet menu to pop up in the profile dropdown. I looked through the code and found the reference to the settings page /pushbullet/settings and then started down that road. I do have a newly created pushbullet account and was able to register the app through the link provided.

    The Pushbullet layout is a little confusing, but the layout is client ID in the first box, secret in the second. I found this by switching them in the many testing iterations in that you will get an invalid client ID during the authorization process if you have them in the wrong place.

    Once I found the /pushbullet/settings page and was able to start testing that process, I found that the URL being constructed as part of the approval message was jacked up (although, it was accurate for my configuration). My problem was that I used the following format for my "url" in the config.json:
    "url" : "http://localhost:443"
    I had modified this to get it to work via ssl and it would work just fine as long as you were not trying to reference from outside of the context of the config file.

    I was able to hack the url tag to "https://www.mydomain.com" , but the app kept starting with the default port. I got into the app.js file and found where the "url" field was getting parsed for the port number and I just hardcoded that into the app.js file.

    After reloading and again manually browsing to /pushbullet/settings, I was able to validate through the entire process and to the point of sending and receiving a test message!

    As I began to test further, I found that no other push notifications were being sent. I manually browsed to /pushbullet/settings once again and found the checkbox to be empty for Enable push notifications. I clicked enable, saved it, and everytime I refresh the page, it is cleared.

    I would associate this with that there is something missing as part of the config process (for both the menu item not appearing and the setting not holding). Doing a quick check of mongo, I am unable to find any reference to "pushbullet:enabled" in objects.

    Sorry for the long rant, just trying to provide insight to what I've found. I don't think the issue has anything to do with the pushbullet service or API, rather something is going on in the plugin itself with regard to fields existing, etc.

  • GNU/Linux Admin

    Will need @baris' help to test on Mongo, as I've only tested it for Redis. It may be that the config option is not saving properly. (true/false/0/1/etc)


  • New update. I was able to find where the settings field for "pushbullet:enabled" and "pushbullet:target" in Mongo. They are both set as to be expected, however, this isn't getting to the settings view.

    Screenshot 2015-02-17 16.30.26.png

Suggested Topics

  • 9
  • 6
  • 6
  • 21
  • 1
| |