Push Notifications

https://www.phpbb.com/ideas/
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm
Contact:

Push Notifications

Post by vipaka »

For both mobile and web browsers, use push notifications within a framework like node.js instead of php queries every page to show new content changes. This would let you have instant updates for new posts, edits, deletions, new PMs, and probably a lot else, while still on the same page. Would bring phpbb more towards the modern age and wouldn't strain the host server.
Curious about my work? See it for yourself.
Image
User avatar
AmigoJack
Registered User
Posts: 6108
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Push Notifications

Post by AmigoJack »

Downsides of AJAXification:
  • increasing barriers for handicapped users,
  • making it difficult/impossible to save a site as offline version,
  • has to be supported by the internet browser - there are still versions out there being unable to do this,
  • internet browser/phpBB/server caches are bypassed - traffic may actually increase.
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
Senky
Former Team Member
Posts: 2300
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Push Notifications

Post by Senky »

AmigoJack wrote:Downsides of AJAXification:
  • increasing barriers for handicapped users,
  • making it difficult/impossible to save a site as offline version,
  • has to be supported by the internet browser - there are still versions out there being unable to do this,
  • internet browser/phpBB/server caches are bypassed - traffic may actually increase.
None is true:
  • no change for handicapped users - ARIA does a great job in accessing modern web technologies for handicapped users, taking exceptional care for ajaxifying of websites.
  • Ctrl+S still works. All other browser plugins as well, since they just take current DOM structure and save it locally. Ajax just changes DOM on the fly.
  • not true. All browsers supported by 3.1 are able of ajax requests
  • in fact, using ajax makes less traffic, since you never need to download the same code twice (header, images, javascript codes)
However this idea is about something else, I believe. Push notifications is technology of two-side communication, meaning both sides are active in sending and receiving data. For this, you need a server with proper software capable of that. According to my knowledge, this is by no means a common part of today's hostings. Also, complete rewriting of code, using some of the JS frameworks (like Angular.js) would be required. Maybe this can be the way phpBB 4 goes, but not sooner.
‎‏‏ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎ ‎‏‎‏‏‎ ‎ ‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎🔔
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
User avatar
AmigoJack
Registered User
Posts: 6108
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Push Notifications

Post by AmigoJack »

Senky wrote:no change for handicapped users - ARIA
So you mean WAI-ARIA? How does it honor i.e. people with neurological problems that need as little optical movement (slides, flashes, popups) as possible?
Senky wrote:Ctrl+S still works
No, this saves the document(s), not the current DOM. Hence all JS functions that rely on data exchange with the server will fail when being offline.
Senky wrote:All browsers supported by 3.1 are able of ajax requests
That's not the point: sometimes clients really have no support, or are forced to not have, or JS is stripped. BlackBerry's Curve internet browser does not support JS, hence no XMLHttpRequest aswell. Or do you mistake AJAX for only JS enhancements?
Senky wrote:you never need to download the same code twice
Files: yes. Data: no. AJAX targets to dynamically load data - that's what I mean.
Senky wrote:Push notifications ... need a server with proper software ... by no means a common part of today's hostings
While I have no idea how an HTTP server is unable to this already the HTTP clients are also already able to aquire such things thru WebSockets, which are standardized since 2011 and implemented by internet browsers even earlier.
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
Senky
Former Team Member
Posts: 2300
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Push Notifications

Post by Senky »

