Push notification on xF2, is this addon trustable

@Dnyan Deshmukh , Review the steps below
  1. Register https://onesignal.com/
  2. Add a new app button
    1.webp
  3. Select platform
    2.webp
  4. Site setup
    3.webp
  5. Permission Prompt Setup customize
    4.webp
  6. Welcome Notification customize
    5.webp
  7. save when finished
    6.webp
  8. will automatically redirect Web Push configuration. Download file SDK
    7.webp
  9. Unzip the OneSignal SDK files. There should be three files:
  10. Add Code to Site. Copy Code
  11. Search templates PAGE_CONTAINER
    Code:
    </body>
    add on top
    Code:
    <link rel="manifest" href="/manifest.json" />
    <script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
    <script>
      var OneSignal = window.OneSignal || [];
      OneSignal.push(function() {
        OneSignal.init({
          appId: "Your-ID",
        });
      });
    </script>
  12. Saves and exit
Demo: https://xfdestek.com/
preview
2018-03-08_07-21-11.webp

2018-03-08_07-22-01.webp

I hope it helped. Good work (y)
 
Will it send push notification for alerts like.

Xyz like post in abc thread.

Xyz sent you conversation msg etc.
 
The add on is not published yet but I guess it will be very soon. You can trust the source. It is one of the well known xenforo Turkish support forum.

The desktop version will be free, but the mobile version needs to be purchased.
 
@Dnyan Deshmukh , Review the steps below
  1. Register https://onesignal.com/
  2. Add a new app button
    View attachment 170677
  3. Select platform
    View attachment 170678
  4. Site setup
    View attachment 170679
  5. Permission Prompt Setup customize
    View attachment 170680
  6. Welcome Notification customize
    View attachment 170681
  7. save when finished
    View attachment 170682
  8. will automatically redirect Web Push configuration. Download file SDK
    View attachment 170683
  9. Unzip the OneSignal SDK files. There should be three files:
  10. Add Code to Site. Copy Code
  11. Search templates PAGE_CONTAINER
    Code:
    </body>
    add on top
    Code:
    <link rel="manifest" href="/manifest.json" />
    <script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
    <script>
      var OneSignal = window.OneSignal || [];
      OneSignal.push(function() {
        OneSignal.init({
          appId: "Your-ID",
        });
      });
    </script>
  12. Saves and exit
Demo: https://xfdestek.com/
preview
View attachment 170684

View attachment 170685

I hope it helped. Good work (y)

How does this work with no extension, how does the onesignal API know there is a notification from Xenforo software? Surely there needs to be some sort of integration?
 
Exactly, so you'd need a Xenforo extension to trigger the onesignal API. Just adding the code like in your instructions won't do anything.

Adding that code will put a bell icon on your forum.

With current code, you can make peoples to subscribe to your site notifications.

With this system now you can send users automated notification on subscribing.

For further notifications you need to send them manually.

How it works
When user subscribe to notification.
It add the users to onesignal database as per the browser type.

In onesignal control panel, you can see how many subscribers are there according to browser and you can send notification to all users manually from there.


To make it work by adding automation to push notification for alerts and conversation.

It need coding to automate it.

Hope someone will develope it soon.
 
Adding that code will put a bell icon on your forum.

With current code, you can make peoples to subscribe to your site notifications.

With this system now you can send users automated notification on subscribing.

For further notifications you need to send them manually.

How it works
When user subscribe to notification.
It add the users to onesignal database as per the browser type.

In onesignal control panel, you can see how many subscribers are there according to browser and you can send notification to all users manually from there.


To make it work by adding automation to push notification for alerts and conversation.

It need coding to automate it.

Hope someone will develope it soon.
I know someone who has done this and integrated with XF2 alert system. Costs $150. PM me if interested.
 
I know someone who has done this and integrated with XF2 alert system. Costs $150. PM me if interested.
Yes i have it, working nice. you can test it on my site, link is in signature.

what not working
likes alerts
conversation alerts
 
  • Like
Reactions: sip
Does it also work at mobile ?
Yes, but browser compatibility i am not aware.
On my mobile it supports chrome but not firefox.

on my friends mobile it supports both.

Addon still have some bugs
it wont push notification for
if someone like
if someone sends conversation msg
 
Back
Top Bottom