Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Technical Support
  3. How push notification works?

How push notification works?

Planlagt Fastgjort Låst Flyttet Technical Support
11 Indlæg 3 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • S This user is from outside of this forum
    S This user is from outside of this forum
    ska@community.nodebb.org
    wrote on sidst redigeret af
    #1

    hello,
    I can’t quite figure out how push notifications work since I can’t see/activate them even here at community.nodebb.org.

    I see that in the settings there is and active "Push Notifications (via Push API) but nowhere and nowhere do I ever get a suggestion to enable browser notifications.

    Is there something I don’t understand that needs to be enabled that I don’t see or do they work differently than I imagine?

    Thanks!

    1 Reply Last reply
    1
    0
    • System shared this topic on
    • julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote on sidst redigeret af
      #2

      ska there should be a user setting page for push notifications, and they are activated on a per-device level.

      Does the toggle activate for you?

      1 Reply Last reply
      0
      • S This user is from outside of this forum
        S This user is from outside of this forum
        ska@community.nodebb.org
        wrote on sidst redigeret af ska@community.nodebb.org
        #3

        julian thanks for the answer.

        I see in F12 console this error:

        service-worker.js:31 Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://citiverse.it/assets/plugins/nodebb-plugin-web-push/static/web-push.js' failed to load.
            at service-worker.js:31:1
        (anonymous) @ service-worker.js:31
        An unknown error occurred when fetching the script.
        

        But the web-push plugin is active and I even tried uninstalling -> deleting it and reinstalling it.

        on NodeBB I see:

        2025-07-01T12:09:00.698Z [4567/47620] - info: [plugins/web-push] VAPID keys OK.
        2025-07-01T12:09:00.765Z [4567/47620] - info: [api] Adding 8 route(s) to `api/v3/plugins`
        2025-07-01T12:09:00.799Z [4567/47620] - info: [router] Routes added
        2025-07-01T12:09:00.843Z [4567/47620] - info: 🎉 NodeBB Ready
        2025-07-01T12:09:00.845Z [4567/47620] - info: 🤝 Enabling 'trust proxy'
        2025-07-01T12:09:00.857Z [4567/47620] - info: 📡 NodeBB is now listening on: 0.0.0.0:4567
        2025-07-01T12:09:00.858Z [4567/47620] - info: 🔗 Canonical URL: https://citiverse.it
        
        1 Reply Last reply
        0
        • julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote on sidst redigeret af
          #4

          ska the push notifications are now working again on the regular theme?

          1 Reply Last reply
          0
          • S This user is from outside of this forum
            S This user is from outside of this forum
            ska@community.nodebb.org
            wrote on sidst redigeret af
            #5

            julian yep on “Harmony” works but It seems not to go only with the “Peace” theme.

            1 Reply Last reply
            0
            • baris@community.nodebb.orgB This user is from outside of this forum
              baris@community.nodebb.orgB This user is from outside of this forum
              baris@community.nodebb.org
              wrote on sidst redigeret af
              #6

              ska I published web-push@0.7.5, let me know if that works on peace theme.

              S 1 Reply Last reply
              0
              • baris@community.nodebb.orgB baris@community.nodebb.org

                ska I published web-push@0.7.5, let me know if that works on peace theme.

                S This user is from outside of this forum
                S This user is from outside of this forum
                ska@community.nodebb.org
                wrote on sidst redigeret af
                #7

                baris Thank you it seems to be working now.

                I still have problems on Brave but maybe it’s just a cache issue because on Firefox and Edge it’s not giving me problems, I’ll try again later from another computer.

                1 Reply Last reply
                0
                • S This user is from outside of this forum
                  S This user is from outside of this forum
                  ska@community.nodebb.org
                  wrote on sidst redigeret af
                  #8

                  thanks baris and julian it seems works now.

                  I went back to the “original” theme because actually the ntfy push has the exact same problem, if I activate the PEACE theme the ntfy notifications don’t go.

                  Can you tell me who is possible to tag for this plugin?

                  Thank you.

                  julian@community.nodebb.orgJ 1 Reply Last reply
                  0
                  • S ska@community.nodebb.org

                    thanks baris and julian it seems works now.

                    I went back to the “original” theme because actually the ntfy push has the exact same problem, if I activate the PEACE theme the ntfy notifications don’t go.

                    Can you tell me who is possible to tag for this plugin?

                    Thank you.

                    julian@community.nodebb.orgJ This user is from outside of this forum
                    julian@community.nodebb.orgJ This user is from outside of this forum
                    julian@community.nodebb.org
                    wrote on sidst redigeret af
                    #9

                    ska me, but I have deprecated that plugin in favour of web-push

                    1 Reply Last reply
                    0
                    • S This user is from outside of this forum
                      S This user is from outside of this forum
                      ska@community.nodebb.org
                      wrote on sidst redigeret af
                      #10

                      julian ah ok, I didn’t realize that and didn’t know that.

                      So it’s basically abandoned and there will be no particular updates I guess, is it recommended to leave only web-push?

                      julian@community.nodebb.orgJ 1 Reply Last reply
                      0
                      • S ska@community.nodebb.org

                        julian ah ok, I didn’t realize that and didn’t know that.

                        So it’s basically abandoned and there will be no particular updates I guess, is it recommended to leave only web-push?

                        julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.org
                        wrote on sidst redigeret af
                        #11

                        ska correct, since web-push relies on more modern browser supported technology and doesn’t require a third-party service (in this case, ntfy.sh)

                        1 Reply Last reply
                        1
                        Svar
                        • Svar som emne
                        Login for at svare
                        • Ældste til nyeste
                        • Nyeste til ældste
                        • Most Votes


                        • Log ind

                        • Har du ikke en konto? Tilmeld

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        Graciously hosted by data.coop
                        • First post
                          Last post
                        0
                        • Hjem
                        • Seneste
                        • Etiketter
                        • Populære
                        • Verden
                        • Bruger
                        • Grupper