架設主機作業系統:Windows Xp Home
快速架站程式:Appserv
您的上網方式:ADSL
您安裝的程式:Apache + php + MySql (我是安裝 appserv-win32-2.4.7)
您的 phpBB2 版本=> phpBB 2.0.22 + 水晶圖案 +勳章 0.4.6
參考外掛連結:http://phpbb-tw.net/phpbb/viewtopic.php ... 6%E5%8D%80 (Attached forums子分區 - 比簡易子版區還簡易哦)
外掛安裝過程順利
請問 該如何修正 子分區 的圖案大小呢?? 他歪了 ...
就是 他新增的板面 想跟 普通的一樣 (對齊)
[問題]嚴重問題 Attached forums子分區 有附上圖 請幫忙
版主: 版主管理群
[問題]嚴重問題 Attached forums子分區 有附上圖 請幫忙
最後由 t54185 於 2007-01-22 13:54 編輯,總共編輯了 1 次。
自行研究解決了
打開 templates\subSilver\viewforum_body
尋找 <!-- BEGIN switch_attached_list -->
將全部
取代
<!-- BEGIN switch_attached_list -->
<br />
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="20" nowrap="nowrap"> {switch_attached_list.L_ATTACHED_FORUM} </th>
<th class="thTop" nowrap="nowrap"> {switch_attached_list.L_ATTACHED_TOPICS} </th>
<th class="thTop" nowrap="nowrap"> {switch_attached_list.L_ATTACHED_POSTS} </th>
<th class="thTop" nowrap="nowrap"> {switch_attached_list.L_LAST_POST} </th>
</tr>
<!-- BEGIN switch_attached_present -->
<tr>
<td class="row1" align="center" valign="middle" height="30"><img src="{switch_attached_list.switch_attached_present.FORUM_FOLDER_IMG}" alt="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" title="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="75%"><span class="forumlink"><a class="forumlink" href="{switch_attached_list.switch_attached_present.U_VIEWFORUM}">{switch_attached_list.switch_attached_present.FORUM_NAME}</a></span><br /><span class="genmed">{switch_attached_list.switch_attached_present.FORUM_DESC}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.TOPICS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.POSTS}</span></td>
<td class="row2" align="center" nowrap="nowrap" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.LAST_POST_ID}</span></td>
</tr>
<!-- END switch_attached_present -->
</table>
<br />
<!-- END switch_attached_list -->
完工 全部正常顯示 !! 圖片大小 文字欄位 通通搞定 呵呵~~~
第一次自己修改
請各位大大 幫我看看 我這樣自己修改的對不對 因為我自己的板 顯示正常
怕有錯誤 或者 BUG
請多指導~~
打開 templates\subSilver\viewforum_body
尋找 <!-- BEGIN switch_attached_list -->
將全部
取代
<!-- BEGIN switch_attached_list -->
<br />
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="20" nowrap="nowrap"> {switch_attached_list.L_ATTACHED_FORUM} </th>
<th class="thTop" nowrap="nowrap"> {switch_attached_list.L_ATTACHED_TOPICS} </th>
<th class="thTop" nowrap="nowrap"> {switch_attached_list.L_ATTACHED_POSTS} </th>
<th class="thTop" nowrap="nowrap"> {switch_attached_list.L_LAST_POST} </th>
</tr>
<!-- BEGIN switch_attached_present -->
<tr>
<td class="row1" align="center" valign="middle" height="30"><img src="{switch_attached_list.switch_attached_present.FORUM_FOLDER_IMG}" alt="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" title="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="75%"><span class="forumlink"><a class="forumlink" href="{switch_attached_list.switch_attached_present.U_VIEWFORUM}">{switch_attached_list.switch_attached_present.FORUM_NAME}</a></span><br /><span class="genmed">{switch_attached_list.switch_attached_present.FORUM_DESC}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.TOPICS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.POSTS}</span></td>
<td class="row2" align="center" nowrap="nowrap" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.LAST_POST_ID}</span></td>
</tr>
<!-- END switch_attached_present -->
</table>
<br />
<!-- END switch_attached_list -->
完工 全部正常顯示 !! 圖片大小 文字欄位 通通搞定 呵呵~~~
第一次自己修改
請各位大大 幫我看看 我這樣自己修改的對不對 因為我自己的板 顯示正常
怕有錯誤 或者 BUG
請多指導~~
最後由 t54185 於 2007-01-22 13:58 編輯,總共編輯了 1 次。
這個方法只能 '治標' 無法 '治本'.t54185 寫:全部自行修改完畢 此篇可給跟我相同問題的人參考
打開MOD 的安裝說明
尋找
if (strlen($forum_data[$j]['topic_title'])>=25)
{
$forum_data[$j]['topic_title']=substr($forum_data[$j]['topic_title'],0,25). "...";
}
將說明內 共有 4 處 25 修改成 21
再將語法安裝
即可修正中文截碼問題 !!
phpbb 2.0.22 已經正常顯示 !!
建議您:
參考此篇文章修正.
http://phpbb-tw.net/phpbb/viewtopic.php?p=218078#218078
ps.
這個修正, 需要啟用 'mbstring模組'.
已成功 多謝指導心靈捕手 寫:這個方法只能 '治標' 無法 '治本'.t54185 寫:全部自行修改完畢 此篇可給跟我相同問題的人參考
打開MOD 的安裝說明
尋找
if (strlen($forum_data[$j]['topic_title'])>=25)
{
$forum_data[$j]['topic_title']=substr($forum_data[$j]['topic_title'],0,25). "...";
}
將說明內 共有 4 處 25 修改成 21
再將語法安裝
即可修正中文截碼問題 !!
phpbb 2.0.22 已經正常顯示 !!
建議您:
參考此篇文章修正.
http://phpbb-tw.net/phpbb/viewtopic.php?p=218078#218078
ps.
這個修正, 需要啟用 'mbstring模組'.
目前在研究"下載中心",發生了某些問題
我會在另外PO文發問,也請再次多多指導
謝謝~~