feat(forum,admin): plate follow-pay MVP, sales column, order type tabs
Wire paid plate follow (admin meta + points/balance purchase + AJAX), re-check plate gate on topics, post list sales column, and order type subtabs; update gap matrix and admin IA map.
This commit is contained in:
1 parent
bccb14a487
commit
cf6ad0e972
12 files changed
+672
-12
No files matched your search
@@ -166,6 +166,14 @@ trait AKSRT_Forum_Topic_Service_Part_3 {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Plate gate first (zibll plate → post). Moderators of plate already pass can_view_plate.
|
||||
$plate_id = (int) get_post_meta((int) $post->ID, '_aksrt_plate_id', true);
|
||||
if ($plate_id > 0 && method_exists($this->forum, 'can_view_plate')) {
|
||||
if (!$this->forum->can_view_plate($viewer_user_id, $plate_id)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if ($visibility === AKSRT_Forum::VISIBILITY_PUBLIC) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user