• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Alert Improvements by Xon 1.5.1

No permission to download
Compatible XF 1.x versions
1.4, 1.5
Additional requirements
php 5.5+
License
MIT Licence
Visible branding
No
A collection of improvements to the XenForo Alerts system.

This add-on requires php 5.5 or newer

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:
    • Post Ratings.
    • Conversation Improvements.
    • Report Improvements.
  • 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 Likes
  • Post Ratings (From Post Ratings)
  • Conversation Message Likes (From Conversation Improvements)
  • Report Comment Likes (From Report Improvements)

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.

Installation


I recommend using Add-on install & upgrade to install this addon.

Contributing features or bug fixes
Please create a Github Pull request via the "Find more info at github.com..." 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 licencing arrangements.
Author
Xon
Downloads
294
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Xon

Latest updates

  1. 1.5.1 - Maintenance update

    Fix: Undefined index: product_version_id when viewing a license with unread alerts
  2. 1.5.0 - Feature Update

    Support @NixFifty's Tickets add-on Marks ticket alerts as read when viewing the ticket...
  3. 1.4.9 - Maintenance release

    Fix user's alert summarization threshold setting not being respected Fix that sometimes large...

Latest reviews

Fantastic. The alerts system in such a need of an overhaul, these small tweaks save a lot of time and redundant checking of alerts after you've already viewed the content.
This is the first add-on I've employed, which I'm puzzled as to why is not a core function of XenForo??

Since XenForo does not automatically clear a user's alerts until they go and purposely hover over them with their mouse, one can read a bunch of posts they were alerted to and all those specific Alerts *will remain* in their Alert Tab. Boo-Hiss!

This add-on fixes that! Once a user has read the posts they were alerted to, all those alerts automatically disappear from the Alert Tab. Simply stated, that's just how things ought to work. It lessens user confusion and saves them the time/effort of manually clearing (now-) unnecessary alerts.