- Jul 18, 2020
- 10,134
- 12,773
- 521
Offline
Alert Improvements - Alert Improvements for XenForo 2 2.8.17
A collection of improvements to XenForo's alert system.
This add-on requires php 7.0.x or later.
This add-on requires XF 2.1.x or later.
Do not use replication based on MySQL statements with this add-on
Features
Performance impact
alter table xf_user_alert summerize_id add int(10) unsigned DEFAULT NULL
A collection of improvements to XenForo's alert system.
This add-on requires php 7.0.x or later.
This add-on requires XF 2.1.x or later.
Do not use replication based on MySQL statements with this add-on
Features
- 'Mark as read' links on each alert
- Multi-select ability to mark alarms as read or unread.
- Avoid unwanted markup warnings as read by prefetching the browser, which can result in warnings not marked as read as expected.
- Supports the following add-ons:
- Content Ratings 1.3.x
- Global Optional, summarizes the alert according to the selected content type or user
- User Option to prevent marking as read when accessing the / accounts / alerts page.
- User Option to prevent access / accounts / alerts page summaries.
- User Option to adjust summary threshold
- Warning markers are only seen on the alert alert / alert pop-up page, not all warnings
- If a warning is clearly marked as unread, skip marking the warning as read.
- Posts, Chats, Profile Posts, Like Profile Comments
- Rating (From Content Ratings)
- The chat related alerts vary from Conversation Essentials to the XF2
Performance impact
- Add additional columns to xf_alert.
alter table xf_user_alert summerize_id add int(10) unsigned DEFAULT NULL
- 1 additional SELECT query per thread page request when the user has more than 0 active warnings.
- If there are warnings to mark as read, an UPDATE is required.
- When accessing warnings above the summary threshold, fetch all the unread warnings and try to group them in PHP.
- When the summary alerts are successfully generated, 2 queries are executed. 1 to add summary alerts, 1 to update summary alerts.