[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)
-
oh I get it. you need to update nodebb to this commit at minimum:
https://github.com/designcreateplay/NodeBB/commit/5db27a835f3293ca8b3fd7efc0c63fe11af82b0a
here's what's blocking you:
https://github.com/designcreateplay/NodeBB/commit/dc4aeca4278cbd2b30aff9bb1a3ed12334676149
that's why data is undefined
-
np, I should have realized. you might have noticed its been activated on the community forum as well
-
i see.
-
@psychobunny I wanna ask something on mobile. Does it work with safari on iOS? also, i just tried on chrome does not seems to work.
-
var logo = $('.forum-logo').attr('src');
I don't want to use the forum logo, can I use a custom image for this?
-
maybe in the future I could add a way to upload a new picture. for now you could just take that line and replace it with any valid url ex.
var logo = 'http://domain.com/image.png';
-
Ooo yeah that works.
-
damn desktop notifications! haha. this is going to get annoying eventually
-
Hah, perhaps in the future.
-
-
hmmmm, I wonder if its because you have two windows open
-
@psychobunny nope, that is the first thing i checked.
-
@psychobunny Update to this: I've noticed duplicate notifications and old notifications popping up when I have two different nodebb forums open. Ie - this one and mine. I got a reply to a post on my forum and two notifications from this one also popped up - even though they were not new.