Today I’ve (finally) read a small complain in the support forum of my plugin:
Notification received excellent but repeating again and again
Basically, when a message is pushed through the notification API the same message won’t be displayed again, unless – and this is more or less the typical use case 😀 – you click-through the page. You read a message, you go back to the homepage, you edit your profile. In this case you will get informed again and again about lets say an unread message. This can become quite annoying. I was wondering a bit if I should solve this problem server or client-side, but I think it’s better to solve this issue on the client side.
One solution I was thinking about was to save somewhere in the database, which messages have been already sent to avoid sending them again. I didn’t like this solution since the database would get quite a lot of useless information after a while. Imagine a huge community and for every single activity we would need to save a lot of data, which person this message already got via the notification system.
What do you think?
Latest posts by David Remer (see all)
- BuddyPress Desktop Notification 0.7 Release - January 14, 2016
- The problem of slug identification in the repository - August 11, 2015
- WordPress Support Ticket - August 10, 2015