Push Notifications

Has anyone been able to setup Webpage push notification, so when a new post is added to the timeline a notification is pushed out to the subscribers. There are a few sites that offer this service but I need to add some code to my site and I can't seem to edit the html code in my cpanel. Any help would be appreciated, Thank you.

  • 1470
  • More
Replies (8)
    • We were able to get them working on our self-hosted server, the first thing we did was setup an account with OneSignal for the notifications and followed the steps on their site for configuring the UNA server. The only thing you need to know is that the two files you copy to the server are the only thing as the SDK and all code is already in place within the UNA server. The OneSignal website instructions will tell you to embed code on the site but that's already done by the UNA guys. Just dump the two .js files in the root of the server install and make sure your cron job is running properly. 

      • Thank you for your help. I've setup an account on OneSignal and uploaded the 2 .js files to the root directory of my website but the initial subscription pop-up doesn't come up on my website. I will have to have a bit of a play with it. Thanks again.

        • If you have other questions let me know as I am working on setting up 3 sites here with Web Push, Apple Push, Mobile Push, Mobile Apps, etc. 

          • Thank you. I can't seem to get it to work, Pop-up to subscribe doesn't work. I've followed all their instructions a couple of times but isn't working. I even tried adding the code into the <head> via Studio and Designer module but that didn't save the code so I'm stuck now, not sure what I'm doing wrong.

            • Did you manage to get it working? Do you have an SSL certificate for the site? 

              I can help you with this as I had some problems getting this to work but did sort it all out. Maybe you can DM me and I can help you better.

              • Do you know if this is possible when using UNA Pro Cloud? I am unable to FTP into the server to manage/add files.

                • It shouldn’t be a problem as the cron job which runs the notifications is setup to run the OneSignal from the ”public_pluginrs” or “plugins_public” (can’t recall the name) where UNA has installed the necessary support files. So long as you setup OneSignal properly it should work. Can help if you need some direction. 

                  • Hi, Do you know how to get it to work for una13?

                    I added keys on admin side but nothing shows.

                    Thanks

                    Login or Join to comment.