Watched Threads Filtering

Watched Threads Filtering 1.4.4

No permission to buy ($25.00)
  • Fix sorting by thread first reaction post in watched thread list was non-functional due to XF2.0 references
  • Fix sorting by thread first reaction post in watched thread list was non-functional due to XF2.0 references
  • Tweak extending watched thread query to hopefully improve performance when a user has a staggeringly large number of watched threads
  • Like
Reactions: JoyFreak
  • Fix uninstaller removing the wrong column from xf_forum, only affects forums which uninstall this add-on. To re-add;
    SQL:
    alter table xf_forum add allowed_watch_notifications varchar(20) not null default 'all';
  • Fix template error when Threadmarks v2.7.1 or earlier is installed
  • Support filtering by Threadmark index status (Requires Threadmarks v2.8.0+ for this feature)
  • Requires php 7.0+
  • Requires XenForo 2.1+
  • Now depends on Standard Library by Xon (v1.1.0+)
  • Confirmed support for XF2.2+
  • Like
Reactions: TickTackk
  • Rework pruning watched thread backup tables to avoid deadlocks/interrupted queries for large installations
  • Require XF2.1+
  • Show that a user has no watched threads if they have the unread filter applied
  • Add "watched threads backups" feature
    • When a mass watched threads deletes happen, a backup is created
    • Prompts users to restore if there is an empty list
    • Adds a menu dropdown under "manage watched threads" menu"
    • Optional expiry period for used vs unused backups
    • Supports backingup/restoring Threadmark read tracking as well
  • Like
Reactions: NixFifty
  • Disable workaround for Watched Forum alerts being unexpectedly ignored for XF2.1.4+
  • Add "Send notifications by default for" to setup new users to watch a forum an recieve alerts (not emails)
To enroll all forums to be watched for new threads by default;
SQL:
update xf_forum
set send_notifications_for_by_default = 'thread';

To enroll all forums to be watched for new threads by followers by default (Requires Thread Starter Alerts v2.1.0+);
SQL:
update xf_forum
set send_notifications_for_by_default = 'followed_user_thread';

Update existing user's watched forum configuration( Requires Thread Starter Alerts v2.1.0+);
SQL:
insert ignore into xf_forum_watch (user_id, node_id, notify_on,send_alert)
select xf_user.user_id, xf_forum.node_id, 'followed_user_thread', 1
from xf_user, xf_forum
where xf_user.is_banned = 0 and xf_user.user_state = 'valid'
  • Fix work-around for Watched Forum alerts not being sent when "Replies to a watched thread" alert opt-out is set
Top