[版面]Board Message MOD (解決)

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

版主: 版主管理群

主題已鎖定
。。鳳凰寺 風。。
星球公民
星球公民
文章: 91
註冊時間: 2004-09-17 04:48
聯繫:

[版面]Board Message MOD (解決)

文章 。。鳳凰寺 風。。 »

問題外掛:Board Message MOD 1.0.6
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php ... essage+MOD
使用版本:phpBB 2.0.10
網站位置:http://mcj0919.why3s.org/phpbb/index.php
狀況描述:
其實這也不是外掛問題,我只是想知道如何把看板的版面變的比較好看點~~
請問要如何將這紅框裡的橫條
圖檔
變成這一條呢?
圖檔
還有就是要怎麼把版面拉寬~~
圖檔
我知道要去改index_body.tpl跟overall_header.tpl,只是我還不太知道怎麼改= =?

下面是我改過的index_body.tpl跟overall_header.tpl,請各位大大可以幫我看一下嗎?(紅字是我加進去的~~)
這篇是index_body.tpl

代碼: 選擇全部

<table border="0" cellpadding="0" cellspacing="0" class="tbn">
<tr>
<td class="tbnl" rowspan="3"><img src="images/spacer.gif" alt="" width="76" height="39" /></td>
<td height="17" align="right" colspan="2"><span class="nav"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></td>
</tr>
<td class="tbnbot">
<span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
</td>
<td class="tbnr"><img src="images/spacer.gif" alt="" width="39" height="22" /></td>
</tr>
</table>
<br />
[color=red]<!-- BEGIN switch_enable_board_msg_index -->
<center> 
<table border="0" class="forumline"> 
  <tr> 
   <th colspan="3" class="thCornerL" height="25" nowrap="nowrap"> {L_BOARD_MSG} </th> 
\n  </tr> 
  <tr> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
   <td class="row1"><span class="gen">{BOARD_MSG}</a></span></td> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
  </tr> 
</table> 
      <br /> 
</center> 
<!-- END switch_enable_board_msg_index -->[/color]
<table width="100%" cellspacing="1" 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 />{S_TIMEZONE}</span></td>
	<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>

<!-- BEGIN catrow -->
<table border="0" cellpadding="0" cellspacing="0" class="tbt"><tr><td class="tbtl"><img src="images/spacer.gif" alt="" width="22" height="22" /></td><td class="tbtbot"><b></b><span class="gen"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">
  <tr> 
	<th colspan="2" height="22" nowrap="nowrap"> {L_FORUM} </th>
	<th width="50" nowrap="nowrap"> {L_TOPICS} </th>
	<th width="50" nowrap="nowrap"> {L_POSTS} </th>
	<th nowrap="nowrap"> {L_LASTPOST} </th>
  </tr>
  <!-- BEGIN forumrow -->
  <tr> 
	<td class="row1" align="center" valign="middle"><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" width="100%"><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="row1" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row1" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row1" width="160" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
  <!-- END catrow -->

