[3.3][RC] Browser Push Notifications

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
SpIdErPiGgY
Registered User
Posts: 243
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: [3.3][RC] Browser Push Notifications

Post by SpIdErPiGgY »

Code: Select all

 	Web Push message could not be sent: Client error: `POST https://updates.push.services.mozilla.com/wpush/v2/gAAAAABmXAUOb6I8fz_AqiU8n7iDJJNvnFuCZ6fxSvoUh2GKhKW6lHFK1disqH8Q6HC7CGUFCcnjF2InWst1MJFbnxmAQHgm8-c4SNTslMpa4XDg5X4gOQeqlLgQiJaLYx1d4E1LzSKReAwIgDc3DDllND2t09ppMVWTcuUXsnx4_J8d_M9YfrM` resulted in a `413 Payload Too Large` response:
{"code":413,"errno":104,"error":"Payload Too Large","message":"This message is intended for a constrained device and is (truncated...)
phpBB NL Extension translations, also on request.
--> Click Here: Myarea51secrets.com <--
rxu
Extensions Development Team
Posts: 3804
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: [3.3][RC] Browser Push Notifications

Post by rxu »

SpIdErPiGgY wrote: Sun Jun 02, 2024 7:51 am "code":413,"errno":104,"error":"Payload Too Large"
What browser and OS (assuming Firefox on Android)?
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5934
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [3.3][RC] Browser Push Notifications

Post by MattF »

Updated to version 1.0.0-RC6
  • New: Added an enable push subscriptions toggle switch to the footer of the Notifications drop down.
  • Fixed an issue where the Subscribe button was appearing on some UCP pages unexpectedly.
  • Fixed an issue where push notifications failed on Android devices using Firefox as their browser.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
bennybernaer
Registered User
Posts: 639
Joined: Tue Mar 22, 2011 9:53 pm

Re: [3.3][RC] Browser Push Notifications

Post by bennybernaer »

I know this extension is still in development. But is there a way to enable push notifications by default for everyone. Maybe with an SQL query?
User avatar
ssl
Registered User
Posts: 1842
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][RC] Browser Push Notifications

Post by ssl »

You know, this kind of notifications is like social networks, we live better without them.
Sorry for my English ... I do my best!

phpBB: 3.3.12 | PHP: 8.3.7
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
bennybernaer
Registered User
Posts: 639
Joined: Tue Mar 22, 2011 9:53 pm

Re: [3.3][RC] Browser Push Notifications

Post by bennybernaer »

ssl wrote: Mon Jun 03, 2024 4:47 pm You know, this kind of notifications is like social networks, we live better without them.
In a sense you are right! But you have to move with the times.

My users have been asking for this feature for years
User avatar
ssl
Registered User
Posts: 1842
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][RC] Browser Push Notifications

Post by ssl »

We have to ask ourselves the question in reverse, is it logical to constrain people with this kind of notifications?
For me the best thing is to let the user decide for themselves instead of deciding for them. I am not against all these developments, quite the contrary, but certain things must not appear on the screen of your computer, smartphone, without you having decided.
Sorry for my English ... I do my best!

phpBB: 3.3.12 | PHP: 8.3.7
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
deninho32
Registered User
Posts: 227
Joined: Tue May 21, 2019 8:57 am

Re: [3.3][RC] Browser Push Notifications

Post by deninho32 »

The users can turn it off if they like. Four our board it's a very nice extension. During football transfer time people get notified when a big transfer is in or out if they have bookmarked that topic for instance. Also if they forgot to enter their predictions in the football toto they get an alert for it.

In the latest relase a line is missing from the language file info_acp_webpushnotifications.php.

Code: Select all

'ACP_WEBPUSH_SETTINGS'
phpBB 3.3.7 | PHP Version 7.4.33 | Milk Theme
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5934
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [3.3][RC] Browser Push Notifications

Post by MattF »

