先看看這個位置有沒有
看文章那邊,原本四個版主按鈕(鎖定,移動,刪除,分割)那邊,就會多一個按鈕..
沒有的話檢查viewtopic.php 的部分
下面僅供檢查,若有錯誤建議使用原安裝檔來複製\r
因為竹貓網頁的關係,有些code可能會遺失
打開 viewtopic.php
找到\r
$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 . "
FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f" . $join_sql_table . "
WHERE $join_sql
裡面找到\r
t.topic_status,
後面加上
t.topic_elite,
找到\r
$topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a> ';
後面加上
$topic_mod .= ( $forum_topic_data['topic_elite'] == 0 ) ?"<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=elite&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_elite'] . '" alt="' . $lang['Elite_topic'] . '" title="' . $lang['Elite_topic'] . '" border="0" /></a> ':"<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=elite&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_unelite'] . '" alt="' . $lang['Unelite_topic'] . '" title="' . $lang['Unelite_topic'] . '" border="0" /></a> ';