[bd] Push Notification 2.1.1b

Mobile push notification with Pushover and Pushbullet

  1. mouth

    mouth New Member

    IMG_0454.jpg

    Bottom is the welcome message, and top is an alert for a new post.

    Issue #1 - difference with apostrophe in Australia's between the bottom and top messages.
    Issue #2 - URL on the top message is a 404

    Query #1 - Can you define/limit the site name for Pushbullet alerts, so that it doesn't take up so much space and you cannot see the purpose of the alert.
     
  2. mouth

    mouth New Member

    Conversation alerts not working for me. Anyone else getting them with v2.1.0?
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @mouth Have you got conversation working? Try disable delayed push and post a message to quickly know whether the system tried to push.
       
  3. bloh

    bloh New Member

    Edit this phrase: bdpushover_alert_from_x
    Remove it completely to remove the site name.
    Conversation alerts works for me. xf 1.3
     
    xfrocks and mouth like this.
  4. D.O.A.

    D.O.A. New Member

    Hi @xfrocks , I've been using this with no issues or reported issues from any of our users, I just noticed today though an error in the admin panel that seems to have come from the add-on.
    Not sure what it means, but as I said, everything works great regardless :)

    Code:
    ErrorException: Fatal Error: Cannot use object of type Zend_Http_Response as array - library/bdPushover/Helper/PushbulletApi.php:156
    Generated By: Unknown Account, Yesterday at 8:11 PM
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State
    array(3) {
      ["url"] => string(39) "http://forum.xxxxxx.com/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(3) {
        ["_xfRequestUri"] => string(48) "/threads/some-thread.29445/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @D.O.A. I have tracked down a bug, you should update to v2.1.1 to avoid future issue ;)
       
      D.O.A. likes this.
      1
  5. xfrocks

    xfrocks XenForo rocks!
    Staff Member

  6. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Where did it say "approving"?
     
    1. leeooing

      leeooing New Member

      leeooing @xfrocks In pushbullet
      please have a look in pic
      Screen Shot 2014-10-04 at 12.00.23.png
       
    2. xfrocks

      xfrocks XenForo rocks!
      Staff Member

  7. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Please delete your picture because it exposes your client id and secret. Anyway, if you have just created the Pushbullet app, you need to wait a while for them to active across Pushbullet server, people have reported issues with newly created app before.
     
  8. leeooing

    leeooing New Member

    @xfrocks i can not deleted files attachment 829. please deleted it for me
    otherwise i will wait some time to see what happened
    thanks
     
    xfrocks likes this.
  9. D.O.A.

    D.O.A. New Member

    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

    2. D.O.A.

      D.O.A. New Member

      D.O.A. @xfrocks All alerts at the moment, I'm going to try re-install on the forum and see if it's related to that.
       
  10. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    When did it start happening?
     
    1. D.O.A.

      D.O.A. New Member

      D.O.A. @xfrocks I've worked it out, it's this mod I installed https://xenforo.com/community/resources/xencentral-invite-system.2337/ disable will fix push alerts.
      The invite closes the registration and redirects users to http://forum.domain.com/invite/purchase instead of /register.
      So the register/pushbullet redirect is broken. Not sure what if anything can be done from your end, but if you ever code a invite mod I'll be the first to buy it, this one throws too many errors as it is and now it breaks pushbullet. :rolleyes:
       
      IPF likes this.
      1
    2. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @D.O.A. Hmm, I will see what I can do... This one is a paid solution though, so it will be a bit unlikely to be honest.
       
    3. D.O.A.

      D.O.A. New Member

      D.O.A. @xfrocks For a paid solution I am nowhere near satisfied - this invite thing throws an error with confirmation messages that exposes paths to the server and the developer thinks that was not much of a issue until I told him. Still no fix. So much for some QA on that product. I think I bite the bullet and delete his mod, not this one.
       
    4. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @D.O.A. Unfortunate to hear but "bite the bullet"? Haha, nice.
       
      D.O.A. likes this.
      1
    5. IPF

      IPF New Member

      IPF @D.O.A. +1 to that.
       
  11. MattW

    MattW Member

    Keep getting the odd occurance of this in the error log

    Code:
    ErrorException: Fatal Error: Class 'bdPushover_ApiResponse' not found - library/bdPushover/Helper/PushbulletApi.php:158
    Generated By: Unknown Account, Today at 1:00 AM
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State
    array(3) {
      ["url"] => string(40) "https://mattwservices.co.uk/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(4) {
        ["_xfRequestUri"] => string(1) "/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
      }
    }
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @MattW How often do you get it?
       
    2. MattW

      MattW Member

      MattW @xfrocks Have had about 5 of them since upgrading to the PushBullet version.
       
    3. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @MattW Strange, I have received no report regarding this. Anyway, I have tracked down a potential problem and fixed it in v2.1.1b, please download the latest version and keep an eye on your server log to see if the error ever occurs again. Sorry for the inconvenience.
       
      MattW likes this.
      1
  12. matth

    matth New Member

    #101 matth, Oct 31, 2014
    Last edited: Nov 1, 2014
    Hey xfrocks --edit, figured that out...

    edit again- figured something more out...

    Now i'm getting an error message: pushbutton email could not be detected, the email I am using with pushbullet and with the forum are the same...
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @matth You are fast at figuring out :D

      Which server are you using? And where did you get that error message?
       
    2. matth

      matth New Member

      matth @xfrocks I get the error message after testing the link within Pushbullet - it takes me to my forum, then gives that error. I'm running on Linode.
       
    3. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @matth Have you tried associating your Pushbullet account with your XFROCKS account?
       
    4. matth

      matth New Member

      matth @xfrocks I had tried not to since I thought that I should have:

      Forum Super Admin username+ email +pushbullet as the same.

      Vs a secondary account (used for xfrocks)+ associated (secondary)email not having a connection to the forum.

      If I use the xfrocks details would the members ever see any issues there/ such as updates not being pushed by the admin but by the secondary account in some way?
       
    5. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @matth No, email doesn't have to be a match. I mean, you should test your personal Pushbullet account with the xfrocks.com site itself. Go here to start External Accounts
       
  13. matth

    matth New Member

    I think I got it figured out! Thanks very much. I was missing where to connect on my side (IE the External Accounts link) now it seems to be working, thank you!
     
    xfrocks likes this.
  14. WMG

    WMG New Member

    I am attempting to use Pushbullet. When I go to their page and create a client ID, the resulting page is a jumble. However, I figured out which is the client ID and which is the private key, and it seems to have worked correctly! So, great job xfrocks!

    I only am concerned that Pushbullet may start charging for their service. I would like to use this on a big board, and it likely will generate thousands, if not tens of thousands, of notifications per day. I would not want our users to get used to the service, then have to discontinue it due to cost. I do wish Xenforo would build this functionality into the core--if they had someone develop their own app for push notifications (which would accept pushes from any Xenforo forum, not just one), and let the forum's server handle pushing the notifications, it would be idea. I would pay extra for a license for that.
     
    rafass, IPF and xfrocks like this.
  15. matth

    matth New Member

    I got two more questions...

    If the user wants to change the alerts that come to pushbullet - is there a way, or should they just change their XF alert preferences?

    How do I swap my membership here to the monthly subscription?
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @matth Yes, the push notification will respect the alert preferences.
      Regarding Webmaster user upgrade, you will need to wait until your current upgrade expire for that. Sorry.
       
  16. AndroidOne

    AndroidOne New Member

    #111 AndroidOne, Nov 11, 2014
    Last edited: Nov 11, 2014
    I'll move my post from Xenforo here.
    [​IMG]
    When I try to associate my user account with Pushbullet it just keeps on going forever after I've clicked the "Approve" button. (Animation just keeps spinning)

    My settings
    Name: Swedroid Forum
    Website URL: http://www.swedroid.se/forum
    Redirect URI: http://www.swedroid.se/forum/register/pushbullet
    Allowed_origin: http://www.swedroid.se/forum

    *example.com/forum = XF root folder

    Can you tell me if there's anything wrong with my settings or do they seem to be correct?

    app_id.png
    Since they don't specify which is which I noticed that by hovering over the "click here button" the App ID is the first one. Is this correct?
     
    1. AndroidOne

      AndroidOne New Member

      #112 AndroidOne, Nov 11, 2014
      Last edited: Nov 11, 2014
      AndroidOne @AndroidOne
      Edit: What the....it just started working. I did it all over and in the exact same fashion. Would you mind adding something like this to the resource overview to make it easier for folks?

      Settings (example)
      Name: Forum Name
      Website URL: http://www.example.com/forum
      Redirect URI: http://www.example.com/forum/register/pushbullet
      Allowed_origin: http://www.example.com/forum

      /forum = Xenforo root

      App ID is on the top right, secret is on the bottom left.

      Edit: And one more thing - can you add a tooltip that explains each of the alerts or anything like that? It's not very clear by the list (at least not for anyone new to Xenforo).

      System Alert:
      Conversation: Notifications for new private messages
      Post: Notifications for new posts in watched threads (??)
      Profile Post: Notifications for new posts on your personal profile/wall
      Resource Rating:
      Resource Update:
      Thread: Notifications for new posts in threads you create (??)
      User: Notifications when mentioned (??)

      Edit: Is there any way to edit pushbullet notfication settings without disconnecting/reconnecting the account? I can't seem to find any settings for it.

      Thanks!
       
  17. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Well, many people reported that Pushbullet won't work right after registration. You may need to wait an hour or so before the Approve button works. Strange, yes.

    For the tooltip, it will be a bit hard because the add-on try to support all kinds of alerts from third party add-ons and it may not have tooltip for all alerts. I will see what I can do. Nice suggestion though :D
     
    AndroidOne likes this.
  18. motowebmaster

    motowebmaster New Member

    I finally figured out why Pushbullet wasn't working for me.

    I wasn't copying the complete Pushbullet Client Secret key text. Instead of dragging-copying with my mouse, I double-clicked on the text and then copied/pasted.

    Just my opinion, but it doesn't appear that Pushbullet will ever need to charge anyone. They are collecting a crazy amount of data ;)
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @motowebmaster I think they are going to be acquired soon :D
       
  19. king8084

    king8084 New Member

    when i learned your mod now supports pushbullet i bought it instantly

    i cant wait to use it

    i hope support for this mod doesnt stop
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @king8084 Thank you for your support. Have you had any problem setting it up?
       
    2. king8084

      king8084 New Member

      king8084 @xfrocks cant get pushbullet to work lol
       
  20. king8084

    king8084 New Member

    did anybody find a solution to this "approving" thing on pushbullet?
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @king8084 After creating the PushBullet app, just wait a bit before using it. It may take a while to work on their server.
       
    2. king8084

      king8084 New Member

      king8084 @xfrocks hmmmm i signed up almost 45 mins ago

      i will wait a bit more
       
    3. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @king8084 Mine didn't work until an hour or so... So yeah, 15 more minute before push notification awesomeness :D
       
    4. king8084

      king8084 New Member

Loading...