By Simon Logan on Friday, 23 June 2017
Posted in General Issues
Replies 11
Likes 0
Views 486
Votes 0
I can't find anything in the documentation about the OneSignal desktop push notifications - am I missing it?

I just want to make sure that I am understanding it properly and also was looking to test it first. I've registered an account with them and got the App IDs etc but haven't enabled it on the site yet until I have a better understanding of what is going on.
Hi Simon,

I'm sorry for the inconvenience caused, for Easyblog onesignal documentation was not yet update/release. However, the EasyBlog onesignal setup is almost similar with EasySocial onesignal.
You can refer this documentation: https://stackideas.com/docs/easysocial/administrators/configuration/onesignal-integration

*We are already log this documentation update in our issue tracker and our documentation PIC will update the documentation for onesignal.
·
Friday, 23 June 2017 11:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for this, unfortunately it looks like I'm unable to access it since it's an EasySocial page and I'm not a current subscriber?
·
Tuesday, 04 July 2017 05:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Simon,

Sorry for the inconvenience, seems like you did not have any license for EasySocial you did not have permission to access the documentation. Sorry again.
I've attached images for the steps below:
·
Tuesday, 04 July 2017 11:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for this - I've made progress in that I can now see the icon appearing on the bottom right of the screen but nothing happens when I click on it? I've checked in both Chrome and Firefox - no j/s errors as far as I can see and I've double double checked all the settings.

Have I missed something? I've disabled from the site just now (delta-ee.com) to avoid people clicking on it.
·
Tuesday, 04 July 2017 17:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Simon,

I've temporary enable the onesignal in the site, and seems like I'm able to subscribe the push notification smoothly:
https://monosnap.com/file/kMRG5Tnec6KscVpiyTpvBvrdcoFgGv https://www.screencast.com/t/0jnFqpUwo7j
Is it do you mean the welcome message appear after you subscribe? If yes, actually it is only welcome popup message. If there is new blog post the link to the blog post is clickable.
·
Tuesday, 04 July 2017 18:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hmm, how was it possible for you to subscribe if I'd removed their scripts from the site header? I'm going to add them back in now and give it another try.
·
Tuesday, 04 July 2017 18:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Still the same here - I'm not seeing that window at all so that seems to be the missing bit.

Screencast here for you to check I'm not doing anything wrong:

https://www.screencast.com/t/mtX0Qfu5
·
Tuesday, 04 July 2017 18:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay for some reason it seems to be working a bit better now - I enabled compression via the site template which might be unrelated but after doing this I was able to click on the icon and the "Allow notifications" popup appeared. I then confirmed and got the welcome message.

Is there a way to have the "allow notifications" popup appear on its rather than when the icon is clicked on? Just to draw people's attention to it.
·
Tuesday, 04 July 2017 19:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Simon,

Hmm, how was it possible for you to subscribe if I'd removed their scripts from the site header?

-> It is not necessary, to put the scripts from the site header as our system was already inject the script once you enable the Integrate With OneSignal Push Notifications setting.
Can you try remove the scripts from the site header back and enable the push notification (settings>notification>push notification)
and a subscribe popup (as my screenshots previously) will be appear in the browser as you access https://www.delta-ee.com/delta-ee-blog
·
Wednesday, 05 July 2017 10:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Fadhli

I'm not sure that this is the case to be honest - when I removed the scripts I hard-coded into the <head> area the little notification icon stopped appearing, even with the push notifications enabled in Easyblog) plus screenshot 7 that you provided does state that the SDK should be downloaded, unzipped, modified, then loaded from the site so the implication is these scripts aren't loaded automatically.

Also just to clarify, it looks more like the notifications subscription icon/popup would appear throughout the site, rather than just on the blog pages (which is what we'd want anyway).
·
Wednesday, 05 July 2017 17:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Simon,

Kindly find my response for your inquiries below:
I'm not sure that this is the case to be honest - when I removed the scripts I hard-coded into the <head> area the little notification icon stopped appearing, even with the push notifications enabled in Easyblog)

-> By default we do not use the notification icon, where currently we do apply website notification's popup https://monosnap.com/file/kMRG5Tnec6KscVpiyTpvBvrdcoFgGv https://www.screencast.com/t/0jnFqpUwo7j
and if you apply the hardcoded the scripts into your header page, once you access the easyblog page an error has been throw by onesignal: https://www.screencast.com/t/tcj1k9Xa
OneSignal: The web push SDK is included more than once. For optimal performance, please include our SDK only once on your page.
(anonymous) @ OneSignalSDK.js:1
t @ OneSignalSDK.js:1
(anonymous) @ OneSignalSDK.js:1
(anonymous) @ OneSignalSDK.js:1
OneSignalSDK.js:1 Uncaught (in promise) SdkInitError {reason: "MultipleInitialization", message: "OneSignal: The OneSignal web SDK can only be initi…remove calls initializing the SDK more than once.", name: "SdkInitError", stack: "SdkInitError: OneSignal: The OneSignal web SDK can…easyblog/scripts/site-5.1.9-basic.min.js:231:359)"}

where onesignal detected that The web push SDK is included more than once

plus screenshot 7 that you provided does state that the SDK should be downloaded, unzipped, modified, then loaded from the site so the implication is these scripts aren't loaded automatically.

->Sorry for that, you actually can download the files here:
https://github.com/OneSignal/OneSignal-Website-SDK/releases/download/https-integration-files/OneSignal-Web-SDK-HTTPS-Integration-Files.zip

Also just to clarify, it looks more like the notifications subscription icon/popup would appear throughout the site, rather than just on the blog pages (which is what we'd want anyway).

-> Currently, the notifications subscription icon/popup will only appear on the blog pages
Perhaps, you can create a new ticket under feature request so our developers can keep track the feature that can be implement in the incoming release.
·
Wednesday, 05 July 2017 19:24
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post