1 頁 (共 1 頁)

[外掛]Appraise Post Mod 1.1.1

發表於 : 2004-05-26 20:21
dathgod
請問一下有人有裝這個mod嗎?

我試過搜尋了, 不過好像沒有人用過...@@"

我發現了一個問題!!

作者在下面這段 viewforum_body.tpl的檔案修改中
要找幾段code...我現在使用的是 subsilver, 也是作者預設的風格\r
但是我發現我居然找不到底下的幾個code....

代碼: 選擇全部

#-----[ OPEN ]------------------------------------------ 
#
templates/subSilver/viewforum_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
	  <th align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
	  <th width="50" align="center" class="thTop" nowrap="nowrap"> {L_TOPICS_ASSRAISE} </th>

# 
#-----[ FIND ]------------------------------------------ 
# 
	  <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.TOPIC_ASSRAISE}</span></td>

# 
#-----[ FIND ]------------------------------------------ 
# 
<td class="row1" colspan="6"

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
<td class="row1" colspan="7"

# 
#-----[ FIND ]------------------------------------------ 
# 
valign="middle" colspan="6" height="28"

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
valign="middle" colspan="7" height="28"
我把我的viewforum_body.tpl完整的code列出來...
希望有人能幫幫我..QQ

代碼: 選擇全部

<!-- mod : split topic type -->
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr> 
	  <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
	  <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
	</tr>
	<tr> 
	  <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
	  <td align="left" valign="middle" class="nav" width="100%"><span class="nav">   <a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
	  <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
	</tr>
  </table>

  {TOPICS_LIST_BOX}

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
	<tr> 
	  <td align="left" valign="middle" width="50"><a  href="{U_BUCKET}" title="{L_BUCKT}" class="nav"><img src="{U_BUCKET_IMG}" alt="{L_BUCKET}" border="0" /></a><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
	  <td align="left" valign="middle" width="100%"><span class="nav">   <a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
	  <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span> 
		</td>
	</tr>
	<tr>
	  <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
	</tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
	<td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
	<tr>
		<td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
			<tr>
				<td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
				<td class="gensmall">{L_NEW_POSTS}</td>
				<td>  </td>
				<td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
				<td class="gensmall">{L_NO_NEW_POSTS}</td>
				<td>  </td>
				<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="{FOLDER_GLOBAL_ANNOUNCE_IMG}" alt="{L_GLOBAL_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_GLOBAL_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->
			</tr>
			<tr> 
				<td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
				<td class="gensmall">{L_NEW_POSTS_HOT}</td>
				<td>  </td>
				<td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
				<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
				<td>  </td>
				<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->			</tr>
			<tr>
				<td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
				<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
				<td>  </td>
				<td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
				<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
			</tr>
		</table></td>
		<td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
	</tr>
</table>
感激不盡了...T.T

發表於 : 2004-05-26 20:33
台灣阿堂
第26行 <th align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
第36行 <td class="row1" colspan="6"
第40行 valign="middle" colspan="6" height="28"

我都找得到,你為什麼找不到

發表於 : 2004-05-27 16:10
dathgod
台灣阿堂 寫:第26行 <th align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
第36行 <td class="row1" colspan="6"
第40行 valign="middle" colspan="6" height="28"

我都找得到,你為什麼找不到
我也不知道為什麼, 但是在我的檔案裡面就是找不到那幾個
不過我有看過我別的風格裡面可以找到這幾個
所以我才覺得奇怪阿..QQ"

我貼的viewforum_body.tpl code 就是我現在用的viewforum_body.tpl
沒漏掉半個字母...@@"

發表於 : 2004-05-27 16:48
.::藍色的天空::.
Search 這個
{L_LASTPOST}

發表於 : 2004-05-28 07:26
dathgod
我找過了所有有關post的 code 沒有 {L_LASTPOST} 這個東西
有關POST的只有 {L_POST_NEW_TOPIC}{L_NEW_POSTS}{L_NO_NEW_POSTS}{L_NEW_POSTS_HOT}{L_NO_NEW_POSTS_HOT}{L_NEW_POSTS_LOCKED}{L_NO_NEW_POSTS_LOCKED}

跟我裝過別的MOD有關嗎??
我所裝過的MOD

發表於 : 2004-05-29 17:58
dathgod
我終於找到問題癥結的所在了...
不過不知道怎麼改..
因為我有裝Split topic type Mod, 所以當中的最重要的一段code被 {TOPICS_LIST_BOX}所取代了, 我也照到了 topics_list_box.tpl 裡面所取代的code, 不過不知道從哪著手...

代碼: 選擇全部

以下為 topics_list_box.tpl的內容
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
<!-- BEGIN multi_selection -->
<script language="Javascript" type="text/javascript">
//
// checkbox selection management
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}()
{
	var all_checked = true;
	for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++)
	{
		if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
		{
			all_checked =  document.{topics_list_box.FORMNAME}.elements[i].checked;
		}
	}
	document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
