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
  • Interesting Widget code, but can't fetch API

    Solved Customisation
    26
    2 Votes
    26 Posts
    1k Views

    @Panda said in Interesting Widget code, but can’t fetch API:

    How did you drop that widget into the post there?
    I hadnt seen this BSgenerator anywhere on sudonix site, do you use it somewhere already?

    Yes, here

    https://sudonix.org/topic/414/corporate-bullshit-generator?_=1687774393044

    It’s not a “post” or “topic” in the common sense. It is actually a page in it’s own right and leverages nodebb-plugin-custom-pages. This in turn creates a new “route” which behaves like a page, meaning it is then exposed for widgets.

    @Panda said in Interesting Widget code, but can’t fetch API:

    Also can you explain more what you mean by calling the code externally. In my API call example, how would I go about doing that?

    By this, I mean create all the required code in an external JS file that is reachable by the NodeBB instance - so, in “public” for example - or in my case /public/js. The widget then “calls” that file and because it runs outside of the scope of NodeBB, you just need to return the values to the widget.

    Hope this makes sense?

  • Composer Zen icon?

    Solved Configure
    8
    2 Votes
    8 Posts
    295 Views

    @DownPW exactly. Not really a new concept, and in all honesty, not something I’ve ever used.

    If you consider the need to add links and references, or citations, you’d need to be able to see other parts of the screen!

  • NodeBB v3 Chat Very Slow

    Moved Performance
    47
    11 Votes
    47 Posts
    3k Views

    @DownPW Seems fine.

  • 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 🙂

  • Rotating homepage icons, gifs?

    Solved Configure
    2
    3 Votes
    2 Posts
    228 Views

    @eveh It’s not a GIF, no. It’s actually a webp file so made much smaller, and uses keyframes to control the rotation on hover. You can easily make your own though 🙂

    The CSS for that is as below

    @keyframes rotate180 { from { transform: rotate(0deg); } to { transform: rotate(180deg); } } @keyframes rotate0 { from { transform: rotate(180deg); } to { transform: rotate(0deg); } }

    Your milage may vary on the CSS below, as it’s custom for Sudonix, but this is the class that is used to control the rotate

    .header .forum-logo, img.forum-logo.head { max-height: 50px; width: auto; height: 30px; margin-top: 9px; max-width: 150px; min-width: 32px; display: inline-block; animation-name: rotate180, rotate0; animation-duration: 1000ms; animation-delay: 0s, 1000ms; animation-iteration-count: 1; animation-timing-function: linear; transition: transform 1000ms ease-in-out; }
  • Bootstrap Version

    Solved Customisation
    8
    5 Votes
    8 Posts
    511 Views

    @phenomlab That will be nice once they have completed that. It will be interesting to see how long that takes. So for now I will use custom css to make it look the way I want. Frameworks just make things a little faster. Thanks @phenomlab

  • [NodeBB] greeting message

    Solved Customisation
    2
    3 Votes
    2 Posts
    617 Views

    @pwsincd welcome to sudonix, and thanks for the comments. What your looking for is here

    https://sudonix.com/topic/195/nodebb-welcome-message/3?_=1648295651358

  • [NODEBB] Welcome Message

    Solved Customisation
    18
    13 Votes
    18 Posts
    2k Views

    For anyone reviewing this post, there’s an updated version here that also includes an sunrise / sun / moon icon depending on the time of day

    https://sudonix.com/topic/233/nodebb-welcome-message-with-logo-footer-change/3?_=1645445273209