By Fidel Carrera on Sunday, 16 September 2018
Posted in Technical Issues
Replies 27
Likes 0
Views 674
Votes 0
Is there a way to trigger the onesignal subscription alert from any page on my site and not just ES pages?
Hey there,

I am really sorry for the delay of this reply as it is a public holidays for us here.

Unfortunately that is not possible to achieve this.
·
Monday, 17 September 2018 10:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok.

I have another question that I'm hoping you can help with.

I have built a lot of custom notifications for my site and made them work as ES notifications (they show up in the ES notification centre). The issue I'm having is onesignal wont pick these up. I really need this to work but I am not sure what to do.

Any help would be greatly appreciated.

Thanks
·
Monday, 17 September 2018 17:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Perhaps you can elaborate more details which kind of custom notification you made?

And which 3rd party app handling all these custom notification on your site?
·
Tuesday, 18 September 2018 10:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

We have our own com called com_mvg and we have custom alerts and emails that we send out for activities within com_mvg. What we did was make sure that those alerts show up in the es notifications but one signal wont push them at all .

Another issue I noticed is that I no longer receive any onesignal alerts eventhough I am signed up. They just stopped after a few days. Do I need to be logged into the site and have the browser open for them to work?
·
Friday, 21 September 2018 03:29
·
0 Likes
·
0 Votes
·
0 Comments
·
We have our own com called com_mvg and we have custom alerts and emails that we send out for activities within com_mvg. What we did was make sure that those alerts show up in the es notifications but one signal wont push them at all .

Perhaps you can elaborate more details like which php file (com_mvg) suppose to make sure that those alerts show up in the es notification?

By the way, i have a few question :

1. Is it your custom alert will appear on the user system notification? http://take.ms/2QEMy

2. Do you have create any 3rd party app to support these system notification?
-> The reason why i ask this is because this oneSignal app will trigger this `onNotificationLoad` event from the existing Easysocial app and see which app did use this `onNotificationLoad` method then only can retrieve those system notification then notify to the user.


Another issue I noticed is that I no longer receive any onesignal alerts eventhough I am signed up. They just stopped after a few days. Do I need to be logged into the site and have the browser open for them to work?

You no need to login on the site but you have to open the browser in order to receive those notification pop up.
·
Friday, 21 September 2018 13:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Good morning,

Here are the answers to your questions a long with some screenshots

1. Yes, the custom alerts show in the users system notification. I will send the file names once the dev replies. I have attached a screenshot as an example

2. I am not sure what this part means regarding an app.

3. I am seeing the push from onesignal for easy social stuff but it seems broken because all the push says is "the site has been upgraded in the background" instead of the actual content of the push. See attached screenshot. I recently installed an app called joomla progressive web application which allows my site to be installed as a PWA app on mobile, could this be breaking it?

Thanks guys
·
Friday, 21 September 2018 15:53
·
0 Likes
·
0 Votes
·
0 Comments
·
1. Yes, the custom alerts show in the users system notification. I will send the file names once the dev replies. I have attached a screenshot as an example

Alright, keep us update then.

2. I am not sure what this part means regarding an app.

What i mean is do you have install any 3rd party Easysocial app from your site backend to support your custom alert notification?

For example : in order to show the blog system notification on the site, you have to install this blog app https://stackideas.com/apps/item/5-blog in Easysocial, so when someone publish a new blog post on the site, it will notify your site subscriber on Easysocial system notification part (http://take.ms/2QEMy).

Because under this blog app code got allow to trigger 'onNotificationLoad' method, so the oneSignal part can able to send this notification to the user as well.

In other word, without this method from the app, it will not notify to the user who subscribe on your site through the oneSignal pop up regarding those blog notification.

3. I am seeing the push from onesignal for easy social stuff but it seems broken because all the push says is "the site has been upgraded in the background" instead of the actual content of the push. See attached screenshot. I recently installed an app called joomla progressive web application which allows my site to be installed as a PWA app on mobile, could this be breaking it?

May i know where you get this notification http://take.ms/x0RwL ?

Are you mean you browse your website from the mobile chrome browser right?
·
Friday, 21 September 2018 18:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I am getting those as push notifications from onesignal whenever easyscocial notifications get pushed. I also get them if I send custom pushes from the onesignal dashboard. The issue I am having is the content of the push messages no longer shows properly. All it shows is what you see in the screenshot. Last week, it actually showed the proper pushed content.

Thanks
·
Monday, 24 September 2018 22:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Something is strange, because i've tried to subscribe this push notification on your site using 2 different user account.

But i was unable to get any notification when someone like/comment on my story stream.

Is it can provide us with your onesignal login access so we can better have a check whether my current account did subscribe in your onesignal app or not.
·
Tuesday, 25 September 2018 14:08
·
0 Likes
·
0 Votes
·
0 Comments
·
info@myvirtualgaming.com
MvGd3v2018$!$

Also look at the notification, it just says "add updated in background"

I added myself to a test user group on onesignal and sent test messages yesterday and they were all broken.
·
Tuesday, 25 September 2018 14:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, I really do not know why just now what happen on my browser, it keep not notify me.

Then i asked my colleague to try, his laptop can able show those pop up notification.

And i can replicate that issue what you reported.

After i did checked your onesignal app "Sent Message" part, it seems like it did generated correctly http://take.ms/DUJ3O .

But when this message send to browser then this message changed to 'This site has been updated in the background'.

May i know your developer response you yet about which file their added into your site?
·
Tuesday, 25 September 2018 18:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Ya it is very strange because they worked properly a week ago.

