問題外掛: 論壇管理團隊頁面 Staff Site
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php ... Staff+Site
使用版本:phpBB 2.0.17
網站位置:http://www.j-kst.com
此外掛應如何安裝呢?
我修改第一個檔案就出問題了
找不到此區段\r
#---------[ OPEN ]----------------------------------------------------------------------
#
# language/lang_english/lang_main.php
#
#---------[ FIND (if already added) ]--------------------------------------------
#
$lang['Staff_level'] = array('Administrator', 'Moderator');
#
#---------[ IN-LINE FIND ]------------------------------------------------------
#
'Moderator'
#
#---------[ IN-LINE ADD (before ); ) ]--------------------------------------------------
#
, 'Special Users'
#
#---------[ OPEN ]----------------------------------------------------------------------
#
# staff.php
#
#---------[ FIND ]--------------------------------------------
#
else if( $level_cat['1'] )
{
$where = 'user_level = '. MOD;
}
#
#---------[ BELOW, ADD ]--------------------------------------------
#
# enter user id愀 at the beginning of staff.php ($special_users)
else if( $level_cat['2'] )
{
$where = 'user_id IN ('. $special_users .')';
}
# resp. if Super MOD or Junior Admin (old version)
#
#---------[ or BELOW, ADD ]--------------------------------------------
#
# If you愉e using the Junior Admin Hack replace "LESS_ADMIN" with "JUNIOR_ADMIN" (without
# quotes). (This applies only to the old version of the Junior Admin Hack; if you愉e
# using the newer version you have to add the user愀 ID (see above)).
else if( $level_cat['2'] )
{
$where = 'user_level = '. LESS_ADMIN;
}
############################ change order of areas ################################
#
#---------[ OPEN ]----------------------------------------------------------------------
#
# language/lang_english/lang_main.php
#
#---------[ FIND (if already added) ]--------------------------------------------
#
$lang['Staff_level'] = array('Administrator','Moderator');
# Order of 'x' ('x' means for instance 'Administrator' or 'Moderator') can be changed.
# Remember that 1st entry means '0', 2nd entry means '1' and so on (it愀 important for
# changings in staff.php).
#
#---------[ OPEN ]----------------------------------------------------------------------
#
# staff.php
#
#---------[ FIND ]--------------------------------------------
#
if( $level_cat['0'] )
{
$where = 'user_level = '. ADMIN;
}
else if( $level_cat['1'] )
{
$where = 'user_level = '. MOD;
}
# The order of both (or further) "if" resp. "else if" statements can be changed (the
# 1st statement has to start with "if" and the other ones with "else if").
# The digits are related to the entries in the language array (e.g. '0' is 'Administrator').
# It has to be minded and if necessary to be adapted.
############################# exclude any user ###################################
#
# enter user id愀 at the beginning of staff.php ($exclude_users)
# if you added another area (e.g. 'Super Moderator') and some users are displayed in
# two or more areas (e.g. in 'Super Moderator' and 'Moderator') you can exclude them
# from one or more areas.
#
#---------[ OPEN ]----------------------------------------------------------------------
#
# staff.php
#
#---------[ FIND e.g. ]--------------------------------------------------
#
else if( $level_cat['1'] )
{
$where = 'user_level = '. MOD;
}
#
#---------[ REPLACE WITH ]--------------------------------------------------
#
# enter user id愀 at the beginning of staff.php ($exclude_special_users)
else if( $level_cat['1'] )
{
$sql_exclude_special_users = ( !empty($exclude_special_users) ) ? ' AND user_id NOT IN ('. $exclude_special_users .')' : '';
$where = 'user_level = '. MOD . $sql_exclude_special_users;
}
[問題] 論壇管理團隊頁面 Staff Site安裝疑雲
phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)
版主: 版主管理群
前往
- Announcement
- ↳ 系統公告區
- Support
- ↳ [3.3.x] 安裝與使用
- ↳ [3.3.x] 中文
- ↳ [3.3.x] 轉換
- Extensions
- ↳ 官方認證擴充功能
- ↳ [3.3.x] 官方認證擴充功能
- ↳ 非官方認證擴充功能
- ↳ 擴充功能問題討論
- Style
- ↳ 官方認證風格
- ↳ [3.3.x] 官方認證風格
- ↳ 非官方認證風格
- ↳ 風格問題討論
- Knowledge
- ↳ 教學文件庫
- ↳ 2.0
- ↳ 3.0
- ↳ 3.1
- ↳ 3.2
- ↳ 3.3
- ↳ phpBB 技術文件與知識庫
- ↳ 2.0
- ↳ 3.0
- ↳ 3.1
- ↳ 3.2
- Non-phpBB specific
- ↳ 塔羅占卜
- ↳ 塔羅精華
- ↳ 每週運勢
- ↳ 我想發問
- ↳ 站長交流
- ↳ 自由軟體或免費軟體
- ↳ 架站
- ↳ AppServ
- ↳ WampServer
- ↳ XAMPP
- ↳ phpMyAdmin
- ↳ ExoBUD MP
- ↳ 4images
- ↳ Coppermine Photo Gallery
- ↳ 網路
- ↳ 文書
- ↳ 檔案
- ↳ 美工
- ↳ 系統
- ↳ 安全
- ↳ 多媒體
- ↳ 遊戲
- ↳ 光碟
- ↳ 休閒哈拉與心情小品
- ↳ 意見反應或無法分類
- Link
- ↳ 竹貓星球數位(股)
- ↳ FaceBook_phpBB3-官方中文支援
- ↳ SSD 不限流量-網站空間( .tw or .com.tw域名免費送)
- ↳ 推薦網站
- ↳ phpBB.com
- ↳ phpBBHacks.com
- Archives
- ↳ phpBB 3.2.x Forum Archive
- ↳ [3.2.x] 安裝與使用
- ↳ [3.2.x] 中文
- ↳ [3.2.x] 轉換
- ↳ [3.2.x] 官方認證擴充功能
- ↳ [3.2.x] 官方認證風格
- ↳ phpBB 3.1.x Forum Archive
- ↳ [3.1.x] 安裝與使用
- ↳ [3.1.x] 中文
- ↳ [3.1.x] 轉換
- ↳ [3.1.x] 官方認證風格
- ↳ phpBB 3.0.x Forum Archive
- ↳ [3.0.x] Support
- ↳ [3.0.x] 安裝與使用
- ↳ [3.0.x] 中文
- ↳ [3.0.x] 轉換
- ↳ [3.0.x] Mod
- ↳ [3.0.x] 官方認證外掛
- ↳ [3.0.x] 非官方認證外掛
- ↳ [3.0.x] 外掛問題討論
- ↳ [3.0.x] Style
- ↳ [3.0.x] 官方認證風格
- ↳ [3.0.x] 非官方認證風格
- ↳ [3.0.x] 風格問題討論
- ↳ phpBB2 Forum Archive
- ↳ Support
- ↳ phpBB 2 安裝與使用
- ↳ phpBB 2 plus 綜合討論
- ↳ MOD
- ↳ 官方認證外掛
- ↳ 非官方認證外掛
- ↳ 外掛問題討論
- ↳ Style
- ↳ 官方認證風格
- ↳ 非官方認證風格
- ↳ 風格問題討論