AmigoJack wrote:So you mean WAI-ARIA? How does it honor i.e. people with neurological problems that need as little optical movement (slides, flashes, popups) as possible?
Yes I mean that. How does ajax changes the way page animates? Disabling JS at all can do that, but ajax has nothing with that. You can replace old data with new one received by ajax instantly. You do not need to animate that (even though users get confused when no animation is performed while data are changed)
AmigoJack wrote:No, this saves the document(s), not the current DOM. Hence all JS functions that rely on data exchange with the server will fail when being offline.
Alright valid statement. But the question is, if people really use this functionality at sites using phpBB...
AmigoJack wrote:That's not the point: sometimes clients really have no support, or are forced to not have, or JS is stripped. BlackBerry's Curve internet browser does not support JS, hence no XMLHttpRequest aswell. Or do you mistake AJAX for only JS enhancements?
In current state of web development, there is one rule followed by all modern designs, corporations, most visited sites (including Youtube): that if user has not js enabled, they do not care.
AmigoJack wrote:Files: yes. Data: no. AJAX targets to dynamically load data - that's what I mean.
Yes, ajax regularly requests for new data. But that is not the case of push notifications. Also, using ajax to reload page (like Youtube does) makes site load faster because of less data requested. Generally heavy ajaxifying of site causes less load to servers, thus traffic as well.
AmigoJack wrote:While I have no idea how an HTTP server is unable to this already the HTTP clients are also already able to aquire such things thru WebSockets, which are standardized since 2011 and implemented by internet browsers even earlier.
HTTP has nothing to do with server. It is a type of communication. Yes, WebSockets are here, however that is the case I speak about. Clients (browsers) are capable of such communication, but servers has very poor support of such technology.
‎‏‏ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎ ‎‏‎‏‏‎ ‎ ‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎🔔
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
User avatar
potku
Registered User
Posts: 980
Joined: Wed Dec 22, 2004 10:26 pm
Location: Tampere, Finland
Contact:

Re: Push Notifications

Post by potku »

This would really be a nice addition. There was an EXT in development for WhatsApp, and there is one in development for Telegram.

I have no idea how difficult to code something like this would be, but it would surely keep people closer to phpBB boards. That's just how it is nowadays.
Potku.net

"Before I speak, I have something important to say."

- Groucho Marx
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: Push Notifications

Post by mrgtb »

A lot of people are asking for this with paid forum software.

The days of manually refreshing a page to see any new posts made are gone. People now want this a lot, and today this is really what it's all about getting instant notifications without having to manually refresh a page
Senky
Former Team Member
Posts: 2300
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Push Notifications

Post by Senky »

‎‏‏ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎ ‎‏‎‏‏‎ ‎ ‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎🔔
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: Push Notifications

Post by WelshPaul »

Senky wrote: Fri Nov 30, 2018 9:45 am There is (paid) Browser and Mobile Notifications Extension out there.
I just purchased this extesnion but there is a issue with it. When enabled, Visitors using Safari, (tested on two MacBook pro's) just get a white page when visiting the board. I dropped you an email to your support email so hopefully you/we can figure out what's going on with it.
Last edited by WelshPaul on Wed Jan 23, 2019 11:05 am, edited 1 time in total.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Push Notifications

Post by Mick »

The ad does mention that.
Unfortunately, Safari for macOS nor any iOS browser is yet capable of receiving browser notifications
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: Push Notifications

Post by WelshPaul »

MY BAD!!!! Was my fault. It must of deleted the "all" styles directory before uploading to my server! :roll: :oops:

SORRY SENKY.
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: Push Notifications

Post by spaceace »

-1

i must down vote because i honestly think that people spend WAY too much time on mobile devices. distracted driving statistics are getting insane. it's bad enough just texting let alone posting to forums.
Drakath
Registered User
Posts: 125
Joined: Wed Aug 29, 2012 12:17 pm

Re: Push Notifications

Post by Drakath »

spaceace wrote: Mon Feb 17, 2020 12:22 pm -1

i must down vote because i honestly think that people spend WAY too much time on mobile devices. distracted driving statistics are getting insane. it's bad enough just texting let alone posting to forums.
If a person is stupid enough to write forum posts while driving, it is their fault. That's not a rational reason not to have such a feature. If you can't control your urges when receiving a notification, turn on the "Don't disturb" mode or don't subscribe to these notifications in the first place. There's plenty of people who would know how to use the feature appropriately.
User avatar
halil16
Registered User
Posts: 1266
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil
Contact:

Re: Push Notifications

Post by halil16 »

+1
* Hire me at fiverr for your phpBB board.
"The day we will need ideas more than possessions, we will find the secret to true wealth." - Peyami Safa
I'm learning English...
Contributions: #Hashtag, Elegance, Latte
Post Reply

Return to “phpBB Ideas”