Alert Improvements by Xon

Alert Improvements by Xon 2.8.22

No permission to download
Compatible XF 2.x versions
  1. 2.1
  2. 2.2
Additional requirements
php 7.0+
Standard Library by Xon
License
MIT Licence
Visible branding
No
A collection of improvements to the XenForo Alerts system.

This add-on requires php 7.0.x or newer.
This add-on requires XF 2.1.x or newer.

Do not use MySQL statement-based replication with this add-on

Features
  • Per-alert 'mark read' links on each alert
  • Multi-select ability to mark alerts as read or unread.
  • Avoid unexpected marking alerts as read by browser prefetch, this may result in alerts not being marked as read as expected.
  • Supports the following add-ons:
    • Content Ratings 1.3.x
  • Global Optional, Alert summarization by selected content type or user
  • User Option to prevent marking as read when accessing /accounts/alerts page.
  • User Option to prevent summarization when accessing /accounts/alerts page.
  • User Option to adjust summarization threshold
  • Only mark alerts that are viewed on alert page/alert pop-up, not all alerts
    • If an alert was explicitly marked as unread, skip marking that alert as read.
Supported content types for alert summarization
  • Posts, Conversation, Profile post, profile post comments Likes
  • Reactions (From Content Ratings)
  • Various conversation related alerts from Conversation Essentials for XF2
Performance impact
  • Adds an extra column to xf_alert.
    • Code:
      alter table xf_user_alert summerize_id add int(10) unsigned DEFAULT NULL
  • 1 extra SELECT query per thread page request when the user has more than zero active alerts.
    • If there are alerts to mark as read, then an extra UPDATE is required.
Alert Summarization Performance impact
  • On accessing alerts above the summarize threshold, fetches all unread alerts and attempts to group them in PHP.
  • On successfully generating summary alerts, 2 queries are done. 1 insert to add the summary alert, 1 updating summarized alerts.
Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.

Contributions

If you appreciate this add-on, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licensing arrangements.
Related resources
Author
Xon
Downloads
538
Views
19,170
First release
Last update
Rating
5.00 star(s) 6 ratings

More resources from Xon

Latest updates

  1. 2.8.22 - Maintenance update

    Another attempt to reduce deadlocks during alert pruning When editing a post, mark related...
  2. 2.8.20 - Bugfix update

    Reduce possibility of deadlocks when pruning alert cleanup table Fix summary alert pagination
  3. 2.8.19 - Maintenance update

    Add CLI command "xf-rebuild:sv-alert-totals" to expose rebuilding alert totals job Avoid...

Latest reviews

We are using this add-on on a very large forum and recently started facing issues. Xon fixed the issues related to deadlock we are having for us. His support is top-notch.
I've used this for over a year on a large forum with over 20 million posts. It's been working with no problems. Users like the improvements to the alert system.
As a forum owner, you want to give your users as much flexibility as possible. This is one of those addons that fills the void and solves many of the "are we able to ...." questions regarding the notifications system.

We aren't using this with Conversation Essentials, but are with Content Ratings and it works great.

The ability to adjust and customise summarization of alerts is brilliant.

Well worth adding to your forum this one!
Xon has some of the most useful addons and this is one of them. He also has unrivaled support. Literally fixing bugs within a day.
Very nice to see this add-on updated to version 2.0. It was one of the add-ons I really liked with the old xenforo version, and has been missed by our members until now. Great work Xon!
Thank you for this free XF2 version, it is one of the essential addons before I can migrate. Xon is one of the most trustworthy XF developers, all his addons can be installed blindly, as everyone knows: it will work and it is safe.
Top