Advertisement:

Author Topic: Push Notifications  (Read 2815 times)

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Push Notifications
« on: February 01, 2019, 05:29:54 AM »
Link to Mod

For SMF 2.0.x

Adds push notifications for Chrome and Firefox using the OneSignal api.
Works for replies and adds support for the following mods
Awesome Post Ratings
@Mentions Mod
Who Quoted Me

Requires an OneSignal account and cURl support for PHP


Install Information:
Install via the SMF's Package Manager via upload package.


############################################
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 348
  • Low pressure
    • @pocttopus on Twitter
Re: Push Notifications
« Reply #1 on: February 01, 2019, 06:56:33 AM »
Interesting feature... these notifications were missing for SMF.
But where is Who Quoted Me mod?  ???

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #2 on: February 01, 2019, 07:21:47 AM »
Bro, very cool. I was just thinking about this the other day as I noticed a few websites prompted me with a small popup if I wanted to be notified. Interesting, Im going to try this and see whats up  ;)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,971
    • StoryBB/StoryBB on GitHub
Re: Push Notifications
« Reply #3 on: February 01, 2019, 07:40:43 AM »
Interesting feature... these notifications were missing for SMF.
But where is Who Quoted Me mod?  ???

SMF 2.1 can do this but not with push notifications. Though I love how your first reaction is not “oh, a cool new thing” but essentially a criticism.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,104
  • Gender: Male
    • i30 Owners Club
Re: Push Notifications
« Reply #4 on: February 01, 2019, 07:46:24 AM »

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 348
  • Low pressure
    • @pocttopus on Twitter
Re: Push Notifications
« Reply #5 on: February 01, 2019, 08:35:10 AM »
Interesting feature... these notifications were missing for SMF.
But where is Who Quoted Me mod?  ???

SMF 2.1 can do this but not with push notifications. Though I love how your first reaction is not “oh, a cool new thing” but essentially a criticism.
I had tried to use 2.1 but only on localhost and that's not the real feeling how 2.1 behaves comparing to 2.0.15 which is our current version on our community, so I did not noticed that quote notifications are implemented on 2.1. :-\
I had no intention to write criticism, I was just curious about the mods which are supported by "push notifications".  :)

But where is Who Quoted Me mod?  ???

It's an SMFHACKS mod:    https://www.smfhacks.com/index.php?topic=9724.0
Thanks!  ;)

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,524
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Push Notifications
« Reply #6 on: February 01, 2019, 09:48:23 AM »
Great, that's what I was looking for. Now to test it on a test site and see if it's what I need... Thank you for your work @vbgamer45!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #7 on: February 01, 2019, 09:57:39 AM »
The who quoted mod is in the approval process as well.

I originally did the push notifications system for create a forum but then realized the service I used did not support wildcard dns subdomains without having it setup for each.

I can add some more notifications and toggles to turn then on and off depending on feedback.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #8 on: February 01, 2019, 11:39:20 PM »
Hey bro, whats' the difference between your mod and this tiny script you can add into the index.template in the <head> section taken from their website?  :o

Code: [Select]
<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: "**********************************",
    });
  });
</script>

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #9 on: February 02, 2019, 08:48:55 AM »
That is a base script. That script doesn't track members. You can't do mass messages though their backend.
Doesn't have subscribe,unsubscribe options via html.  And you wouldn't be able to receive alerts if someone replied to your topic.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #10 on: February 02, 2019, 08:54:22 AM »
That is a base script. That script doesn't track members. You can't do mass messages though their backend.
Doesn't have subscribe,unsubscribe options via html.  And you wouldn't be able to receive alerts if someone replied to your topic.
Oh right on. Even better, I'm giving it a whirl

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #11 on: February 02, 2019, 09:08:58 AM »
Have some fun with it maybe you can make it look nicer. I am backend developer so I just try to build out the core functions.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,104
  • Gender: Male
    • i30 Owners Club
Re: Push Notifications
« Reply #12 on: February 02, 2019, 10:05:53 AM »
Hmm might have a play with this mod - thanks for making it available.

I manually installed the code from OneSignal and it seems quite accurate with its stats, plus the instant messaging is decent.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,104
  • Gender: Male
    • i30 Owners Club
Re: Push Notifications
« Reply #13 on: February 02, 2019, 10:56:58 AM »
The mod installs the .js files into $boarddir but the code is looking in the website root for them:

