This component adds in the ability to mark a notification as read, or to delete a notification without leaving the page that you are on. No more having to click the various notifications to mark them as read. This utility grants the user the ability to delete their own notifications (and thus help keep your database clean). Modeled off of how Facebook allows you to just mark a notification as read, or to delete those annoying "this person liked your comment" notifications.
Suggestions for improvement, or bug fixes (or simply finding one and letting me know) are always welcome!
This is the initial release of the component, and I have tested it on a live site.
1) because when I first started writing it, I didn't exactly know how to use the built in error log... and I needed the information so it was kinda easier to just add in one quickly.
2) It doesn't show you others' notifications as it solely hooks into your notifications, as Arsalan showed me to do, a while back. So, I didn't need to check for that.
Can you see a way that a person can bypass it, to nix others' notifications?
Admittedly, this is my first public component. So, I assume that there's bound to be some issue somewheres.
More important: Any logged in user may mark/delete any notification because there's no owner verification.
Yeah, good idea!
Just wondering: Why does it write its own system/handlers/errlog.Log
instead of using Ossn's default error_log
file?