打開 viewtopic.php
- 代碼: 選擇全部
找到==================================
$sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments " . $count_sql . "
在, f.auth_attachments後面加上==================================
,f.forum_sub
使其變成
$sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments,f.forum_sub" . $count_sql . "
2.新增修改刪除文章時,沒有正確顯示子版的路徑
打開 posting.php
- 代碼: 選擇全部
找到=================
$forum_name = $post_info['forum_name'];
後面加上===============
$forum_path=forum_path($post_info,$forum_id);
找到=================
'L_POST_A' => $page_title,
'L_POST_SUBJECT' => $lang['Post_subject'],
後面加上===============
'FORUM_PATH' => $forum_path,
打開 \templates\subSilver\posting_body.tpl
- 代碼: 選擇全部
找到=================
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a>
取代為===============
{FORUM_PATH}
在安裝文章中,已經把這些步驟加上去了
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=33019
所以現在若按照文章中的步驟安裝,不需要理會這篇文章