1 頁 (共 1 頁)

[問題] 倒數計時(動機不明版主修改)

發表於 : 2005-05-03 14:36
pcrick
問題外掛:[修改]倒數計時功能\r
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php ... %ADp%AE%C9
使用版本:phpBB 2.0.14
網站位置: 測試中localhost
狀況描述:我將 java語法貼至overall_header.tpl的最下方,但是只顯示出一條背景顏色而已,請問是不相衝了,要如何改呢?謝謝!
以下是我的overall_header.tpl內容(應該不會太長了吧):

代碼: 選擇全部

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" -->
<style type="text/css">
<!--
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body { 
	background-color: {T_BODY_BGCOLOR};
	scrollbar-face-color: {T_TR_COLOR2};
	scrollbar-highlight-color: {T_TD_COLOR2};
	scrollbar-shadow-color: {T_TR_COLOR2};
	scrollbar-3dlight-color: {T_TR_COLOR3};
	scrollbar-arrow-color:  {T_BODY_LINK};
	scrollbar-track-color: {T_TR_COLOR1};
	scrollbar-darkshadow-color: {T_TH_COLOR1};
}

/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : {T_BODY_LINK}; }
a:hover		{ text-decoration: underline; color : {T_BODY_HLINK}; }
hr	{ height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: {T_TR_COLOR1}; }
td.row2	{ background-color: {T_TR_COLOR2}; }
td.row3	{ background-color: {T_TR_COLOR3}; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: {T_TD_COLOR2};
		background-image: url(templates/subSilver/images/{T_TH_CLASS3});
		background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold; 
	background-color: {T_BODY_LINK}; height: 25px;
	background-image: url(templates/subSilver/images/{T_TH_CLASS2});
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(templates/subSilver/images/{T_TH_CLASS1});
			background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
	background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}

th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle	{
	font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
	text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}

