By shoulders on Wednesday, 07 March 2018
Posted in General Issues
Likes 0
Views 636
Votes 0
While setting up the OneSignal I am made aware that the end user has to accept the subscription, which leads to these question:

1) when a user subscribes is there only one feed from Easyblog they sign up for?
2) if there is more than one feed do they have to sign up for more?
3) Are Easblog inbuilt comments classed as a seperate feed?
4) With the questions above in mind is it still correct to have Komento use the same App from OneSignal?
5) Does easy blog support all mobile devices? Do I just need to finish setting them up in OneSignal?
6) Do you have instructions onhow to integrate OneSignal with Google Analytics?
7) in your onesignal instructions there is the following statement "Unzip the OneSignal-Web-SDK-HTTPS-Integration-Files.zip file and you will find these 3 files: , manifest.json (You will need to edit this file)" Do do not say what to edit and what to replace them with. Can you tell me what I should change?
8) where do i get my gcm_sender_id from?

NB: Onesignal have changes their setup procedure so you guys might want to have a look at that.

Thanks
Hi mark, yes it was linked to one of those other issues I posted and you have dealt with.

All these issues have been dealt with

Thanks especially to abdul for answering all my questions
·
Saturday, 10 March 2018 17:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Please find your inquiries below.


1) when a user subscribes is there only one feed from Easyblog they sign up for?
2) if there is more than one feed do they have to sign up for more?
3) Are Easblog inbuilt comments classed as a seperate feed?

When you are signed up with onesignal, you will be notified if and only if there are new blog post on your site only. There are no notifications sent for Easyblog built-it comments currently.

4) With the questions above in mind is it still correct to have Komento use the same App from OneSignal?

Yes it should correct and there is no problem for you to use same app from onesignal. But you will be sent out notificaiton, if and only if you subscribe to the post's comment only.

5) Does easy blog support all mobile devices? Do I just need to finish setting them up in OneSignal?

Yes it should support for all mobile, and it is required for you to follow those necessary steps prompted on onsignal itself.

6) Do you have instructions onhow to integrate OneSignal with Google Analytics?

It is not possible for us to achieve this currently. Perhaps it would be best if you can submit a feature request regarding this issues by creating a new ticket on the forums and set it to "Feature Request" so that everyone else could vote for it. We will prioritize this feature during the development process for the next major version of Easyblog if there are more people request on this.

Can you tell me what I should change?

You need to apply information below on manifest.json only if and only if your site using ssl(https). If not, it is not required for you to use them on your site.

{
"name": "yoursite.com",
"short_name": "yoursite",
"start_url": "/",
"display": "standalone",
"gcm_sender_id": "482941778795",
"DO_NOT_CHANGE_GCM_SENDER_ID": "Do not change the GCM Sender ID"
}


8) where do i get my gcm_sender_id from?

You should not change them as it is meant to be that way, as it already stated that no need to change them.
·
Wednesday, 07 March 2018 14:10
·
0 Likes
·
0 Votes
·
0 Comments
·
1) thanks
2) thanks
3) thanks
4)

  • So to clarify I can use the same App because it is Komento and Easblog that decides when to send out the push notifications?
  • Does Easyblog store the subscriptions?
  • Does Komento store the subscriptions for each individual comment stream?
  • How do stackideas have this setup, 1 or 2 apps? Which is the best setup, your instructions do not mention anything fo this? This setting in particular needs to be explored more.


5) thanks - added to feature suggestions - https://stackideas.com/forums/update-easyblog-onesignal-documentation-and-komento
6) thanks - added to feature suggestions - https://stackideas.com/forums/add-google-analytics-tracking-code-for-one-signal

7) thanks - You are assuming everyone knows what a site manifest is. I know what to add because I have just done my favicons but most people will of not. see https://stackideas.com/forums/update-easyblog-onesignal-documentation-and-komento

8) thanks - You need to put a note to say not to change the gcm_sender_id as it is a OneSignal signal rather than a reference id for the easyblog app and that the line below ("DO_NOT_CHANGE_GCM_SENDER_ID": "Do not change the GCM Sender ID") is just advising you not to change it which can be removed. You should also add a example of the manifest filled in with some demo data, maybe the stackideas one or a link to it. - see - https://stackideas.com/forums/update-easyblog-onesignal-documentation-and-komento

