- Edited
will this send notification when someone reply or like my post?
will this send notification when someone reply or like my post?
zedreez Of course, all notifications in header bell also sending thru webpush.
i tried this, but my like / reply notification not sending thru webpush. I use typical site and bell icon prompt. Am I do it wrong?
But, when I try to send notification via OneSignal admin panel, it sent.
Same problem here
zedreez Hmm, can you send any logs?
Subdomain leave empty, if you flarum not on subdomain.
NikoVonLas Thanks but the images are not visible.
My flarum website ist on a subdomain from my website but not from onesignal. So I leave it empty?
Now the images are visible.
Thanks!
So the "Aut Key" is the "Onsignal user key"?
The "Rest Api Key" is the "Onesignal api key"?
And I host my flarum forum on my subdomain of my main URL.
Should I add here the subdomain name inside "Onesignal subdomain"? So only the subdomain name or the full domain?
chrisonline I update post. Uploaded images to imgur.
This link may help with subdomain question.
UPD: Sorry, i wrong.
This link
<head>
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
<script>
var OneSignal = window.OneSignal || [];
OneSignal.push(function() {
OneSignal.init({
appId: "YOUR_APP_ID",
subdomainName:"YOUR_LABEL"/* The label for your site that you added in Site Setup mylabel.os.tc */
notifyButton: {
enable: true,
},
});
});
</script>
</head>
subdomainName:"YOUR_LABEL"/* The label for your site that you added in Site Setup mylabel.os.tc */
NikoVonLas Thank you very much. Now all is working.
chrisonline You are welcome )
Also, do you use beta-10?
NikoVonLas Yes I use beta-10!
chrisonline Nice. That means extension is compatible with beta-10.
NikoVonLas Yes it is working.
zedreez Problem still there?
I really don't know the use of this, is this send a push notification when someone replies to your thread..? if yes why I don't see anything I subscriber to my phone but I don't get any notification I config all the keys but I don't get any notification. my forum run-in subdomain like forums.example.com
AmaniJoseph
Yes this is for push notification if someone replyies to a thread or all other notifications.
Did you check the OneSignal website? Do you see one subscriber?
chrisonline what is the step up to follow for the subdomain
AmaniJoseph
No need to change anything. The subdomain part is only if you use a onesignal subdomain as far as I know.
So leave the "Onesignal subdomain" empty on your extension setting.