<table border="0" cellpadding="0" cellspacing="0" class="tbt"><tr><td class="tbtl"><img src="images/spacer.gif" alt="" width="22" height="22" /></td><td class="tbtbot"><span class="gen"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr> 
	<td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/iCGstation/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
	<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
	</td>
  </tr>
  <tr> 
	<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}   [ {L_WHOSONLINE_ADMIN} ]   [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></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 border="0" cellpadding="0" cellspacing="0" class="tbt"><tr><td class="tbtl"><img src="images/spacer.gif" alt="" width="22" height="22" /></td><td class="tbtbot"><img src="images/spacer.gif" alt="" width="8" height="22" /></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table>
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
	<tr> 
	  <td class="cat" 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" />
		   {L_PASSWORD}: 
		<input class="post" type="password" name="password" size="10" maxlength="32" />
		     {L_AUTO_LOGIN} 
		<input class="text" type="checkbox" name="autologin" />
		    
		<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
		</span> </td>
	</tr>
  </table>
  <table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></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/iCGstation/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
	<td><span class="gensmall">{L_NEW_POSTS}</span></td>
	<td>  </td>
	<td width="20" align="center"><img src="templates/iCGstation/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
	<td>  </td>
	<td width="20" align="center"><img src="templates/iCGstation/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
	<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>
然後這篇是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/iCGstation/{T_HEAD_STYLESHEET}" type="text/css" -->
<STYLE>
<!--
Rainbow Text- By Chris Rickard (chris.rickard@paccoast.com)
-->
.rainbow{ behavior:url(rainbow.htc) }
</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 -->
</head>
<body>

<a name="top"></a>
<table width="760" cellpadding="0" cellspacing="0" border="0" align="center">
  <tr> 
	<td width="10" nowrap="nowrap" class="lefttd"></td>
	<td width="740">
		<table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">
			<tr> 
				<!-- BEGIN switch_user_logged_out -->
				<td class="row2" width="100%" align="center">
				<form method="post" action="{S_LOGIN_ACTION}">
				<img src="templates/iCGstation/images/login_logo.gif" border="0" alt="{L_LOGIN}" align="absmiddle" /><img src="templates/iCGstation/images/username.gif" border="0" alt="{L_USERNAME}" align="absmiddle" /><input type="text" name="username" size="10" /><img src="templates/iCGstation/images/password.gif" border="0" alt="{L_PASSWORD}" align="absmiddle" /><input type="password" name="password" size="10" maxlength="32" /><br />{L_AUTO_LOGIN} <input class="text" type="checkbox" name="autologin" />   <input type="hidden" name="submit" value="{L_LOGIN}"><input type="hidden" name="login" value="{L_LOGIN}"><input type="submit" name="login" value="{L_LOGIN}"/></td>
				</form></td>
				<td class="row2" width="150" nowrap="nowrap" align="center"><img src="templates/iCGstation/images/icon/icon_register.gif" border="0" alt="{L_REGISTER}" align="absmiddle" /><br /><a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a></td>
				<!-- END switch_user_logged_out -->
				<!-- BEGIN switch_user_logged_in -->
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_faq.gif" border="0" alt="{L_FAQ}" align="absmiddle" /><br /><a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a></td>
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_search.gif" border="0" alt="{L_SEARCH}" align="absmiddle" /><br /><a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a></td>
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_memberlist.gif" border="0" alt="{L_MEMBERLIST}" align="absmiddle" /><br /><a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a></td>
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_group.gif" border="0" alt="{L_USERGROUPS}" align="absmiddle" /><br /><a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a></td>
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_profile.gif" border="0" alt="{L_PROFILE}" align="absmiddle" /><br /><a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a></td>
				<td class="row2" width="150" nowrap="nowrap" align="center"><img src="templates/iCGstation/images/icon/icon_login.gif" border="0" alt="{L_LOGIN_LOGOUT}" align="absmiddle" /><br /><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a></td>
				<!-- END switch_user_logged_in -->
				<td class="row2" width="150" nowrap="nowrap" align="center"><img src="templates/iCGstation/images/icon/icon_pm.gif" border="0" alt="{PRIVATE_MESSAGE_INFO}" align="absmiddle" /><br /><a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a></td>
			</tr>
		</table>
		<table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr> 
				<td width="100%" valign="middle"><a href="{U_INDEX}"><img src="templates/iCGstation/images/banner.jpg" border="0" /></a></td>
			</tr>
			<tr> 
				<td width="100%" class="navpic">  <span class="maintitle">{SITENAME}</span><span class="maintitle"> - {SITE_DESCRIPTION}</span></td>
			</tr>
		</table>
		<table width="100%" cellspacing="10" cellpadding="0" border="0">
			<tr>
				<td align="center" width="100%" valign="middle">
[color=red]<!-- BEGIN switch_enable_board_msg --> 
      <br /> 
<center> 
<table border="0" class="forumline"> 
  <tr> 
   <th colspan="3" class="thCornerL" height="25" nowrap="nowrap"> {L_BOARD_MSG} </th> 
  </tr> 
  <tr> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
   <td class="row1"><span class="gen">{BOARD_MSG}</a></span></td> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
  </tr> 
</table> 
</center> 
<!-- END switch_enable_board_msg -->[/color]
最後由 。。鳳凰寺 風。。 於 2004-11-22 09:35 編輯,總共編輯了 3 次。
如果驕傲沒被現實大海冷冷拍響,又怎會懂得要多努力才走得到遠方;
如果夢想不曾墜落懸崖千均一髮,又怎會曉得執著的人擁有隱形翅膀。
carlos523
星球公民
星球公民
文章: 87
註冊時間: 2004-08-24 16:21
來自: 台北
聯繫:

文章 carlos523 »

把你加進去index.tlp紅色那段<table>到</table>尾換成這段試試...我不保證可以...剛剛測試了一下大致是相同的

代碼: 選擇全部

<table border="0" class="forumline" width="100%"> 
  <tr><td colspan="3"> 
<table border="0" cellpadding="0" cellspacing="0" class="tbt"><tr><td class="tbtl"><img src="images/spacer.gif" alt="" width="22" height="22" /></td><td class="tbtbot"><b></b><span class="gen">{L_BOARD_MSG}</span></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table>
   </td> 
  </tr> 
  <tr> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
   <td class="row1"><span class="gen">{BOARD_MSG}</a></span></td> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
  </tr> 
</table>
。。鳳凰寺 風。。
星球公民
星球公民
文章: 91
註冊時間: 2004-09-17 04:48
聯繫:

文章 。。鳳凰寺 風。。 »

謝謝你
我照你的改了,它是有拉寬也有換到橫條了
但是她橫條的下方有個陰影QQ"
那個要怎麼拿掉?
圖檔
如果驕傲沒被現實大海冷冷拍響,又怎會懂得要多努力才走得到遠方;
如果夢想不曾墜落懸崖千均一髮,又怎會曉得執著的人擁有隱形翅膀。
。。鳳凰寺 風。。
星球公民
星球公民
文章: 91
註冊時間: 2004-09-17 04:48
聯繫:

文章 。。鳳凰寺 風。。 »

我剛剛自己稍微給他改了一下,
結果沒想到給我隨便改了一下,就給我改出來了,
呵呵呵~~好高興喔^^
感謝carlos523的幫忙^^
我把原本的index.tpl跟overall_header.tpl裡面要改的這個

代碼: 選擇全部

<!-- BEGIN switch_enable_board_msg_index --> 
<center> 
<table border="0" class="forumline"> 
  <tr> 
   <th colspan="3" class="thCornerL" height="25" nowrap="nowrap"> {L_BOARD_MSG} </th> 
  </tr> 
  <tr> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
   <td class="row1"><span class="gen">{BOARD_MSG}</a></span></td> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
  </tr> 
</table> 
      <br /> 
</center> 

<!-- END switch_enable_board_msg_index -->
把它換成這個了

代碼: 選擇全部

<!-- BEGIN switch_enable_board_msg --> 
      <br /> 
<center> 
  <tr><td colspan="3"> 
<table border="0" cellpadding="0" cellspacing="0" class="tbt"><tr><td class="tbtl"><img src="images/spacer.gif" alt="" width="22" height="22" /></td><td class="tbtbot"><b></b><span class="gen">{L_BOARD_MSG}</span></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table> 
<table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">
</td> 
  </tr> 
  <tr> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
   <td class="row1"><span class="gen">{BOARD_MSG}</a></span></td> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
  </tr> 
</table> 
</center> 
<!-- END switch_enable_board_msg -->
如果驕傲沒被現實大海冷冷拍響,又怎會懂得要多努力才走得到遠方;
如果夢想不曾墜落懸崖千均一髮,又怎會曉得執著的人擁有隱形翅膀。
。。鳳凰寺 風。。
星球公民
星球公民
文章: 91
註冊時間: 2004-09-17 04:48
聯繫:

文章 。。鳳凰寺 風。。 »

很抱歉~我剛剛又開到一個問題
因為這外掛的看板 它可以選擇只顯示到首頁 或者全部版面都可以看
但是我剛剛選擇只顯示在首頁時,框架好像怪怪的
如圖
圖檔

然後這是顯示在全部版面的時候,他的框架是正常的
如圖
圖檔

這是我修改過的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}
\n<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/iCGstation/{T_HEAD_STYLESHEET}" type="text/css" -->
<STYLE>
<!--
Rainbow Text- By Chris Rickard (chris.rickard@paccoast.com)
-->
.rainbow{ behavior:url(rainbow.htc) }
</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 -->
</head>
<body>

