1 頁 (共 1 頁)

[問題]安裝了Split topic type後發生的問題

發表於 : 2004-07-02 04:46
WaterPeng
OS: WinXP
phpBB: phpBB 2.0.8a
有問題的外掛: i-Commend Mod 1.0.2

安裝完後....
我將文章加入精華區....
就會變成下列圖的樣子....
而且不會加上變成精華區的圖示....
請問一下有沒有處理的方法....
精華區問題

我檢查Split topic type code跟i-Commend Mod code兩個有可能衝突的地方..
發現i-Commend Mod code的這兩段...

代碼: 選擇全部

else if( $topic_type == POST_COMMEND ) 
{ 
$topic_type = $lang['Topic_Commend'] . ' '; 
}

代碼: 選擇全部

else if( $topic_rowset[$i]['topic_type'] == POST_COMMEND ) 
{ 
$folder = $images['folder_commend']; 
$folder_new = $images['folder_commend_new']; 
}
被split topic type code裡的/* */把這一區給取消功能了....
不知有人可否給予我協助...謝謝

發表於 : 2004-07-02 17:46
天霜
#
#-----[ OPEN 打開 ]------------------------------------------------
#

代碼: 選擇全部

includes/functions_topics_list.php
#
#-----[ FIND 尋找 ]------------------------------------------------
#

代碼: 選擇全部

		if( $topic_type == POST_ANNOUNCE )
		{
			$topic_type = $lang['Topic_Announcement'] . ' ';
		}
		else if( $topic_type == POST_STICKY )
		{
			$topic_type = $lang['Topic_Sticky'] . ' ';
		}
#
#-----[ AFTER, ADD 之後, 加上 ]------------------------------------
#

代碼: 選擇全部

		else if( $topic_type == POST_COMMEND )
		{
			$topic_type = $lang['Topic_Commend'] . ' ';
		}

#
#-----[ FIND 尋找 ]------------------------------------------------
#

代碼: 選擇全部

			if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
			{
				$folder = $images['folder_announce'];
				$folder_new = $images['folder_announce_new'];
			}
			else if( $topic_rowset[$i]['topic_type'] == POST_STICKY )
			{
				$folder = $images['folder_sticky'];
				$folder_new = $images['folder_sticky_new'];
			}
#
#-----[ AFTER, ADD 之後, 加上 ]------------------------------------
#

代碼: 選擇全部

			else if( $topic_rowset[$i]['topic_type'] == POST_COMMEND )
			{
				$folder = $images['folder_commend'];
				$folder_new = $images['folder_commend_new'];
			}
#
#-----[ SAVE/CLOSE ALL FILES 儲存/關閉所有檔案 ]-------------------
#
# EoM 外掛修正結束

發表於 : 2004-07-02 19:26
WaterPeng
[quote="天霜"]#

我照著做了....

雖然圖會正常的顯示這篇文章被列入精華區內...

但是會被另外分割的問題還是無法解決....><

精華區問題2