Xenforo OneSignal Push Notifications - Now With Simple Install 1.1.7

Exclusive on TAZ One Signal notifications for Xenforo

  1. R0binHood

    R0binHood Enthusiast

    177
    33
    +48
    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 Fan

    770
    162
    +461
    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 Fan

    770
    162
    +461
    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...
     
  5. pierce

    pierce Fan

    770
    162
    +461
    I guess you get something more for $30 a month, its a nice integration.
     
  6. 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?
     
  7. RoldanLT

    RoldanLT Fan

    595
    167
    +216
    Bug?
    short_name value isn't using the addon option but still from {$xenOptions.boardTitle}.
     
  8. pierce

    pierce Fan

    770
    162
    +461
    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.
     
  9. pierce

    pierce Fan

    770
    162
    +461
    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.
     
  10. pierce

    pierce Fan

    770
    162
    +461
    i see the issue in onesignal_manifest. Thank you.
     
  11. dannyboy

    dannyboy Neophyte

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

    The Sandman Administrator

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

    pierce Fan

    770
    162
    +461
    I also put that link as the first line of the resource :)
     
  14. pierce

    pierce Fan

    770
    162
    +461
    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:

    • Informative! Informative! x 1
    • List
  15. termic

    termic Neophyte

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

    pierce Fan

    770
    162
    +461
    Which section would you like?
     
  17. pierce

    pierce Fan

    770
    162
    +461
    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: