Skip to content

Planned sunset of NTFY plugin

Pinned Announcements
  • Those of you who regularly visit the NodeBB forums have problably noticed this

    https://community.nodebb.org/topic/18279/native-push-notifications-support-for-nodebb

    And as a result, this new commit

    https://github.com/NodeBB/NodeBB/commit/aa060d31d130cd54d18cd8dc2f25ba7de58f4fea

    @julian now has the native push notifications working, and as a result, Sudonix now has them also - see screenshot of how to enable this feature here

    33abbae1-28b3-4f05-b462-e19eccc8aaf9-image.png

    As you can see, you need to enable the notification before it will work. There is a test button located underneath the slider switch (although not present in this screenshot) and this will enable you to test to make sure it is working.

    Quoting Julian

    I’m particularly excited about this new development because it opens the door for richer integration between NodeBB and the push notifications themselves.

    With (probably) every iteration prior, when you clicked on the notification, it likely opened a new window. With direct access to the Push API and service worker, we can now accurately detect whether the site is already open (in another tab), and open it there.

    In the future, we’ll also be able to add in things like icons, pictures, and custom actions, right from the notification itself.

    One particular nice-to-have is the ability to update notifications. Being able to merge notifications (like they already do in NodeBB) or potentially rescind notifications would be a nice step forward in usability as well.

    This works very well in my testing - however, if you use NordVPN, it does not work at all unless you disable the VPN. I have an open ticket with them presently to see if there is in fact any workaround.

    I have taken the decision to now disable nodebb-plugin-ntfy as with the 4.0 train, this plugin is considered legacy.

  • phenomlabundefined phenomlab pinned this topic
  • @phenomlab That is awesome that they integrated that feature. Now it will be even more awesome if they fix it so it will go through your VPN.

  • @Madchatthew yes, but this isn’t a NodeBB issue - more of a NordVPN one. And the response I got from them was lacklustre to say the least.

    We’ll do our best to help, but, to solve this faster, we need some additional information. Can you please let us know:

    The device and operating system you are using with our service (Windows/Android/macOS/iOS/Linux);

    The country you are currently in;

    If you’re using the >latest version< of our application and if not - have you tried updating the application;

    Your Internet Service Provider and the network that you are connecting from (home/public);

    If you’re getting any error message(s), please attach a >screenshot< to the reply;

    Have you tried any troubleshooting steps so far? If you have, could you clarify which ones?

    Let us know if you’re using any type of antivirus, ad blocker, or different VPN software alongside NordVPN, as they might be interfering with our service.

    Looking forward to hearing from you!

  • @phenomlab Ooohhh you got the ole classic response of tell us everything about your system and internet access along with when everything was made and who programmed and designed it and after we have all of that information it won’t be our software but whatever software you are using or your internet connection because your grandma’s third cousins borther’s aunt’s nephew didn’t put enough gas in the car and then had to thumb it home to get the gas container and go to the gas station to fill it up and by the time they get back to the car to fill the tank, someone had come along and jacked the car up and stole the tires and took the sparkplugs and cables out along with the carberater and oil filter.

    Cause heaven forbid they just ask what protocol are you using to send those notifications and lets check our software to see why it might be doing that so we can change the function and make it work.

  • @Madchatthew Brilliant. This really made me chuckle. So true, and definitely the default response.

  • phenomlabundefined phenomlab referenced this topic

Related Topics
  • Page control arrows for PWA

    Solved Customisation
    27
    25 Votes
    27 Posts
    1k Views

    @crazycells it is, yes - I think I’ll leave it as there is no specific PWA CSS classes I know of. Well, you could use something like the below, but this means multiple CSS files for different operating systems.

    /** * Determine the mobile operating system. * This function returns one of 'iOS', 'Android', 'Windows Phone', or 'unknown'. * * @returns {String} */ function getMobileOperatingSystem() { var userAgent = navigator.userAgent || navigator.vendor || window.opera; // Windows Phone must come first because its UA also contains "Android" if (/windows phone/i.test(userAgent)) { return "Windows Phone"; } if (/android/i.test(userAgent)) { return "Android"; } if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) { return "iOS"; } return "unknown"; // return “Android” - one should either handle the unknown or fallback to a specific platform, let’s say Android }

    Once you’re in that rabbit hole, it’s impossible to get out of it.

  • how to hide "moved" badge with CSS?

    Solved Customisation
    12
    3 Votes
    12 Posts
    406 Views

    @crazycells ah, I see. That makes sense.

  • ANNOUCEMENT: New NTFY Server

    Announcements
    9
    7 Votes
    9 Posts
    640 Views

    @crazycells that’s as good a test as any 🙂

  • Composer options on nodebb

    Solved Configure
    8
    3 Votes
    8 Posts
    375 Views

    @Panda You should be able to expose the CSS for these using F12 to get into console

    3591518c-e3a3-4ada-a43c-6b32a5e0359c-image.png

    a2b8ed46-4157-4ff2-85f0-576543380107-image.png

    That should then expose the element once selected

    89d9c545-a47a-40d1-98f4-80cf3b958e8f-image.png

    Here’s the below CSS you need based on the screenshot provided.

    .composer .formatting-bar .formatting-group li[data-format="picture-o"], .composer .formatting-bar .formatting-group li[data-format="spoiler"] { display: none; }
  • Custom badges

    Solved Customisation
    103
    49 Votes
    103 Posts
    10k Views

    Perfect 😉

  • Unable to install User Level plugin

    Solved Announcements
    6
    2 Votes
    6 Posts
    258 Views

    @Sampo2910 said in Ranking system revisited:

    Yes that worked

    Good

    @Sampo2910 said in Ranking system revisited:

    How to go about getting the ‘labels’ or is that an automatic thing within the plugin.

    That should be automatic as you get upvoted etc. Best way to test is to create another user, login with that session using an incognito browser, and upvote each other with test posts 🙂

  • ineffecient use of space on mobile

    Solved Customisation
    10
    7 Votes
    10 Posts
    633 Views

    @phenomlab Thanks 🙏

  • [NodeBB] username cards

    Solved Customisation
    8
    5 Votes
    8 Posts
    902 Views

    @phenomlab

    Aha…nice to know. As always thank you for the reply and information.