deninho32 wrote: Mon Jun 03, 2024 5:34 pm The users can turn it off if they like. Four our board it's a very nice extension. During football transfer time people get notified when a big transfer is in or out if they have bookmarked that topic for instance. Also if they forgot to enter their predictions in the football toto they get an alert for it.

In the latest relase a line is missing from the language file info_acp_webpushnotifications.php.

Code: Select all

'ACP_WEBPUSH_SETTINGS'
No, a complete hard-re-install is required if you at any point were using RC1.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
ssl
Registered User
Posts: 1842
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][RC] Browser Push Notifications

Post by ssl »

deninho32 wrote: Mon Jun 03, 2024 5:34 pm In the latest relase a line is missing from the language file info_acp_webpushnotifications.php.
Probably talk about this

Image
Sorry for my English ... I do my best!

phpBB: 3.3.12 | PHP: 8.3.7
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
danieltj
Jr. Extension Validator
Posts: 349
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][RC] Browser Push Notifications

Post by danieltj »

bennybernaer wrote: Mon Jun 03, 2024 4:42 pm I know this extension is still in development. But is there a way to enable push notifications by default for everyone. Maybe with an SQL query?
That isn't possible because it relies on the user to accept notifications on their browser. You cannot remotely set this to yes for people as it requires explicit consent on the client-side. It's not like notifications within the phpBB system, these notifications are shown within the OS of the device.
Verified Profiles PRO is now available.
Private message me for more information.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5934
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [3.3][RC] Browser Push Notifications

Post by MattF »

Updated to version 1.0.0-RC7

To address some of the concerns brought up in this thread we added a couple new features to the ACP options:

Screenshot 2024-06-04 at 7.36.33 AM.png

1. You can now enable or disable having the Subscribe toggle in the notifications dropdown.
With this disabled, users must visit the UCP to Subscribe. But with this enabled, users can Subscribe from anywhere on the forum and they can more easily discover this feature.

2. You can now make the user-based notification settings all enabled or disabled by default.
Until now, all of the user-based web push notification settings were disabled by default. That meant users had to both subscribe and enable the notifications they want to receive in the UCP. Now you can have them all enabled by default instead. That means, in conjunction with the previous option of having the Subscribe button in the notification dropdown, that users can subscribe from anywhere on the forum and immediately start receiving notifications. They only need to visit the UCP if they want to turn off some of the notifications they prefer not to receive.

I know, I know. We've done a terrible job at being "feature frozen"
You do not have the required permissions to view the files attached to this post.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
deninho32
Registered User
Posts: 227
Joined: Tue May 21, 2019 8:57 am

Re: [3.3][RC] Browser Push Notifications

Post by deninho32 »

MattF wrote: Mon Jun 03, 2024 8:47 pm
deninho32 wrote: Mon Jun 03, 2024 5:34 pm The users can turn it off if they like. Four our board it's a very nice extension. During football transfer time people get notified when a big transfer is in or out if they have bookmarked that topic for instance. Also if they forgot to enter their predictions in the football toto they get an alert for it.

In the latest relase a line is missing from the language file info_acp_webpushnotifications.php.

Code: Select all

'ACP_WEBPUSH_SETTINGS'
No, a complete hard-re-install is required if you at any point were using RC1.
That didn't work for me, see attachment.
Screenshot 2024-06-04 at 17-53-49 Beheerdersoverzicht.png
You do not have the required permissions to view the files attached to this post.
phpBB 3.3.7 | PHP Version 7.4.33 | Milk Theme
User avatar
ssl
Registered User
Posts: 1842
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][RC] Browser Push Notifications

Post by ssl »

You must deactivate and delete the data of the old version before installing RC7 for example, the language key will be correctly interpreted
Sorry for my English ... I do my best!

phpBB: 3.3.12 | PHP: 8.3.7
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
bennybernaer
Registered User
Posts: 639
Joined: Tue Mar 22, 2011 9:53 pm

Re: [3.3][RC] Browser Push Notifications

Post by bennybernaer »

I installed this version, but I don't get any notifications. However, notifications are allowed in Chrome.

Return to “Extensions in Development”