Anh chị em Việt Nam
COME AS GUESTS. STAY AS FAMILY.
Alert Improvements by Xon

Alert Improvements by Xon 2.5.0

No permission to download
A collection of improvements to the XenForo Alerts system.

This add-on requires php 5.6 or newer.
This add-on requires XF 2.0.10 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 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
Supported content types for alert summarization
  • Posts, Conversation, Profile post, profile post comments Likes
  • Ratings (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 licencing arrangements.
  • Like
Reactions: secpol
Author
dinhphucv
Downloads
13
Lượt xem
136
First release
Last update
Rating
0,00 star(s) 0 ratings

More resources from dinhphucv

Latest updates

  1. 2.5.0 - Feature update

    Add "Display unread alerts above read alerts in pop-up" option Add per-user option to make...
  2. 2.4.7 - Bugfix update

    Fix link generation for report summary (likes/reactions/etc) alerts Fix your profile post...
  3. 2.4.6 - Bugfix update

    Fix typo in phrase Fix XF2.1 summarization by user not listing reactions & summerized content types

About us

VietFriend community được xây dựng với mục đích kết nối mọi người lại với nhau, là nơi để giao lưu, học hỏi và chia sẻ mọi thứ trên đời.
Top