phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)
版主: 版主管理群
-
askaitski
- 星球公民
- 文章: 38
- 註冊時間: 2004-12-14 04:01
文章
由 askaitski »
問題外掛:MM簡易精華區 1.0.0
參考連結:
http://phpbb-tw.net/phpbb/viewtopic.php?t=30975
使用版本:phpBB 2.0.11
網站位置:localhost
說明文件有幾個地方看不懂:
第一:一開始的地方看不懂要怎麼做
代碼: 選擇全部
執行SQL
ALTER TABLE `phpbb_topics` ADD `topic_elite` TINYINT( 1 ) NOT NULL ;
第二:
代碼: 選擇全部
打開 templates/your_template/viewforum_body.tpl
找到\r
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a>
後面加上
<span class="gensmall"><a href="{U_VIEW_FORUM_ELITE}">[{L_ELITE}]</a></span>
找到\r
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
後面加上
{topicrow.TOPIC_ELITED}
上面兩個地方我找不到呢,不知道要加在何處?
我的viewforum_body.tpl CODE
代碼: 選擇全部
<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"></td>
<td height="17"></td>
</tr>
<td class="tbnbot"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span> » <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
<td class="tbnr"><img src="images/spacer.gif" alt="" width="39" height="22" /></td>
</tr>
</table>
<br />
<!-- 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"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<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="100%"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></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 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%" cellspacing="2" border="0" align="center" cellpadding="2">
<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" 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="1" cellpadding="0">
<tr>
<td align="right">{JUMPBOX}</td>
</tr>
</table>
<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" align="absmiddle" /></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table>
<table width="100%" cellspacing="1" border="0" align="center" cellpadding="0" class="forumline">
<tr>
<td align="left" valign="top" width="100%" class="row1">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="row1" width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
<td class="row1">{L_NEW_POSTS}</td>
<td class="row1"> </td>
<td class="row1" width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
<td class="row1">{L_NO_NEW_POSTS}</td>
<td class="row1"> </td>
<td class="row1" width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" /></td>
<td class="row1">{L_ANNOUNCEMENT}</td>
</tr>
<tr>
<td class="row1" width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" /></td>
<td class="row1">{L_NEW_POSTS_HOT}</td>
<td class="row1"> </td>
<td class="row1" width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" /></td>
<td class="row1">{L_NO_NEW_POSTS_HOT}</td>
<td class="row1"> </td>
<td class="row1" width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" /></td>
<td class="row1">{L_STICKY}</td>
</tr>
<tr>
<td class="row1"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" /></td>
<td class="row1">{L_NEW_POSTS_LOCKED}</td>
<td class="row1"> </td>
<td class="row1"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" /></td>
<td class="row1">{L_NO_NEW_POSTS_LOCKED}</td>
<td class="row1"> </td>
<td class="row1"> </td>
<td class="row1"> </td>
</tr>
</table>
</td>
<td class="row1" align="right" valign="top" width="250" nowrap="nowrap"><span class="gensmall">{S_AUTH_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>
感謝大家的幫忙!!叩首!!再拜!!
-
gaokai
- 星球公民
- 文章: 31
- 註冊時間: 2004-06-28 15:25
文章
由 gaokai »
<td class="tbnbot"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span> » <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
<td class="tbnr"><img src="images/spacer.gif" alt="" width="39" height="22" /></td>
</tr>
風格不同,凡是修改風格的地方,你只需要找{}中的關鍵字就行了,然後根據你的風格來修改。
-
Martinet
- 竹貓忠實會員
- 文章: 850
- 註冊時間: 2003-06-09 21:58
-
聯繫:
文章
由 Martinet »
不是 版面管理台啦\r
是看文章那邊
若有裝快速回覆的話,就是在快速回覆那附近
-
askaitski
- 星球公民
- 文章: 38
- 註冊時間: 2004-12-14 04:01
文章
由 askaitski »
..........原來是這樣阿.............
哈哈哈 感謝M大
-
askaitski
- 星球公民
- 文章: 38
- 註冊時間: 2004-12-14 04:01
文章
由 askaitski »
gaokai 寫:<td class="tbnbot"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span> » <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
<td class="tbnr"><img src="images/spacer.gif" alt="" width="39" height="22" /></td>
</tr>
風格不同,凡是修改風格的地方,你只需要找{}中的關鍵字就行了,然後根據你的風格來修改。
不知道我這樣修改對嗎?
<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"></td>
<td height="17"></td>
</tr>
<td class="tbnbot"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span> » <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a> {topicrow.TOPIC_ELITED}</span></td>
<td class="tbnr"><img src="images/spacer.gif" alt="" width="39" height="22" /></td>
</tr>
</table>
<br />
<!-- 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> <span class="gensmall"><a href="{U_VIEW_FORUM_ELITE}">[{L_ELITE}]</a></span><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<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="100%"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></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 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%" cellspacing="2" border="0" align="center" cellpadding="2">
<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" 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="1" cellpadding="0">
<tr>
<td align="right">{JUMPBOX}</td>
</tr>
</table>
<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" align="absmiddle" /></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table>
<table width="100%" cellspacing="1" border="0" align="center" cellpadding="0" class="forumline">
<tr>
<td align="left" valign="top" width="100%" class="row1">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="row1" width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
<td class="row1">{L_NEW_POSTS}</td>
<td class="row1"> </td>
<td class="row1" width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
<td class="row1">{L_NO_NEW_POSTS}</td>
<td class="row1"> </td>
<td class="row1" width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" /></td>
<td class="row1">{L_ANNOUNCEMENT}</td>
</tr>
<tr>
<td class="row1" width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" /></td>
<td class="row1">{L_NEW_POSTS_HOT}</td>
<td class="row1"> </td>
<td class="row1" width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" /></td>
<td class="row1">{L_NO_NEW_POSTS_HOT}</td>
<td class="row1"> </td>
<td class="row1" width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" /></td>
<td class="row1">{L_STICKY}</td>
</tr>
<tr>
<td class="row1"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" /></td>
<td class="row1">{L_NEW_POSTS_LOCKED}</td>
<td class="row1"> </td>
<td class="row1"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" /></td>
<td class="row1">{L_NO_NEW_POSTS_LOCKED}</td>
<td class="row1"> </td>
<td class="row1"> </td>
<td class="row1"> </td>
</tr>
</table>
</td>
<td class="row1" align="right" valign="top" width="250" nowrap="nowrap"><span class="gensmall">{S_AUTH_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>
-
Martinet
- 竹貓忠實會員
- 文章: 850
- 註冊時間: 2003-06-09 21:58
-
聯繫:
文章
由 Martinet »
改錯了
請仔細檢查\r
還有 , & 或 & 都行
用 & 吧
-
askaitski
- 星球公民
- 文章: 38
- 註冊時間: 2004-12-14 04:01
文章
由 askaitski »
Orz
因為我的viewforum_body.tpl程式碼找不到說明檔最後兩個步驟所說的
並不知道要改那個地方\r
請大大好人做到底 教我一下要如何改\r
謝謝
-
友誼第一
文章
由 友誼第一 »
救命...這個外掛沒依官方格式,沒辦法用EasyMOD安裝,看來我要改到死了...
-
minka
- 星球普通子民
- 文章: 18
- 註冊時間: 2005-01-12 20:00
文章
由 minka »
友誼第一 寫:救命...這個外掛沒依官方格式,沒辦法用EasyMOD安裝,看來我要改到死了...
請問我想將PHPBB上的留言轉錄到所謂的精華區或轉到不同版區,就是使用上者MM簡易精華區嗎?
-
DL
- 竹貓忠實會員
- 文章: 717
- 註冊時間: 2005-03-05 15:29
文章
由 DL »
minka 寫:友誼第一 寫:救命...這個外掛沒依官方格式,沒辦法用EasyMOD安裝,看來我要改到死了...
請問我想將PHPBB上的留言轉錄到所謂的精華區或轉到不同版區,就是使用上者MM簡易精華區嗎?
不需要外掛
-
minka
- 星球普通子民
- 文章: 18
- 註冊時間: 2005-01-12 20:00
文章
由 minka »
DL 寫:[quote="minka
不需要外掛
請問如何轉錄呀