<a name="top"></a>
<table width="760" cellpadding="0" cellspacing="0" border="0" align="center">
  <tr> 
	<td width="10" nowrap="nowrap" class="lefttd"></td>
	<td width="740">
		<table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">
			<tr> 
				<!-- BEGIN switch_user_logged_out -->
				<td class="row2" width="100%" align="center">
				<form method="post" action="{S_LOGIN_ACTION}">
				<img src="templates/iCGstation/images/login_logo.gif" border="0" alt="{L_LOGIN}" align="absmiddle" /><img src="templates/iCGstation/images/username.gif" border="0" alt="{L_USERNAME}" align="absmiddle" /><input type="text" name="username" size="10" /><img src="templates/iCGstation/images/password.gif" border="0" alt="{L_PASSWORD}" align="absmiddle" /><input type="password" name="password" size="10" maxlength="32" /><br />{L_AUTO_LOGIN} <input class="text" type="checkbox" name="autologin" />   <input type="hidden" name="submit" value="{L_LOGIN}"><input type="hidden" name="login" value="{L_LOGIN}"><input type="submit" name="login" value="{L_LOGIN}"/></td>
				</form></td>
				<td class="row2" width="150" nowrap="nowrap" align="center"><img src="templates/iCGstation/images/icon/icon_register.gif" border="0" alt="{L_REGISTER}" align="absmiddle" /><br /><a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a></td>
				<!-- END switch_user_logged_out -->
				<!-- BEGIN switch_user_logged_in -->
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_faq.gif" border="0" alt="{L_FAQ}" align="absmiddle" /><br /><a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a></td>
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_search.gif" border="0" alt="{L_SEARCH}" align="absmiddle" /><br /><a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a></td>
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_memberlist.gif" border="0" alt="{L_MEMBERLIST}" align="absmiddle" /><br /><a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a></td>\r
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_group.gif" border="0" alt="{L_USERGROUPS}" align="absmiddle" /><br /><a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a></td>
				<td class="row2" width="20%" align="center"><img src="templates/iCGstation/images/icon/icon_profile.gif" border="0" alt="{L_PROFILE}" align="absmiddle" /><br /><a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a></td>
				<td class="row2" width="150" nowrap="nowrap" align="center"><img src="templates/iCGstation/images/icon/icon_login.gif" border="0" alt="{L_LOGIN_LOGOUT}" align="absmiddle" /><br /><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a></td>
				<!-- END switch_user_logged_in -->
				<td class="row2" width="150" nowrap="nowrap" align="center"><img src="templates/iCGstation/images/icon/icon_pm.gif" border="0" alt="{PRIVATE_MESSAGE_INFO}" align="absmiddle" /><br /><a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a></td>
			</tr>
		</table>
		<table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr> 
				<td width="100%" valign="middle"><a href="{U_INDEX}"><img src="templates/iCGstation/images/banner.jpg" border="0" /></a></td>
			</tr>
			<tr> 
				<td width="100%" class="navpic">  <span class="maintitle">{SITENAME}</span><span class="maintitle"> - {SITE_DESCRIPTION}</span></td>
			</tr>
		</table>
		<table width="100%" cellspacing="10" cellpadding="0" border="0">
			<tr>
				<td align="center" width="100%" valign="middle">