// check/uncheck all
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}()
{
	for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++)
	{
		if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
		{
			document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
		}
	}
}
</script>
<!-- END multi_selection -->

<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr> 
	<th colspan="{topics_list_box.row.header_table.COLSPAN}" align="center" nowrap="nowrap"> {topics_list_box.row.L_TITLE} </th>
	<th width="50" align="center" nowrap="nowrap"> {topics_list_box.row.L_REPLIES} </th>
	<th width="100" align="center" nowrap="nowrap"> {topics_list_box.row.L_AUTHOR} </th>
	<th width="50" align="center" nowrap="nowrap"> {topics_list_box.row.L_VIEWS} </th>
	[color=red]<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_TOPICS_ASSRAISE} </th>[/color]
<th width="150" align="center" nowrap="nowrap"> {topics_list_box.row.L_LASTPOST} </th>
	<!-- BEGIN multi_selection -->
	<th width="20" align="center" nowrap="nowrap"><input type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" onClick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" /></th>
	<!-- END multi_selection -->
</tr>
<!-- END header_table -->
<!-- BEGIN header_row -->
<tr>
	<td class="row3" colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall">  <b>{topics_list_box.row.L_TITLE}</b></span></td>
</tr>
<!-- END header_row -->
<!-- BEGIN topic -->
<tr> 
	<!-- BEGIN single_selection -->
	<td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20"><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
	<!-- END single_selection -->
	<td class="{topics_list_box.row.ROW_FOLDER_CLASS}" align="center" valign="middle" width="20"><img src="{topics_list_box.row.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" /></td>
	<!-- BEGIN icon -->
	<td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20">{topics_list_box.row.ICON}</td>
	<!-- END icon -->
	<td class="{topics_list_box.row.ROW_CLASS}" width="100%">
		<span class="topictitle">{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.TOPIC_TYPE}<a href="{topics_list_box.row.U_VIEW_TOPIC}" class="topictitle">{topics_list_box.row.TOPIC_TITLE}</a></span><span class="gensmall">  {topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span>
		<span class="gensmall">
			{topics_list_box.row.GOTO_PAGE}
			<!-- BEGIN nav_tree -->
			{topics_list_box.row.TOPIC_NAV_TREE}
			<!-- END nav_tree -->
		</span>
	</td>
	<td class="row2" align="center" valign="middle"><span class="postdetails">{topics_list_box.row.REPLIES}</span></td>
	<td class="row3" align="center" valign="middle"><span class="name">{topics_list_box.row.TOPIC_AUTHOR}</span></td>
	<td class="row2" align="center" valign="middle"><span class="postdetails">{topics_list_box.row.VIEWS}</span></td>
[color=red]<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.TOPIC_ASSRAISE}</span></td>[/color]	
<td class="row3" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topics_list_box.row.LAST_POST_TIME}<br />{topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</span></td>
	<!-- BEGIN multi_selection -->
	<td class="row2" align="center" valign="middle"><span class="postdetails"><input type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" onClick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" {topics_list_box.row.L_SELECT} /></span></td>
	<!-- END multi_selection -->
</tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr> 
	<td class="row1" colspan="{topics_list_box.row.COLSPAN}" height="30" align="center" valign="middle"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
<tr> 
	<td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle"><span class="genmed">{topics_list_box.row.FOOTER}</span></td>
</tr>
<!-- END bottom -->
<!-- BEGIN footer_table -->
</table>
<!-- END footer_table -->
<!-- BEGIN spacer -->
<br class="gensmall">
<!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
我所改的只有 :
紅色部分是以下的code

代碼: 選擇全部

#-----[ FIND ]------------------------------------------ 
# 
	  <th align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
	  <th width="50" align="center" class="thTop" nowrap="nowrap"> {L_TOPICS_ASSRAISE} </th>

# 
#-----[ FIND ]------------------------------------------ 
# 
	  <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.TOPIC_ASSRAISE}</span></td>
剩下的以下的部份不知道怎麼改..

代碼: 選擇全部

#-----[ FIND ]------------------------------------------ 
# 
<td class="row1" colspan="6"

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
<td class="row1" colspan="7"

# 
#-----[ FIND ]------------------------------------------ 
# 
valign="middle" colspan="6" height="28"

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
valign="middle" colspan="7" height="28"
麻煩各位知道的請指導一下... :-o
改完之後的頁面變成下面這樣\r
不過紅色的部份好像是有點錯誤...@@
圖檔

發表於 : 2004-06-01 15:52
dathgod
沒人知道嗎..@@"
不想拆掉這個mod...>"<

發表於 : 2004-06-03 14:43
dathgod
外掛網址?
這個嗎?

發表於 : 2004-06-04 20:06
天霜
或許你可以去原作者的網站去詢問看看
http://www.ioptional.com/