Version: 2.1.0 (加速改良版)
Installation Level: (easy)
Installation Time: 2 Minutes
下載 adv_top5_mod_2.1.zip
升級只要覆蓋 adv_top5.php, adv_top5_body.tpl 即可\r
代碼: 選擇全部
/***************************************************************************
* adv_top5.php
* -------------------
* Contains GPL code copyright of phpBB group.
*
* MOD Name: Top5 topics
* Author: OOHOO
* Version: 1.x.x for phpBB 2 Beta serial
* Version: 2.0.0 for phpBB 2 RC serial
* Version: 2.1.0 for phpBB 2.0.0 and gzip function include
*
***************************************************************************/
#
#-----[ ACTION: DOWNLOAD ]------------------------------------------
#
[url=http://phpbb-tw.net/phpbb/download/adv_top5_mod_2.1.zip]adv_top5_mod_2.1.zip[/url]
#
#-----[ ACTION: UPLOAD ]------------------------------------------
#
adv_top5.php to [color=#00aaff]/[/color]
adv_top5_body.tpl to [color=#00aaff]/templates/your_template/[/color]
#
#-----[ ACTION: OPEN FILE ]------------------------------------------
#
/templates/your_template/index_body.tpl
#
#-----[ ACTION: ADD (somewhere u prefer) ]------------------------------------------
#
<iframe marginwidth=0 marginheight=0 src='adv_top5.php' frameborder=0 width='100%' scrolling=no height=250>
</iframe>
#
#-----[ ACTION: SAVE & CLOSE FILE ]------------------------------------------
#
設定
// 顯示主題數\r
$MAX_TOPICS = 5;
// 安全防護選項
$AUTH_SECRUITY = 1;
在新版的 PHP 版本中,必須要修改\r
adv_top5.php
找到\r
// select mode
在這行之後加上底下這行程式就可以了
$mode=$HTTP_GET_VARS['mode'];
以 subSilver 為例,如果要把底色的灰色改成白色,請打開
adv_top5_body.tpl
找到\r
{background-color: {T_BODY_BGCOLOR};}
改成
{background-color: #ffffff;}
儲存檔案後上傳覆蓋即可