feat(forum): frontend 1:1 list/tabs/urls/enqueue
Wire Zibll-style board sort tabs, shared topic rows, page-template URLs, forum asset enqueue on home/plate, home synthesis load-more, and topic last_reply meta for last-reply ordering. No dual-read.
This commit is contained in:
1 parent
df6b224dd3
commit
780c8cb4f7
23 files changed
+843
-481
No files matched your search
@@ -34,6 +34,10 @@ class AKSRT_Forum_Comment_Service {
|
||||
if ((int) $comment->comment_approved !== 1) return;
|
||||
$commenter_id = (int) $comment->user_id;
|
||||
if ($commenter_id <= 0) return;
|
||||
|
||||
// Topic-level last_reply for board sort tabs.
|
||||
update_post_meta((int) $post->ID, '_aksrt_last_reply', (string) $comment->comment_date);
|
||||
|
||||
$this->forum->notify_topic_reply((int) $post->ID, $commenter_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user