●安裝的外掛程式:RSS Feed 2.0 v1.2.1
●phpBB 版本:phpBB 3.0.8
●phpBB 連結網址: http://phpbb-tw.net/phpbb/
安裝此外掛後發現點選啟用 "跳過權限"(Skip permissions) 功能後,此功能似乎並未啟動。
尋找相關資料後取得解決方式如下:
代碼: 選擇全部
#
#---- [OPEN] ----
#
root/rss.php
#
#---- [FIND] ----
#
// If the forum is locked, skip it...
if ( $forum_rows['forum_status'] == ITEM_LOCKED || $forum_rows['forum_id'] == $row['forum_id'] || !$auth->acl_get('f_list', $forum_rows['forum_id']))
{
continue;
}
#
#---- [REPLACE WITH] ----
#
// If the forum is locked, skip it...
if ( $forum_rows['forum_status'] == ITEM_LOCKED || $forum_rows['forum_id'] == $row['forum_id'] )
{
continue;
}
// Getting authentication
if ( !$config['rss_permissions'] && (!$auth->acl_get('f_read', $forum_rows['forum_id']) || !$auth->acl_get('f_list', $forum_rows['forum_id'])) )
{
continue;
}
#
#---- [FIND] ----
#
// Exclude forums the user is not able to read
if ( !$auth->acl_get('f_list', $forum_data['forum_id']) )
{
$this->excluded_forums_ary[] = (int) $forum_data['forum_id'];
continue;
}
#
#---- [REPLACE WITH] ----
#
// Getting authentication
if ( !$config['rss_permissions'] && (!$auth->acl_get('f_read', $forum_data['forum_id']) || !$auth->acl_get('f_list', $forum_data['forum_id'])) )
{
$this->excluded_forums_ary[] = (int) $forum_data['forum_id'];
continue;
}http://www.phpbb.com/customise/db/mod/r ... um-t_88993
