鳥站您架的論壇標題列區塊的變色是用下面兩種方法的哪一種阿?
http://phpbb-tw.net/phpbb/viewtopic.php?t=20076
http://phpbb-tw.net/phpbb/viewtopic.php?t=12138
如果是後者,因為我是跟鳥站一樣都是用iCGstation,所以第二個步驟就找不到了
不知道鳥站是怎麼改的? 謝謝
[疑問] 論壇的標題列變色
Re: [疑問] 論壇的標題列變色
代碼: 選擇全部
##############################################################
## Mod Title: HyperCell's for all pages
## Mod Version: 1.1.0
## Author: Corey Touchet (Lewt Haxxor on phpbb.com)
## Description: This is a mod to have hypercells work on all of your phpBB2 pages where it'll be usefull.
## CREDIT: Goes to the original author if I ever found out who he was and me for making sure this worked :)
##
## Installation Level: (easy)
## Installation Time: 10 Minutes
## Files To Edit: search_results_topics.tpl, index_body.tpl, viewforum_body.tpl, privmsgs_body.tpl
## Included Files: (n/a)
##############################################################
# Version History
# 1.1.0 Fixed the {{T_TD_COLOR1}} typo. Should of been {T_TD_COLOR1}
#
# 1.0.0 Original Release
#
##############################################################
## For Security Purposes, This MOD Cannot Be Posted Or Added At Any Non-Official phpBB Site
##############################################################
##############################################################
## Author Note: Please backup any files before you change them!
##
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
/yourphpdir/templates/subSilver/search_results_topics.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row2"><span class="topictitle">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><br /><span class="gensmall">{searchresults.GOTO_PAGE}</span></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
#
#NOTE: sometimes it's easier to comment out the line with a <!-- line to replace --> so you can easily restore files
# via a telnet session if having to fix a forum from a remote place and dont have the backup with you.
<td class="row2" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{searchresults.U_VIEW_TOPIC}'"><span class="topictitle">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><br /><span class="gensmall">{searchresults.GOTO_PAGE}</span></td>
#NOTE: this.style.backgroundColor="{T_TD_COLOR1}" can be changed to any color to suit your forum.
# Just replace the {T_TD_COLOR1} with any color code you want.
# Hard codes such as #FFFFFF can be used but it is best to use the template system codes for colors.
#
#-----[ CLOSE ]------------------------------------------
#
/yourphpdir/templates/subSilver/search_results_topics.tpl
#
#-----[ OPEN ]------------------------------------------
#
/yourphpdir/templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
#
#-----[ REPLACE WITH ]------------------------------------------
#
#
<td class="row1" width="100%" height="50" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" 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 />
#
#-----[ CLOSE ]------------------------------------------
#
/yourphpdir/templates/subSilver/index_body.tpl
#
#-----[ OPEN ]------------------------------------------
#
/yourphpdir/templates/subSilver/viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td class="row1" width="100%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
#
#-----[ CLOSE ]------------------------------------------
#
/yourphpdir/templates/subSilver/viewforum_body.tpl
#
#-----[ OPEN ]------------------------------------------
#
/yourphpdir/templates/subSilver/privmsgs_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td width="55%" valign="middle" class="{listrow.ROW_CLASS}"><span class="topictitle"> <a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td width="55%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{listrow.U_READ}'"><span class="topictitle"> <a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>
#
#-----[ CLOSE ]------------------------------------------
#
/yourphpdir/templates/subSilver/privmsgs_body.tpl
#
#------[Upload and impress!]-----------------------------
#
2007.10.1 攝於日本京都錦市場
Re: [疑問] 論壇的標題列變色
因為我有裝 split topic type
在viewform_body_tpl 裡面有這麼一段
不知道鳥站文章中的的這一段是要改哪裡
是要改在topics_list_box.tpl裡面嗎?
在viewform_body_tpl 裡面有這麼一段
代碼: 選擇全部
<!-- 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">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_EXCERPTION_FORUM}">{L_SEARCH_EXCERPTION_FORUM}</a>|
<!-- END switch_user_logged_in -->
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
</tr>
</table>
{TOPICS_LIST_BOX}
不知道鳥站文章中的的這一段是要改哪裡
代碼: 選擇全部
#-----[ OPEN ]------------------------------------------
#
/yourphpdir/templates/subSilver/viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td class="row1" width="100%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
#
#-----[ CLOSE ]------------------------------------------
是要改在topics_list_box.tpl裡面嗎?
Re: [疑問] 論壇的標題列變色
我自己是修改 viewforum_body.tpl 。
如果你在 viewforum_body.tpl 找不到可以下手的地方,原因可能就是如你所說的,因為你有安裝 Split topic type 的原故。
那麼,恐怕你得花上一些時間來研究原來應該修改 viewforum_body.tpl 的部分要改為修改哪一個檔案了。
你說的 Split topic type 我也有裝,不過我裝的是 1.0.5 版,對於後來的版本例如 2.0.x 可以說是敬而遠之。
因為該外掛作者後來釋出的外掛,在設計上可以說是翻新了 phpBB 原來的結構。
當然他有他自己秉持的理由,不過對於喜愛安裝外掛的人來說,安裝了他的外掛之後,以後要再安裝其他外掛就會很頭疼了,所以....
關於這一點,竹貓有討論:http://phpbb-tw.net/phpbb/viewtopic.php?t=23817。
所以你自己斟酌看看吧!建議你 Split topic type 改裝 1.0.5 版就可以了。
如果你在 viewforum_body.tpl 找不到可以下手的地方,原因可能就是如你所說的,因為你有安裝 Split topic type 的原故。
那麼,恐怕你得花上一些時間來研究原來應該修改 viewforum_body.tpl 的部分要改為修改哪一個檔案了。
你說的 Split topic type 我也有裝,不過我裝的是 1.0.5 版,對於後來的版本例如 2.0.x 可以說是敬而遠之。
因為該外掛作者後來釋出的外掛,在設計上可以說是翻新了 phpBB 原來的結構。
當然他有他自己秉持的理由,不過對於喜愛安裝外掛的人來說,安裝了他的外掛之後,以後要再安裝其他外掛就會很頭疼了,所以....
關於這一點,竹貓有討論:http://phpbb-tw.net/phpbb/viewtopic.php?t=23817。
所以你自己斟酌看看吧!建議你 Split topic type 改裝 1.0.5 版就可以了。
2007.10.1 攝於日本京都錦市場
Re: [疑問] 論壇的標題列變色
原來真的是這個原因阿
因為上鳥站的網站覺得很好用
所以split topic type 是我剛接觸phpbb就裝上的外掛(剛剛看了一下真的是2.01版)
難怪我後來要裝其他外掛時
動到某些檔案時 例如viewform_body_tpl
頭痛的要死 因為根本不知道如何改
既然鳥站說出了原因 這樣我就先來移除2.01版改裝1.05版
謝謝鳥站長
因為上鳥站的網站覺得很好用
所以split topic type 是我剛接觸phpbb就裝上的外掛(剛剛看了一下真的是2.01版)
難怪我後來要裝其他外掛時
動到某些檔案時 例如viewform_body_tpl
頭痛的要死 因為根本不知道如何改
既然鳥站說出了原因 這樣我就先來移除2.01版改裝1.05版
謝謝鳥站長
Re: [疑問] 論壇的標題列變色
剛剛差點哭出來
我將2.01版本加上去的通通移除
結果"慘"生了一個出乎意料的結果
從各版面點進去後 沒有半篇文章
但是從top5點進去文章仍在
於是我異想天開 以為將1.5版本裝上去後文章會回來
於是我由鳥站提供的網址去尋找傳說中的1.5版
http://phpbb-tw.net/phpbb/viewtopic.php?p=158917#158917
但是 始終卡在viewforum_body.tpl
我發現subsliver跟icgstation的這個檔案有許多地方滿不一樣的
每次改這個檔案 都找不到要找的code
不知道鳥站長可不可以提供您的icgstation的viewforum_body.tpl 給我參考一下
最後:好險,之前看了鳥站長的文章後,就開始修改前都會備份,所以我又把2.01版重新裝了上去,文章又回來了......不幸中的大幸...............
我將2.01版本加上去的通通移除
結果"慘"生了一個出乎意料的結果
從各版面點進去後 沒有半篇文章
但是從top5點進去文章仍在
於是我異想天開 以為將1.5版本裝上去後文章會回來
於是我由鳥站提供的網址去尋找傳說中的1.5版
http://phpbb-tw.net/phpbb/viewtopic.php?p=158917#158917
但是 始終卡在viewforum_body.tpl
我發現subsliver跟icgstation的這個檔案有許多地方滿不一樣的
每次改這個檔案 都找不到要找的code
不知道鳥站長可不可以提供您的icgstation的viewforum_body.tpl 給我參考一下
最後:好險,之前看了鳥站長的文章後,就開始修改前都會備份,所以我又把2.01版重新裝了上去,文章又回來了......不幸中的大幸...............
Re: [疑問] 論壇的標題列變色
提供給你也不見得對你有幫助,因為每一個人安裝的外掛不同。
加上我又是屬於那種喜歡改來改去的人,所以我的 viewforum_body.tpl 和原來 iCGstation 的 viewforum_body.tpl 有不少差距。
我寄給你了,你自己研究看看吧!
加上我又是屬於那種喜歡改來改去的人,所以我的 viewforum_body.tpl 和原來 iCGstation 的 viewforum_body.tpl 有不少差距。
我寄給你了,你自己研究看看吧!
2007.10.1 攝於日本京都錦市場
Re: [疑問] 論壇的標題列變色
經過跟鳥站長的檔案比對出來後 順利安裝標題列變色外掛成功
我發現Split topic type 2.0版 關於改viewforum_body.tpl 裡頭有些地方
要到topics_list_box.tpl改
因為viewforum_body.tpl 裡面的部分code都在topics_list_box.tpl裡面
感謝鳥站長的幫忙
我發現Split topic type 2.0版 關於改viewforum_body.tpl 裡頭有些地方
要到topics_list_box.tpl改
因為viewforum_body.tpl 裡面的部分code都在topics_list_box.tpl裡面
感謝鳥站長的幫忙
誰在線上
正在瀏覽這個版面的使用者:沒有註冊會員 和 3 位訪客