/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: {T_BODY_HLINK}; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu		{ text-decoration: none; color : {T_BODY_LINK};  }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle		{ text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink 	{ text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav			{ text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover		{ text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2	{ font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover	{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }

/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link	{ text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}

/* Quote & Code blocks */
.code { 
	font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
	background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
	background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright		{ font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright		{ color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}

/* Form elements */
input,textarea, select {
	color : {T_BODY_TEXT};
	font: normal {T_FONTSIZE2}px {T_FONTFACE1};
	border-color : {T_BODY_TEXT};
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : {T_TD_COLOR2};
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : {T_TR_COLOR1};
	color : {T_BODY_TEXT};
	font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}

/* The main submit button option */
input.mainoption {
	background-color : {T_TD_COLOR1};
	font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
	background-color : {T_TD_COLOR1};
	font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/subSilver/formIE.css"); 
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- Start add - Birthday MOD -->
{GREETING_POPUP}
<!-- End add - Birthday MOD -->
<!-- BEGIN loan_popup --> 
<script language="Javascript" type="text/javascript"> 
<!-- 
   var w = 400; 
   var h = 225; 
   var left = (screen.width - w) / 2; 
   var top = (screen.height - h) / 2; 
   var props = 'height='+h+',width='+w+',top='+top+',left='+left+',resizable=yes'; 

   win = window.open('{U_LOAN_POPUP}', '_loanpopup', props);; 
   win.window.focus(); 
//--> 
</script> 
<!-- END loan_popup --> 
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center"> 
	<tr> 
		<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr> 
				<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
				<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span> 
				<table cellspacing="0" cellpadding="2" border="0">
					<tr> 
						<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="rpg.php?action=menu" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="水怪RPG" hspace="3" />水怪RPG</a>&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;<a href="{U_MEDALS}" class="mainmenu">{I_MEDALS}{L_MEDALS}</a>&nbsp;<a href="{U_MUSIC}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_music.gif" width="12" height="13" border="0" alt="{L_MUSIC}" hspace="3" />{L_MUSIC}</a>&nbsp;<a href="{U_RABBITOSHI}" class="mainmenu"><img src="templates/subSilver/images/pig.gif" width="12" height="13" border="0" alt="{L_RABBITOSHI}" hspace="3" />{L_RABBITOSHI}</a>
						</td>
					</tr>
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="角色WOG" hspace="3" /><a href=wog/ class=gensmall>角色WOG</a>&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="{PRIVMSG_IMG}" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp;<a href="{U_FACE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_FACE}" hspace="3" />{L_FACE}</a>&nbsp;<a href="{U_BANK}" class="mainmenu"><img src="templates/subSilver/images/bank.gif" width="12" height="13" border="0" alt="{BANK}" hspace="3" />{BANK}</a>&nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>
  				<!-- ChatSpot MOD -->
					<!-- BEGIN switch_user_logged_in -->
			<!--	&nbsp;<a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATSPOT_NAME}','scrollbars=no,resizable=yes,width=640,height=550')" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" hspace="3" />Chat</a>&nbsp; -->
					<!-- END switch_user_logged_in -->
					<!-- End of ChatSpot MOD -->
					<!-- BEGIN switch_user_logged_out -->
						&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
						<!-- END switch_user_logged_out --></span></td>
	        </tr>
				</table></td>
			</tr>
		</table>
<!-- BEGIN switch_board_msg --> 
		<br />
		<center>
<table border="0" width={BM_WIDTH} class="forumline">
  <tr> 
	<th colspan="3" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{BM_TITLE}&nbsp;</th>
  </tr>
  <tr>
	<td width="10%" align="center" class="row1">{BM_IMAGES}</td>
	<td class="row1"><span class="gen">{BM_MSG}</a></span></td>
	<td width="10%" align="center" class="row1">{BM_IMAGES}</td>
  </tr>

</table>
<table border="0" width={BM_WIDTH}>
  <tr> 
	<td align="left" valign="top"><span class="gensmall"><a href={U_BM_PRV} title="{BM_PRV_TITLE}" class="nav">{L_BM_PRV}</a></span></td>
	<td align="right" valign="top"><span class="gensmall"><a href={U_BM_NXT} title="{BM_NXT_TITLE}" class="nav">{L_BM_NXT}</a></span></td>
  </tr>

</table>
</center>
<!-- END switch_board_msg --> 

發表於 : 2005-05-06 00:01
心靈捕手
pcric 寫:問題外掛:[修改]倒數計時功能
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php ... %ADp%AE%C9
使用版本:phpBB 2.0.14
網站位置:
狀況描述:我將 java語法貼至overall_header.tpl的最下方,但是只顯示出一條背景顏色而已,請問是不相衝了,要如何改呢?謝謝!
剛剛試裝該外掛, 一切正常! :roll:

建議您:
1. 方便的話, 貼出您的網站位置;
2. 試試將該語法貼入 index_body.tpl 看看( 移除該語法在 overall_header.tpl 的部份).

發表於 : 2005-05-06 18:54
pcrick
心靈捕手 寫:
pcric 寫:問題外掛:[修改]倒數計時功能
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php ... %ADp%AE%C9
使用版本:phpBB 2.0.14
網站位置:
狀況描述:我將 java語法貼至overall_header.tpl的最下方,但是只顯示出一條背景顏色而已,請問是不相衝了,要如何改呢?謝謝!
剛剛試裝該外掛, 一切正常! :roll:

建議您:
1. 方便的話, 貼出您的網站位置;
2. 試試將該語法貼入 index_body.tpl 看看( 移除該語法在 overall_header.tpl 的部份).
貼在 index_body.tpl也是一樣,真傷腦筋???

發表於 : 2005-05-07 08:26
心靈捕手
pcrick 寫:貼在 index_body.tpl也是一樣,真傷腦筋???
查看您貼出的 overall_header.tpl,
其中有使用到 java 語法的地方,
好像只有" 私人訊息" 和" 奪命催繳書" 而已;

剛好我的論壇 overall_header.tpl 也有這兩個部份,
但是, 加入" 倒數計時" 語法後, 一切正常;

我猜想:
會不會是有受到 index_body.tpl 裡頭的 java 語法影響呢?

建議您:
將該語法再放入其他網頁, 試試看,...

另外, 由於您提供的訊息有限,
是不是有受到其他外掛的影響, 便不得而知了? :roll:

發表於 : 2005-05-10 14:27
pcrick
感謝”心靈捕手”的答覆,後來試的結果,只能將<!-- 倒數計時開始 -->放在<!-- End add - Fully integrated shoutbox MOD -->(聊天室)之後,會出現正常狀況,放在這之前都有問題,不知是什麼JAVA相衝?
P.S:其實我是想放在最上方!

代碼: 選擇全部

<iframe marginwidth=0 marginheight=0 src='adv_top5.php' frameborder=0 width='100%' scrolling=no height=250> 
</iframe> 

<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left" valign="bottom"><span class="gensmall">
	<!-- BEGIN switch_user_logged_in -->
	{LAST_VISIT_DATE}<br />
	<!-- END switch_user_logged_in -->
	{CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span><br><img src="images/announce.gif"><marquee scrollamount=3 scrolldelay=75 width="50%" onmouseover=this.stop(); onmouseout=this.start();>{ANNOUNCEMENT}</marquee>
	<td align="right" valign="bottom" class="gensmall">
		<!-- BEGIN switch_user_logged_in -->
		<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
		<!-- END switch_user_logged_in -->
		<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr> 
	<th colspan="3" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr> 
	<td class="catLeft" colspan="3" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
	<td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr> 
	<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}"  alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td><td class="row1" align="center" valign="middle" height="50">{catrow.forumrow.FORUM_ICON_IMG}</td>
	<td class="row1" width="100%" height="50" onMouseOver="this.style.backgroundColor='#FFDEC7'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#EFEFEF';" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
  <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"><span class="gensmall"><a href="{catrow.forumrow.U_LAST_TOPIC}"><font color="blue">{catrow.forumrow.LAST_TOPIC}</font></a><br />{catrow.forumrow.LAST_POST}</span></td> 
</tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr> 
	<td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
	<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>
<!-- Start add - Fully integrated shoutbox MOD -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline"> 
      <tr> 
         <td align="center" nowrap="nowrap" class="catHead"><span class="cattitle"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td> 
      </tr> 
      <tr>
         <td> 
          <iframe src="{U_SHOUTBOX}" scrolling="NO" width="100%" height="180" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe> 
         </td> 
  </tr> 
</table>
</br>
<!-- End add - Fully integrated shoutbox MOD -->

<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr> 
	<td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  </tr>
  <tr> 
	<td class="row1" align="center" valign="middle" rowspan="5"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}"/></td>
	<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS};&nbsp;&nbsp;&nbsp;{TOTAL_USERS}<br /><b>已公佈性別的會員人數:</b> {TOTAL_FEMALE} {TOTAL_MALE}<br />{NEWEST_USER}<br /></span>
	</td>
  </tr>
  <!-- Start add - Last visit MOD -->
<tr> 
	<td class="row1" align="left"><span class="gensmall">{L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />{USERS_TODAY_LIST}</br></span></td>    
</tr> 
<!-- Start add - Last visit MOD -->
  <tr> 
	<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}&nbsp;[{L_ICON_EXPLAIN_ADMIN}] - [{L_WHOSONLINE_ADMIN}]&nbsp;[{L_ICON_EXPLAIN_MOD}] -  [{L_WHOSONLINE_MOD}]&nbsp;[{L_ICON_EXPLAIN_MEMBER}] -  [{L_WHOSONLINE_MEMBER}]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
  <!-- ChatSpot MOD -->
	<tr>
		<td class="row1" align="left"><span class="gensmall">{CHATSPOT_IDENTIFICATION}<br />{TOTAL_CHATTERS_ONLINE}&nbsp;&nbsp;&nbsp;
		<!-- BEGIN switch_user_logged_out -->
		[ {L_LOGIN_TO_JOIN_CHAT} ]
		<!-- END switch_user_logged_out -->
		<!-- BEGIN switch_user_logged_in -->
		[ <a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATSPOT_NAME}','scrollbars=no,resizable=yes,width=640,height=550')">{L_CLICK_TO_JOIN_CHAT}</a> ]
		<!-- END switch_user_logged_in -->
		<br />{CHATTERS_LIST}
		</span>
		</td>
	</tr>
	<!-- End of ChatSpot MOD -->
  <!-- Start add - Birthday MOD -->
  <tr>
	<td class="row1" align="left"><span class="gensmall">{L_WHOSBIRTHDAY_TODAY}<br />{L_WHOSBIRTHDAY_WEEK}</span></td>
  </tr>
<!-- End add - Birthday MOD -->
  
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
	<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
	<tr> 
	  <td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
	</tr>
	<tr> 
	  <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}: 
		<input class="post" type="text" name="username" size="10" />
		&nbsp;&nbsp;&nbsp;{L_PASSWORD}: 
		<input class="post" type="password" name="password" size="10" maxlength="32" />
		&nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN} 
		<input class="text" type="checkbox" name="autologin" />
		&nbsp;&nbsp;&nbsp; 
		<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
		</span> </td>
	</tr>
  </table>
</form>
<!-- END switch_user_logged_out -->
<br clear="all" />
<table cellspacing="3" border="0" align="center" cellpadding="0">
  <tr> 
	<td width="20" align="center"><img src="templates/subSilver/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
	<td><span class="gensmall">{L_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center"><img src="templates/subSilver/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center"><img src="templates/subSilver/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
	<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>

發表於 : 2005-05-11 11:04
心靈捕手
To pcrick:
查看您的 index_body.tpl 後
發現您似乎有加裝兩個聊天室?

建議您:
先將 Fully integrated shoutbox MOD 移走,
再將" 倒數計時" 加入最上頭,
如果運行正常的話,
那麼應該就是與該外掛有相衝.

另外, 發現有一個小錯誤, 請修正. 如下:

代碼: 選擇全部

#
#-----[ Find ]-----
#
  <!-- Start add - Last visit MOD --> 
<tr> 
   <td class="row1" align="left"><span class="gensmall">{L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />{USERS_TODAY_LIST}</br></span></td>    
</tr> 
<!-- Start add - Last visit MOD --> 

#
#-----[ Replace With ]-----
#
  <!-- Start add - Last visit MOD --> 
<tr> 
   <td class="row1" align="left"><span class="gensmall">{L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />{USERS_TODAY_LIST}</br></span></td>    
</tr> 
<!-- End add - Last visit MOD --> 
最後, 推薦您:
試裝另外一個倒數計時的外掛 Digital Countdown MOD
它是以新增一個網頁的方式, 呈現倒數計時, 比較不會受到其他外掛的影響.

外掛下載:
http://www.phpbbhacks.com/download/2260

發表於 : 2005-05-20 23:15
pcrick
非常感謝心靈捕手網友的建議!!!
自己花了一段時間一個一個試,但似乎還是無法放在最上方,所以只好暫時放在中間了!!!
P.S:謝謝您提供的外掛,我安裝過了!必須要在按一個連結才會出現!無法直接出現,有點遺憾! :cry: