Looking for more? Go Pro!

Change your limits with an upgrade to our exclusive VIP accounts, direct downloads your favourite premium styles and add-ons with daily basis updates..
It’s easy and fast to join the VIP account upgrades with several payment methods.

SignUp Now!
  • We've added extra Spam Protection. if you get problem with account registration / registration rejected. please contact us
Frank

Alert Improvements by Xon 2.8.20

Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
Additional Requirements
php 7.0+
Standard Library by Xon
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
  • For threads/conversation/profile pages, automatically marks alerts as read from content on a given page when viewed.
  • Mark unread link for individual alerts on the Alerts page.
  • Supports the following add-ons:
    • Content Ratings
  • Global Optional, Alert summerization by selected content type or user
  • User Option to prevent marking as read when accessing /accounts/alerts page.
  • User Option to prevent summerization when accessing /accounts/alerts page.
  • User Option to adjust summerization threshold
Supported content types for alert summerization
  • Posts, Conversation, Profile post, profile post comments Likes
  • Ratings (From Content Ratings)
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 Summerization Performance impact

On accessing alerts above the summerize 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 summerized alerts. Contributing features or bug fixes Please create a Github Pull request via the "More Information" link.
Author
Frank
Downloads
32
Views
1,063
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Frank

Latest updates

  1. 2.8.20 - Bugfix update

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

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

    Fix "Call to a member function keys() on array" Fix that very old alerts could be shown in the...
  4. 2.8.3 - Maintainance update

    Tweak read/unread/recently-read row styling, move read/unread separator as css class rather than...
  5. 2.7.4 - Maintainance update

    When pruning alerts; Reduce maximum batch size, and back-off by 1 second between prune attempts
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock