Alert Improvements by Xon

Unmaintained Alert Improvements by Xon 1.5.6

No permission to download
Compatible XF 1.x versions
  1. 1.4
  2. 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.

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:
    • 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 "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 licencing arrangements.
  • alerts.webp
    alerts.webp
    4.4 KB · Views: 3,021
  • ratings.webp
    ratings.webp
    24 KB · Views: 1,989
  • ratings2.webp
    ratings2.webp
    44.9 KB · Views: 1,617
Author
Xon
Downloads
372
Views
3,864
First release
Last update

Ratings

5.00 star(s) 4 ratings

More resources from Xon

Latest updates

  1. 1.5.6 - Security fix update

    Fix access check when unsummarizing alerts. This could allow deleting arbitrary alerts for other...
  2. 1.5.5 - Maintenance update

    Remove use of get_lock which is unsupported in galera clustering, and causes errors in Percona...
  3. 1.5.4 - Compatibility update

    Fix marking alerts as read when viewing tickets for Tickets 1.6.x support

Latest reviews

Works excellent along with Warning Improvements and Report Improvements. Very happy with less interaction required from our staff team.
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.
Top Bottom