[問題] 公告置頂分區+i-New_Topic_1.0.2兩者相衝(已爬文)

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
magigi
星球普通子民
星球普通子民
文章: 5
註冊時間: 2005-06-11 18:59

[問題] 公告置頂分區+i-New_Topic_1.0.2兩者相衝(已爬文)

文章 magigi »

問題外掛:公告置頂分區(split_topic_type-v201)與i-New_Topic_1.0.2
參考連結:
使用版本:phpBB 2.0.17
狀況描述:

小弟是先裝上i-New_Topic_1.0.2這隻外掛,在這隻外掛中templates/subSilver/viewforum_body.tpl修改的部份如下:

代碼: 選擇全部

#
#-----[ OPEN ]---------------------------------
#
viewforum_body.tpl

#
#-----[ FIND ]---------------------------------
#
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span>

#
#-----[ IN-LINE FIND ]---------------------------------
#
</a></span>

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
{topicrow.TOPIC_NEW_ICON}

公告置頂分區(split_topic_type-v201)viewforum_body.tp修改如下:

代碼: 選擇全部

#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/#
#-----[ FIND ]------------------------------------------------
#
<form method="post" action="{S_POST_DAYS_ACTION}">
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<!-- mod : split topic type -->
#
#-----[ FIND ]------------------------------------------------
#
#
#************************************************************************************
#					NOTE :
#					------
#	The lines deleted here are reported in topics_list_box.tpl. You will probably
#	want to customize topics_list_box.tpl the same way viewforum_body.tpl was if
#	you use a particular template with other classes than the ones used by subSilver.
#
#************************************************************************************
  <table
	<tr> 
	  <th
	  <th
	  <th
	  <th
	  <th
	</tr>
	<!-- BEGIN topicrow -->
	<tr> 
	  <td
	  <td
		{topicrow.GOTO_PAGE}</span></td>
	  <td
	  <td
	  <td
	  <td
	</tr>
	<!-- END topicrow -->
	<!-- BEGIN switch_no_topics -->
	<tr> 
	  <td
	</tr>
	<!-- END switch_no_topics -->
	<tr> 
	  <td class="catBottom" 
		<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
		</span></td>
	</tr>
  </table>
#
#-----[ REPLACE WITH ]---------------------------------------- 
#
{TOPICS_LIST_BOX}

公告置頂分區(split_topic_type-v201)這外掛把i-New_Topic_1.0.2加上的部份全部取代為{TOPICS_LIST_BOX},結果導致無法出現新文章圖示\r

我有看到天霜大大發表的文章:
http://phpbb-tw.net/phpbb/viewtopic.php?t=27977
http://phpbb-tw.net/phpbb/viewtopic.php?p=121037#121037

雖然遇到的問題與我類似,但裡面的修改法似乎對我現在的問題不適用,
不知各位大大有解決的辦法嗎,在此小弟先謝過各位先進~
主題已鎖定

回到「外掛問題討論」