Followup Questions

10) If someone signs up for easyblog, will this not sign them up for all all of the komento posts?
11) how can i control Web Push subscriptions?
12) If I configure komento to use one signal..... What happens?

  • the end user gets notifications of all new comments?
  • the end user only gets notifications of new comments on certain posts/articles?
  • the end user gets one new message saying there haev been updates?
  • the end user only gets notified to comments they have subscribed to?

13) If I configure easyblog to use onesignal and a enduser allows push notifications then that user will receive notfications of a new blog posts only?
14) what happens if i have Easyblog and Komento configured at the same time (i.e. on a blog post within easyblog where I am using komento for comments.)

  • Will they get two push notifictions?
  • How will the duplicated code work?
  • does easyblog intelligently know that Komento is installed with webpush enabled?



I appreciate these questions are in-depth but your documentation does not cover it and this will be helpful for other users and I will add all of this information to my documentation.

Thanks
·
Wednesday, 07 March 2018 20:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I appreciate these questions are in-depth but your documentation does not cover it and this will be helpful for other users and I will add all of this information to my documentation.

Thanks for the input

Please find your inquiries below.

10) If someone signs up for easyblog, will this not sign them up for all all of the komento posts?

Right now, that how it behave currently. You will only be notified for a new blog post only.

how can i control Web Push subscriptions?

You can manage them on Onesignal itself as you can see here http://take.ms/7PZJo

12) If I configure komento to use one signal..... What happens?

They will get notified if and only if they subscribe to the particular post's comment. They need to be subscribed to the post(using komento subscription feature) and then they will get notified.

13) If I configure easyblog to use onesignal and a enduser allows push notifications then that user will receive notfications of a new blog posts only?

Yes, currently that how it should works now.

14) what happens if i have Easyblog and Komento configured at the same time (i.e. on a blog post within easyblog where I am using komento for comments.)

Both components have it own codes and both are handled differently. You will get notified to new blog post if there are a new blog post in it, and you will get notified to a new comments on the site if and only if you are subscribed to the post(komento subscriptions)

Please advice.
·
Thursday, 08 March 2018 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
10) Because of komento you should make it a requirement to subscribe to get the new blog post notifications, not just rely on someone acceppting the push notifications from the website. This would allow the use of the app for both ewasyblog and komento.

10a) if you sign up to push notifications via komento you will get all of the new blog posts as well as new comments?

11) you show me the single list in onesignal. this shows the users subsribed to the app, not to particular comment threads or to the blog posts. in point

11a) in point (12) you mention that komento sends out push notifications only to those who have subscribe to a thread (and onsignal), Does ewasyblog not have such a subscription for the new blog posts?

12) Just to clarify komento will check internally whether a subscriber has onesignal subscription, will komento also send out emails to the smae user or is it one or the other?

13) thanks

14) both components must have some common handler they put on the page. consider this: If i configure a seperate app for both easyblog and komento, whoes push notification acceptance message would come up on screen when on an easyblog post using komento?

15)

Clarification of the following:

If I use the same app for both easyblog and komento and a user accepts push notifications. everytime there is a new blog post or a new comment on a thread the user is subscribed to they will get a notification

Issues this can cause

If a blog has a lot of posts then the user will get lots of notifications. This could be annoying if the user only wants to be notified when there are new comments on his subscribed threads

Solution

Easyblog must have a subscribe option in addition to the push notifications so a user cna choose if he recieves them or not. This would also further allow the use of this app by other 3rd party software.

or

you have to have 2 seperate apps

16) how does stackides have onesignal configured: 1 shared App for both komento and Easyblog or do they have seperate Apps?

17) in the image http://take.ms/7PZJo in the tags sections are these custom variables easyblog has added (ie the ID = Joomla user ID?)


Thanks

shoulders
·
Friday, 09 March 2018 00:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

10) Because of komento you should make it a requirement to subscribe to get the new blog post notifications, not just rely on someone acceppting the push notifications from the website. This would allow the use of the app for both ewasyblog and komento.

Currently, this components are built differently and not all will use komento for their(Easyblog post) comment system actually But maybe you can post us a feature request regarding this and see how other react regarding this.