Quote
Failed to register/update a ServiceWorker for scope ‘https://www.i30ownersclub.com/’: Load failed with status 404 for script ‘https://www.i30ownersclub.com/OneSignalSDKWorker.js?appId=5212**********************202d’

$boarddir for me is https://www.i30ownersclub.com/forum/

Guess I'll just move the files up a level...

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #14 on: February 02, 2019, 11:09:37 AM »
Yeah forgot about people in subfolders.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,104
  • Gender: Male
    • i30 Owners Club
Re: Push Notifications
« Reply #15 on: February 02, 2019, 11:13:31 AM »
I've moved the three files up to the root but not a great deal is happening (no further errors in the console though).

Question:

Both the .js files contain the same importScripts command. Is this by design?

Code: [Select]
importScripts('https://cdn.onesignal.com/sdks/OneSignalSDKWorker.js');

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #16 on: February 02, 2019, 11:18:34 AM »
I believe so
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,104
  • Gender: Male
    • i30 Owners Club
Re: Push Notifications
« Reply #17 on: February 02, 2019, 11:44:27 AM »
Just trying to work out why nothing happens when the mod is installed (ie, messages aren't received, notifications not requested).

Does the mod not require a manifest.json file?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #18 on: February 02, 2019, 11:46:03 AM »
Requires manifest.json

cURL needs to be installed.

After you click the subscribe to notifications in your user account and some replies. You should get a push notification in your browser. Tested on firefox and chrome.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,104
  • Gender: Male
    • i30 Owners Club
Re: Push Notifications
« Reply #19 on: February 02, 2019, 11:53:07 AM »
I can see the manifest is built by the mod, just wondered if it needed <link rel="manifest" href="/manifest.json" />

When I inserted the OneSignal code manually in my index.template.php the whole thing worked perfectly.


Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #20 on: February 02, 2019, 12:06:59 PM »
I would include that as well just in case.
For the onesignal code it should be inserted automatically by the mod. And the code the mod uses passes the member id without it you will not get notified.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,104
  • Gender: Male
    • i30 Owners Club
Re: Push Notifications
« Reply #21 on: February 02, 2019, 12:41:22 PM »
Should this class be declared somewhere?

Code: [Select]
<li><div class="onesignal-customlink-container"></div></li>

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #22 on: February 02, 2019, 12:46:11 PM »
You can check how I ran it on https://demoforum.createaforum.com/
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #23 on: February 03, 2019, 01:34:59 PM »
Have some fun with it maybe you can make it look nicer. I am backend developer so I just try to build out the core functions.
There's nothing to style! Hahaha other than that default red unsubscribe button but I think the user can do that directly from the mod's site.

ps,....I know I've been styling your stuff lol, I take no credit for your work. I just hack it. lol

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #24 on: February 04, 2019, 07:49:28 PM »
Just realized that this is a browser basis thing. I logged in with diff users and it showed i was already subscribed. No big deal, That works for me.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #25 on: February 04, 2019, 07:58:29 PM »
Hmm will need to look into that.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #26 on: February 04, 2019, 08:02:38 PM »
Hmm will need to look into that.
There's a good chance this is all on OneSignal

Offline Study Force

  • SMF Hero
  • ******
  • Posts: 3,587
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Push Notifications
« Reply #27 on: February 05, 2019, 01:47:56 AM »
Ahmmm... 1.x?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,971
    • StoryBB/StoryBB on GitHub
Re: Push Notifications
« Reply #28 on: February 05, 2019, 02:45:39 AM »
Ahmmm... 1.x?

You know 1.1 is in all practical senses EOL, right?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Study Force

  • SMF Hero
  • ******
  • Posts: 3,587
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Push Notifications
« Reply #29 on: February 05, 2019, 03:00:44 PM »
Thanks for the reminder, looking forward to the next

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 51
Re: Push Notifications
« Reply #30 on: February 10, 2019, 05:36:29 PM »
Link to Mod

For SMF 2.0.x

Adds push notifications for Chrome and Firefox using the OneSignal api.
Works for replies and adds support for the following mods
Awesome Post Ratings
@Mentions Mod
Who Quoted Me

Requires an OneSignal account and cURl support for PHP


Install Information:
Install via the SMF's Package Manager via upload package.


############################################

Hi thanks for this mod. I don't really know how to code.

I installed the mod. Signed up for a onesignal account. I think I set up the webpush thing on onesignals website correctly. Just a FYI my test website isn't https, I don't know if that makes a difference.

I'm holding by the part where it tells me to insert some code into the <head> of my website. Which file would that be? I'm assuming it's one of the files in the public_html folder on my cpanel file manager (maybe index.html_ or index.php), is that correct?

Also how do I know if my website supports that cURl thing mentioned?

Any help would be appreciated.
Thanks.

One more thing is it possible to only have notifications sent for mentions and quotes, but not for replies?
« Last Edit: February 10, 2019, 05:46:41 PM by yajerusalem »

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #31 on: February 10, 2019, 05:57:01 PM »
When you install the mod, everything its already installed. No need to add any codes from Onesignal. Just sign up, get your numbers.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #32 on: February 10, 2019, 07:26:07 PM »

Quote
One more thing is it possible to only have notifications sent for mentions and quotes, but not for replies?
Not at the moment but would be possible to do.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 51
Re: Push Notifications
« Reply #33 on: February 10, 2019, 07:45:04 PM »
When you install the mod, everything its already installed. No need to add any codes from Onesignal. Just sign up, get your numbers.
Thanks. I see it now in the default theme. At first I didn't see the button. Sometimes it's there and sometimes not.

I tested it out and it worked so apparently I have the curl thing.


Quote
One more thing is it possible to only have notifications sent for mentions and quotes, but not for replies?
Not at the moment but would be possible to do.
Ok. thanks for responding.

Also it seems like that for any post that's made anywhere on the forum it sends a notification. Is that the way it's supposed to be?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #34 on: February 10, 2019, 09:11:31 PM »
It should be any reply made to your post.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #35 on: February 15, 2019, 07:31:42 AM »
Alright bro, It seems that notifications are for desktop browser only. All this time I thought i'd get notifications on my mobile but didnt. I ended up creating an app on Firebase using One Signal docs and now I get notified on my Android phone. It only took 3 minutes to setup. Thought you should now.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #36 on: February 15, 2019, 08:09:23 AM »
Is that another code you had to the website?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #37 on: February 15, 2019, 08:33:26 AM »
Is that another code you had to the website?
Nope. No need. Just direct the mod users to generate a Firebase server key and add it to the mobile section in OneSignal settings.

In OneSignal App settings, we have the browser settings, like for Chrome and other browsers minus Safari. Below it You'll see Native App Platforms, click on Google Android and will ask for Firebase Server key.

Follow this doc https://documentation.onesignal.com/docs/generate-a-google-server-api-key very simple to setup.

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #38 on: February 15, 2019, 08:37:58 AM »
I would think this can be added to admin settings as well but for iOS, well, I looked at it and that seems a whole 'nother ball game especially for users that have no knowledge

Online Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,971
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Push Notifications
« Reply #39 on: February 15, 2019, 10:26:24 AM »
Also, I just noticed that you have to be logged on to the forum to receive notifications. At least on mobile. I'll check on browser later today.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #40 on: February 15, 2019, 10:30:49 AM »
Yeah it is based on member id thats how notifications gets sent to right person. I add member id as a filter from onesignal.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 51
Re: Push Notifications
« Reply #41 on: April 16, 2019, 04:37:53 AM »
Is it possible to have the button only displayed on a certain page? For example I would create a thread titled "Push Notifications" then on that page the button will show up.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,190
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Push Notifications
« Reply #42 on: April 16, 2019, 08:23:18 AM »
yes but you would have to change the logic for it.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline refx

  • Newbie
  • *
  • Posts: 5
Re: Push Notifications
« Reply #43 on: May 13, 2019, 02:01:59 PM »
Yeah it is based on member id thats how notifications gets sent to right person. I add member id as a filter from onesignal.

Hello,
I've installed the plugin, after copying .js files to root, it started working (before that I got 404 errors on onesignal panel). But I got many user reports who are unable to subscribe. When I check oneSignal users/allusers page, under tags column,  While I get couple of user id and uname correct, I see that there are multiple entries tagged "{uid: 0}" with different player ids. Also most of the tags are empty, totally blank tag information. App Version column is also completely blank.

Any ideas what's wrong with my installation?