http://phpbb-tw.net/phpbb/viewtopic.php?t=2974
因為小弟我是使用phpBB 2.0.5
其中viewforum_body.tpl的參數名稱不一樣..
所以在這裡重新提出..
代碼: 選擇全部
#
#-----[ OPEN ]------------------------------------------
#
index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" width="100%" height="50">
#
#-----[ SUBSTITUTE ]------------------------------------------
#
<td class="row1" width="100%" height="50" onMouseOver="this.style.backgroundColor='#E8EFF7'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#F5F8FB';" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'">
PS:那個顏色可以自行修訂成適合自己版面的顏色\r
#
#-----[ OPEN ]------------------------------------------ \r
#
viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" width="100%">
#
#-----[ SUBSTITUTE ]------------------------------------------
#
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='#E8EFF7'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#F5F8FB';" onclick="window.location.href='{row.topicrow.U_VIEW_TOPIC}'">
PS:那個顏色可以自行修訂成適合自己版面的顏色\r
#
#-----[ END OF MOD ]---------------------
#
EOF
小弟覺得..
順便把 TOP5 也加上光棒..^^""
代碼: 選擇全部
#
#-----[ OPEN ]------------------------------------------
#
adv_top5_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row2"><span class="topictitle"><a href="{toprow.topic_url}" target="_top" class="topictitle" >{toprow.topic}</a></span></td>
#
#-----[ SUBSTITUTE ]------------------------------------------
#
<td class="row2" nowrap onMouseOver="this.style.backgroundColor='#F5F8FB'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#E8EFF7';" onclick="top.location.href='{toprow.topic_url}'"><span class="topictitle"><a href="{toprow.topic_url}" target="_top" class="topictitle" >{toprow.topic}</a></span></td>
#
#-----[ END OF MOD ]---------------------
#
EOF
以上是小弟初次嘗試修改..
只是小東西..
參考一下吧..^^