下載: http://www.phpbbhacks.com/viewhack.php?id=437
代碼: 選擇全部
###############################################################################################
##
## Hack Title: Staff Site 論壇管理團隊頁面
## Hack Version: 2.0.3 (phpBB 2.0.4 or lower)
## Author: Acid
## Support: http://www.phpbbhacks.com/forums/
##
## Description: An external site to display who is Mod (or Super Mod) or Admin (or Junior Admin)
## at your board. Some additional infos.
## 這個額外的網頁將會列出誰是版主(或總版主)和管理員(代理管理員),和其他資訊
##
## Files To Edit: 6
## language/lang_english/lang_main.php
## includes/constants.php
## viewonline.php
## admin/index.php
## includes/page_header.php
## templates/xxx/overall_header.tpl
##
## Included Files: staff.php
## staff_body.tpl
## staff.gif
##
###############################################################################################
###############################################################################################
[php:1:6339e65475]<?php
$lang['Staff'] = "論壇管理團隊";
$lang['Forums'] = '管理版面';
$lang['Mod'] = "版主";
$lang['Admin'] = "管理員";
$lang['Super'] = "總版主"; \r
$lang['Junior'] = "代理管理員";
$lang['Period'] = '於 <b>%d</b> 天前'; // %d = days
$lang['Messenger'] = '聯絡方法';
?>[/php:1:6339e65475]
修正:
staff.php
代碼:
尋找:
$staff2[$row['user_id']][$row['forum_id']] = '? <a href='.append_sid("viewforum.$phpEx?f=$forum_id").' class=genmed>'.$row['forum_name'].'</a><br />';
}
修改成:
$staff2[$row['user_id']][$row['forum_id']] = '* <a href='.append_sid("viewforum.$phpEx?f=$forum_id").' class=genmed>'.$row['forum_name'].'</a><br />';
}
幾個 Demo 網站:
http://www.phpbb-nl.com/staff.php
http://www.digisatt.com/phpBB2/staff.php
http://www.wargods2003.com/forum/staff.php
http://www.dolphinx.org/autv/phpbb/staff.php
http://forum.mm2c.com/staff.php
~Mac