I don't have the file names yet as the developer is off sick. But es alerts were working fine and my custom files have been there for a long time.

I did recently install the joomla progressive web plugin so maybe that did it? I tried disabling it to test and it still seemed broken.
·
Tuesday, 25 September 2018 18:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Fidel,

I am really sorry for the delayed of this reply, because I keep unable to replicate this message 'This site has been updated in the background' when that onesignal send notification to me.

So far i only can replicated this message once yesterday, then i keep trying to replicate it even i tried in different browser and device e.g. chrome, firefox and android chrome browser , but it seems unable to replicate that issue now.

You can check this video link : http://take.ms/6yO87 and i attached that video file, it seems like that notification message did show correctly when userA comment to userB story stream into the group.

Can you try again and see whether you still able to replicate this issue.

If yes, can you share with me how to replicate this issue?
For example : Is it someone comment on your stream item under group? Or someone tag your name in the stream?
Looking forward of your response.

By the way, I found one of the article got talk about this message 'This site has been updated in the background' , it seems like it only generated from the Chrome browser, you can take a look this screenshot : http://take.ms/L8WWv
·
Thursday, 27 September 2018 16:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Just following up on this ticket as it seems the onesignal integration just doesnt work at all anymore on mobile. None of my users receive any push notifications from es even though they are registered. Users are also complaining that they are asked to opt in repeatedly.
·
Monday, 29 October 2018 04:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Just following up on this ticket as it seems the onesignal integration just doesnt work at all anymore on mobile. None of my users receive any push notifications from es even though they are registered. Users are also complaining that they are asked to opt in repeatedly.

Can i have the permission to create new oneSignal app from your site then temporary set to use this new app id in Easysocial? Because i would like to check and see whether this issue also happen on the new app.
·
Monday, 29 October 2018 13:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes please go ahead
·
Monday, 29 October 2018 15:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Fidel,

Based on what i checked and compare with your existing app, it seems like everything is configure correctly and the new app still facing the same issue.

And the OneSignal deliver notification record did send out to the user, you can check my screenshot here : http://take.ms/tHRWp

But for some reason, the user logged in account still unable to receive those notification even desktop browser.

Then i tried to temporary switch your template to protostar, the issue still persists.
- I did configure to show the subscribe icon display on the site http://take.ms/80qfxq
- when you subscribe on the site
- it did subscribed and logged into OneSignal new app http://take.ms/5XPZ4
- But when you refresh the page, this subscribe icon appear 'ask you subscribe again'.
- When you subscribe it again and refresh the page, it will return back 'ask you subscribe again'.

After that when i temporary rename this plugin folder from your Joomla root folder, it seems like it doesn't happen as what i described above.

So now i suspect one of the 3rd party plugin keep prevent user to receive notification from OneSignal.
I need time to figure out which plugin caused this and i will continue check this tomorrow.

Do you know any 3rd party plugin you installed on the site which related with onesignal stuff or some security thing?

By the way, I've revert back to use your old app from OneSignal.
·
Monday, 29 October 2018 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
The only thing I can think of which you may disable or uninstall for your debugging is joomla progressive web app
·
Monday, 29 October 2018 20:05
·
0 Likes
·
0 Votes
·
0 Comments
·
After tested further, it seems like you said is true, once i renamed this folder file on your site JoomlaFolder/plugins/system/webkulpwa_ then seems work fine, you can check my attached screenshot below.

The reason why i renamed this folder instead of disabled it from backend is because i suspect some of the plugin even you disable it from backend, it actually still running some script on the page.

If you would like to uninstall it, you have to rename it back before you uninstall it.

And I was temporary set to show subscribe bell icon on your site http://take.ms/3LEoN || http://take.ms/vVG1o , because that 3rd party plugin somehow it will make those user who already subscribed on the site, it will show that message "Subscribe to notification" https://www.screencast.com/t/kHB3ooGeXx5 instead of "You're subscribed to notification".

So when your site user saw this icon, if it appear this message "Subscribe to notification", i believe they will click on it and subscribe.

Can you give it a try and see how it goes.
·
Tuesday, 30 October 2018 11:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok awesome. I will try to figure out what the issue with that app is.

I see that you activated the bell toggle but when I click it nothing happens other than a tooltip showing.
·
Tuesday, 30 October 2018 11:52
·
0 Likes
·
0 Votes
·
0 Comments
·
The toggle works now. I will now wait and see if push notifications start working .

Does a user need to have the site opened in a tab for them to work.

I noticed that every site I subscribe to doesnt need me to have their site open at all in order for me to receive their notifications. I can even have chrome closed and still get them.
·
Tuesday, 30 October 2018 12:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Does a user need to have the site opened in a tab for them to work.

I noticed that every site I subscribe to doesnt need me to have their site open at all in order for me to receive their notifications. I can even have chrome closed and still get them.

I just tested in my mobile, when someone comment on my status, it will send me that notification as well even i closed this mobile app. (e.g. chrome app).

Yes, keep us update if still unable to receive the notification.
·
Tuesday, 30 October 2018 13:49
·
0 Likes
·
0 Votes
·
0 Comments
·
The PWA team is looking into this now. I will report back once I find out more
·
Thursday, 01 November 2018 18:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Alright, keep us updated then.

May i know do you have receive those notification so far after I renamed that plugin file?
·
Thursday, 01 November 2018 22:43
·
0 Likes
·
0 Votes
·
0 Comments
·
So far it seems to be ok. The dev team from webkul is working on a fix next week and I will report back with an update once I find out more.
·
Sunday, 04 November 2018 21:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Alright, keep us update then.
·
Sunday, 04 November 2018 21:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post