Index: functions_display.php =================================================================== --- functions_display.php (revision 10432) +++ functions_display.php (working copy) @@ -448,9 +448,17 @@ } } + // Allow styles to remove data from forums a user can list but *can't* read + $forum_list_not_read = false; + if ($auth->acl_get('!f_read', $row['forum_id'])) + { + $forum_list_not_read = true; + } + $template->assign_block_vars('forumrow', array( 'S_IS_CAT' => false, 'S_NO_CAT' => $catless && !$last_catless, + 'S_IS_HIDDEN' => $forum_list_not_read, 'S_IS_LINK' => ($row['forum_type'] == FORUM_LINK) ? true : false, 'S_UNREAD_FORUM' => $forum_unread, 'S_LOCKED_FORUM' => ($row['forum_status'] == ITEM_LOCKED) ? true : false,