11) you show me the single list in onesignal. this shows the users subsribed to the app, not to particular comment threads or to the blog posts. in point

Oh sorry, i have miss-understood your requirement above, you can managed them based on Komento subscriptions sections as you can see here http://take.ms/B1mzH

12) Just to clarify komento will check internally whether a subscriber has onesignal subscription, will komento also send out emails to the smae user or is it one or the other?

Yes, currently, it will sent both emails notifications and web push notification.


10a) if you sign up to push notifications via komento you will get all of the new blog posts as well as new comments?
14) both components must have some common handler they put on the page. consider this: If i configure a seperate app for both easyblog and komento, whoes push notification acceptance message would come up on screen when on an easyblog post using komento?

Maybe there are confusion on my previous reply. If you already subscribed to the web notification, it will be used for both Komento and Easyblog. There are no pop-up to subscribe for Komento's web push notification.

Once you already subscribed to web notification, you will be notified by web push notification if there are new comment made on the site if and only if you already subscribe to the comment and if there are new blog post made on the blog post.

By the way, for you information, Komento have this settings http://take.ms/0vM7f where when one of your user comment using komento, they will be auto-subscribed to the comment.

If I use the same app for both easyblog and komento and a user accepts push notifications. everytime there is a new blog post or a new comment on a thread the user is subscribed to they will get a notification

Yes, that how it is currently, as from my opinion, this action will need you to take account before subscribing. There are advantages and disadvantages of this subscriptions feature, it is up to you on how to take advantage on it.

16) how does stackides have onesignal configured: 1 shared App for both komento and Easyblog or do they have seperate Apps?

Stackideas are using one apps only and when you are subscribed to the comments, you will get notified and you will get notified for new blog post created on our site.

17) in the image http://take.ms/7PZJo in the tags sections are these custom variables easyblog has added (ie the ID = Joomla user ID?)

Yes it is. It will be added if you are logged in to site and subscribed to the web push notifications.
·
Friday, 09 March 2018 12:44
·
0 Likes
·
0 Votes
·
0 Comments
·
10) thanks - see https://stackideas.com/forums/make-it-a-requirement-to-subscribe-to-get-the-new-blog-post-notifications-via-webpush
11) thanks
12) thanks
14 + 10a) thanks
15) thanks
16) please could you re-answer I do not understand (lost in translation )
17)thanks
18) (see 10a+14)Why is there no webpush acceptance for komento. How do you authorize this in your browser? You need to have an acceptance for this to work? If I have not signed up via easyblog web push notfications would not be enabled in Komento.

Almost Done
·
Friday, 09 March 2018 19:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

16) please could you re-answer I do not understand (lost in translation )

I have re-edited it. Seems like i have explained you wrongly.

18) (see 10a+14)Why is there no webpush acceptance for komento. How do you authorize this in your browser? You need to have an acceptance for this to work? If I have not signed up via easyblog web push notfications would not be enabled in Komento.

Right now, it will both combine with each other, if you already disabled/didnt setup for Easyblog, you can also subscribe to web push notification. If Komento enabled, and Easylog disabled, you still can subscribe to the site using Komento web push notification. But you will only received notification on Komento components only. Sorry for confusion caused.
·
Friday, 09 March 2018 19:43
·
0 Likes
·
0 Votes
·
0 Comments
·
17) thanks

18) thanks - after your notes and a little in vestigation i have submitted a bug: https://stackideas.com/forums/bug-welcome-message-will-not-show
This coding also shows that you must use a single App for both Komento and Easyblog, you do not have a choice if you want to use Komento for your comments


19) thanks - Easyblog or Komento supply the onesignal Javascript and this is what causes the pop up message.
·
Friday, 09 March 2018 21:07
·
0 Likes
·
0 Votes
·
0 Comments
·

19) thanks - Easyblog or Komento supply the onesignal Javascript and this is what causes the pop up message.

Hm, is this related to the other posts that you created? If it is, I have already replied you on the other thread.
·
Saturday, 10 March 2018 15:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating me on this shoulders, will lock this thread since we have already replied on your new thread
·
Saturday, 10 March 2018 21:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post