[color=red]<!-- BEGIN switch_enable_board_msg --> 
      <br /> 
<center> 
  <tr><td colspan="3"> 
<table border="0" cellpadding="0" cellspacing="0" class="tbt"><tr><td class="tbtl"><img src="images/spacer.gif" alt="" width="22" height="22" /></td><td class="tbtbot"><b></b><span class="gen">{L_BOARD_MSG}</span></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table> 
<table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">
</td> 
  </tr> 
  <tr> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
   <td class="row1"><span class="gen">{BOARD_MSG}</a></span></td> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
  </tr> 
</table> 
</center> 
<!-- END switch_enable_board_msg -->[/color]
是不是我哪一點改錯了?
如果驕傲沒被現實大海冷冷拍響,又怎會懂得要多努力才走得到遠方;
如果夢想不曾墜落懸崖千均一髮,又怎會曉得執著的人擁有隱形翅膀。
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8547
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

關於您第一篇文章的問題,
我有點疑惑: :-?

1. 當您要從後台新增看板時候, 不是可以設定看板的寬度嗎?
2. 我只有安裝 1.0.5 版
您標明紅字的地方\r
它主要是寫入 overall_header.tpl
並沒有寫入 index_body.tpl

試想:
假如您的看板是要在首頁顯示的話,
那麼首頁不就會跑出兩個看板嗎?
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
carlos523
星球公民
星球公民
文章: 87
註冊時間: 2004-08-24 16:21
來自: 台北
聯繫:

