XenForo OneSignal Push Notifications - Now With Simple Install 1.1.11.2

Exclusive on TAZ One Signal notifications for Xenforo

  1. rosal

    rosal Aspirant

    20
    33
    +2
    Ok, i have add the 3 files and now in firefox pc and android works ok.

    But in the Chrome PC and Android dont work, any clue what is the problem?
     
  2. rosal

    rosal Aspirant

    20
    33
    +2
    In the chrome is not working and give this in console chrome.


     
  3. pierce

    pierce Habitué

    1,169
    262
    +720
    Yes only 2 files.

    I made it so that the manifest was automatically updated as a template from within XenForo.

    Example:

    https://letsgo.tools/os_manifest

    That is the manifest file, and takes the settings from Home->Options->OneSignal and completes the manifest for you.

    I did this to make life easier if you had a custom manifest for favicons, native web app etc so you don't have to constantly upload a new manifest file.

    The template is called onesignal_manifest and type that into your search bar at the top right to find it quickly :)
     
  4. pierce

    pierce Habitué

    1,169
    262
    +720
    ive sent a pm to you :)
     
  5. rosal

    rosal Aspirant

    20
    33
    +2
    Thanks pierce

    Now its working i have missed to add this to the options / OneSignal Push Notifications
    Short name for alert notice :

    only inserted the Long Name of Forum, i have to add the 2, thanks for the tip fix pierce
     
  6. Sal Collaziano

    Sal Collaziano Womanizer

    885
    557
    +212
    Hey. I installed this on a new site and for the life of me I can't find the option where you can choose whether or not to automatically ask the viewer if they want to sign up or not. As of now, it's set to automatically ask instead of waiting for them to click the red bell. Any help would be greatly appreciated... Thank you!
     
  7. pierce

    pierce Habitué

    1,169
    262
    +720
    Prompt guest automatically?
     
  8. Sal Collaziano

    Sal Collaziano Womanizer

    885
    557
    +212
    That sounds like it. Where's that setting? I could swear I saw it when I initially set things up on the first site...
     
  9. pierce

    pierce Habitué

    1,169
    262
    +720
    upload_2017-6-15_17-27-29.png

    there you go
     
  10. Sal Collaziano

    Sal Collaziano Womanizer

    885
    557
    +212
    That was it. Thank you. Not sure how I missed it this time!
     
    • Appreciation Appreciation x 1
    • List
  11. Sal Collaziano

    Sal Collaziano Womanizer

    885
    557
    +212
    Here I am again, with another silly question. Something seems to have changed on both my sites. Persistent Notifications. Does that mean notifications that won't disappear on your desktop until you click them? If so, I have that selected as YES but they fade away after about 10 seconds. What might have happened?
     
  12. pierce

    pierce Habitué

    1,169
    262
    +720
    Its actually the opposite.

    The default is to persist. Mouth requested the ability to change that behavior to disappear after x amount of seconds(20 i think).

    And it was added.

    Pierce
     
  13. Sal Collaziano

    Sal Collaziano Womanizer

    885
    557
    +212
    Okay, so Persistence Notifications set to FALSE is what I want - for persistence notifications. Correct?
     
  14. pierce

    pierce Habitué

    1,169
    262
    +720
    Persistent set to true to persist.

    Persistent set to false to fade after 20 seconds.
     
  15. Sal Collaziano

    Sal Collaziano Womanizer

    885
    557
    +212
    That's the thing. I had it set to TRUE but it's fading on both sides. I guess nobody else is having this issue...
     
  16. muratcabuks

    muratcabuks Neophyte

    1
    1
    +1
    Thank you very much this is Avesome !
     
  17. maxmizo

    maxmizo Neophyte

    1
    1
    +0
    how i can download it
     
  18. we_are_borg

    we_are_borg Administrator

    5,350
    1,417
    +2,121
  19. LiquidServe

    LiquidServe Aspirant

    23
    8
    +12
    Dev,

    It would great if you could use some of the XenForo best practices to prevent it from conflicting with other addons. Instead of copying and pasting code from default XenForo Implementation, you can do something like

    In Model/Conversation.php
    Code:
    parent::insertConversationAlert($conversation, $alertUser, $action,
        $triggerUser, $extraData, $messageInfo);
    
    And similarly in the Alert.php file.

    Thanks
     
    • Like Like x 2
    • Appreciation Appreciation x 2
    • List
  20. ozzy47

    ozzy47 Tazmanian Veteran

    9,007
    892
    +4,329
    Thanks for posting the suggestion, hopefully pierce can sort through it. :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.