Xenforo OneSignal Push Notifications - Now With Simple Install 1.1.11.2

Exclusive on TAZ One Signal notifications for Xenforo

  1. R0binHood

    R0binHood Adherent

    277
    75
    +83
    Just came across this implementation from a company called roost.

    The bell expands full window height to show you all of your notifications, which is kind of neat.

    https://goroost.com/

    Found it on this site: https://www.thebeaverton.com

    amedia.giphy.com_media_xUA7bhdZInvYNN3CkU_giphy.gif
     
  2. pierce

    pierce Habitué

    1,015
    212
    +584
    Setup a onesignal free account

    Upload files to your site and install with XML.

    Configure inside admin control panel.

    What step are you getting stuck on?
     
  3. termic

    termic Neophyte

    4
    6
    +0
    Setup on onesignal a free account > OK

    Upload files to your site and install with XML. > OK

    Configure inside admin control panel. > OK

    But Not.

    HTML:
      <link rel="manifest" href="/manifest.json">
      <script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async></script>
      <script>
        var OneSignal = window.OneSignal || [];
        OneSignal.push(["init", {
          appId: "YOUR_APP_ID",
          autoRegister: false,
          notifyButton: {
            enable: true /* Set to false to hide */
          }
        }]);
      </script>
    I will add this code manually. Is it necessary?

    https://www.fitnessbilim.com/forum/

    i added.
     
  4. pierce

    pierce Habitué

    1,015
    212
    +584
  5. pierce

    pierce Habitué

    1,015
    212
    +584
    pierce updated Xenforo OneSignal Push Notifications - Now With Simple Install with a new update entry:

    Features and security

    Read the rest of this update entry...
     
  6. pierce

    pierce Habitué

    1,015
    212
    +584
    I guess you get something more for $30 a month, its a nice integration.
     
  7. JulianD

    JulianD Participant

    54
    56
    +6
    Hello piercepierce,

    First of all, thank you for this nice add-on. I really appreciate it.

    Now that XenForo 2 Developer Preview is out, do you have any plans to upgrade this addon to the new XenForo version?
     
  8. RoldanLT

    RoldanLT Fan

    621
    197
    +228
    Bug?
    short_name value isn't using the addon option but still from {$xenOptions.boardTitle}.
     
  9. pierce

    pierce Habitué

    1,015
    212
    +584
    If short name isn't specified, it uses board title.

    This was for people who had extremely long site names and didn't suit using board title n and need something shorter.

    I have a bug where guests are prompted to sub even though it's set to false I'll look at it in a bit.
     
  10. pierce

    pierce Habitué

    1,015
    212
    +584
    Once it goes public alpha/beta I'll look at it. Or when this version settles down.

    Xf 1.5 isn't going anywhere soon.

    There's no major hooks here either, no major database queries. It all revolves around simple logic and JavaScript templates. It can't be that hard to port.

    I got worried with the time line of xf2. It was never meant to be released for 1.5 but low and behold we are here and it's a fully fledged add-on.
     
  11. pierce

    pierce Habitué

    1,015
    212
    +584
    i see the issue in onesignal_manifest. Thank you.
     
  12. dannyboy

    dannyboy Neophyte

    1
    1
    +0
    Sorry if this has been discussed, but how does one download/purchase this add-on?
     
  13. The Sandman

    The Sandman Administrator

    27,224
    1,822
    +4,187
    You'll be able to download this once you validate your XenForo license here: https://theadminzone.com/license/
     
  14. pierce

    pierce Habitué

    1,015
    212
    +584
    I also put that link as the first line of the resource :)
     
  15. pierce

    pierce Habitué

    1,015
    212
    +584
    How to setup onesignal, give it an appropriate name.

    upload_2017-3-21_12-9-37.png

    Then:

    upload_2017-3-21_12-10-9.png

    Select Website Push

    upload_2017-3-21_12-10-29.png

    Select Google Chrome/Mozilla Firefox

    upload_2017-3-21_12-11-12.png

    upload_2017-3-21_12-11-27.png

    Enter the detail below into the OneSignal addon.

    upload_2017-3-21_12-12-40.png

    Then subscribe to your own site.

    You can also click the X at the top right at this point.

    And say yes to "Finish Later"

    upload_2017-3-21_12-13-4.png

    This is where you get the App ID and RESET API Key for the Addon.

    For safari:

    upload_2017-3-21_12-14-11.png

    And now you have your safari key

    upload_2017-3-21_12-14-40.png

    After that, thats it. On OneSignal there are no more changes that can be made.

    Enter these 3 details into the addon, and it should work. You should see "All Users" start to fill up.
     

    Attached Files:

    • Like Like x 1
    • Informative! Informative! x 1
    • List
  16. termic

    termic Neophyte

    4
    6
    +0
    Can you share the screen view of the default settings?
     
  17. pierce

    pierce Habitué

    1,015
    212
    +584
    Which section would you like?
     
  18. pierce

    pierce Habitué

    1,015
    212
    +584
    Here are grabs of the default settings.

    There's also the user group permissions which is default to not show so you need to allow it.
     

    Attached Files:

  19. pierce

    pierce Habitué

    1,015
    212
    +584
    There's been a serious question about the possibility of an over reaching privacy policy with onesignal.

    I take this feedback seriously and have looked at the options.

    Anybody sending over 100,000 messages a month to over 100k users is in the enterprise package of most other services. Basically don't call us we will call you stuff.

    The package before that is between $100 and $200 a month.

    The point this leaves us at is to:

    Keep using onesignal which is free and has always reacted from what i can see appropriately when serious privacy questions were asked. They have 160,000 developers so are absolutely not going anywhere.

    Use Amazon who charge 50c per million messages. But the implementation is per device type!

    For me to develop my own platform for xf admins probably using Amazon and paying 50c per million.

    Wait for a competitor to onesignal.

    The first and last suggestions right now are the only 2 options. I don't want to design a messaging server that will hold up to hundreds of xf sites from quiet to ultra busy.

    What i can do is if somebody was serious about developing a messaging server to back it with a vps for the time being and a cloudflare frontend test it on a few sites and create a new xf mod. This is all from the want to help the forum eco system.

    I'm in Europe so one of the strictest economic zones in the world for privacy.

    This won't happen over night. I don't think i have the energy or time to do such a thing.

    So let me know what you think.
     
  20. iamacyborg

    iamacyborg Enthusiast

    198
    28
    +15
    Hey piercepierce , what might also be interesting to look at is OneSignal's paid service, which they advertise incredibly poorly. This might be the compromise you're looking for as pricing is ridiculously cheap at $0.08 CPM (registered user, not messages sent).

    upload_2017-3-27_9-43-38.png
     
    • Informative! Informative! x 3
    • List