文章 carlos523 »

。。鳳凰寺 風。。 寫:很抱歉~我剛剛又開到一個問題
因為這外掛的看板 它可以選擇只顯示到首頁 或者全部版面都可以看
但是我剛剛選擇只顯示在首頁時,框架好像怪怪的
恕刪-------
是不是我哪一點改錯了?
我不知道選擇顯示在首頁或全部版面的改法...沒裝過這個MOD
照理說...顯示在全部應該是改 overall_header.tpl
而顯示在首頁應該是index_body.tpl

這段錯誤應該是在overall_header.tpl 最尾端少了一個</tr>
<!-- BEGIN switch_enable_board_msg -->

前面加入\r
</tr>

但是加進去又不知道會有何影響...
你可以查看一下overall_header.tpl 加入的那段改過了什麼\r
跟原本不一樣的地方\r
檢查看看吧...
。。鳳凰寺 風。。
星球公民
星球公民
文章: 91
註冊時間: 2004-09-17 04:48
聯繫:

文章 。。鳳凰寺 風。。 »

我用過了,但是還是不行耶~~
而且我這個檔案根本沒加入什麼東西,除了這個外掛QQ
如果驕傲沒被現實大海冷冷拍響,又怎會懂得要多努力才走得到遠方;
如果夢想不曾墜落懸崖千均一髮,又怎會曉得執著的人擁有隱形翅膀。
carlos523
星球公民
星球公民
文章: 87
註冊時間: 2004-08-24 16:21
來自: 台北
聯繫:

文章 carlos523 »

你的 index_body.tpl 中\r
把紅色那段拿掉看看..

代碼: 選擇全部

<!-- BEGIN switch_enable_board_msg_index -->
<br />
<center> 
[color=red]<table border="0" width="100%"> 
  <tr><td colspan="3">[/color] 
<table border="0" cellpadding="0" cellspacing="0" class="tbt"><tr><td class="tbtl"><img src="images/spacer.gif" alt="" width="22" height="22" /></td><td class="tbtbot"><b></b><span class="gen">{L_BOARD_MSG}</span></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table> 
  <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">
 </td> 
  </tr> 
  <tr> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
   <td class="row1"><span class="gen">{BOARD_MSG}</a></span></td> 
   <td class="row1"><img src="{BOARD_MSG_IMG}" /></td> 
  </tr> 
</table> 
      <br />
</center> 
<!-- END switch_enable_board_msg_index -->
。。鳳凰寺 風。。
星球公民
星球公民
文章: 91
註冊時間: 2004-09-17 04:48
聯繫:

文章 。。鳳凰寺 風。。 »

感謝你的幫忙^^
我把紅色那段拿到就行了
辛苦你了~~
如果驕傲沒被現實大海冷冷拍響,又怎會懂得要多努力才走得到遠方;
如果夢想不曾墜落懸崖千均一髮,又怎會曉得執著的人擁有隱形翅膀。
。。鳳凰寺 風。。
星球公民
星球公民
文章: 91
註冊時間: 2004-09-17 04:48
聯繫:

文章 。。鳳凰寺 風。。 »

心靈捕手 寫:關於您第一篇文章的問題,
我有點疑惑: :-?

1. 當您要從後台新增看板時候, 不是可以設定看板的寬度嗎?
2. 我只有安裝 1.0.5 版
您標明紅字的地方\r
它主要是寫入 overall_header.tpl
並沒有寫入 index_body.tpl

試想:
假如您的看板是要在首頁顯示的話,
那麼首頁不就會跑出兩個看板嗎?
我的是1.0.6,所以我就不知道1.0.5是如何改的,
不過他後台是不能設定看板寬度,但是它可以選擇顯示在"首頁"或"所有版面",
比如說 我如果選擇"首頁"的話,他會去讀overall_header.tpl;那如果選"所有版面"的話,他就會去讀index_body.tpl,
這樣的話,並不會出現兩個看板了
不知道我這樣說明 你懂嗎?
如果驕傲沒被現實大海冷冷拍響,又怎會懂得要多努力才走得到遠方;
如果夢想不曾墜落懸崖千均一髮,又怎會曉得執著的人擁有隱形翅膀。
主題已鎖定

回到「外掛問題討論」