1 頁 (共 1 頁)

[外掛]Main Admin Security

發表於 : 2004-08-22 10:30
ms821
這外掛可為主系統管理員帳號,提供額外的安全保障。安裝後,同一論壇的其他系統管理員,不能隨意變更或删除主系統管理員帳號。

代碼: 選擇全部

############################################### 
##   Hack Title:   Main Admin Security 
##   Hack Version:   1.0.0 
##   Author:      Aiencran 
##   Description:   This MOD prevents that Administrators delete the Main Admin or change his user lever to simple user 
##   Compatibility:   2.0.10 
## 
##   Installation Level: Easy 
##   Installation Time: 2 Minutes 
##   Files To Edit: 4 
##      admin/admin_ug_auth.php, 
##      admin/admin_users.php, 
##      language/lang_english/lang_admin.php, 
##      language/lang_italian/lang_admin.php, 
## 
##   Included Files: None 
## 
##   History: 
##      None 
## 
##   Author Notes: 
##      In this MOD I supposed that Main Admin's user_id is 2. Feel free to changhe '2' with the id of your MainAdmin. 
## 
##   Support:      None 
##   Copyright:      ?004 Main Admin Security 1.0.0 - Aiencran 
## 
############################################### 
##   You downloaded this hack from phpBBHacks.com, the #1 source for phpBB related downloads. 
##   Please visit http://www.phpbbhacks.com/forums for support. 
############################################### 
## 
############################################### 
##   This hack is released under the GPL License. 
##   This hack can be freely used, but not distributed, without permission. 
##   Intellectual Property is retained by the hack author[s] listed above. 
############################################### 
[php]

lang_admin.php

$lang['Main_Admin_Undeleted'] = '您不可刪除主系統管理員的帳號!';
$lang['Main_Admin_Unchanged_Level'] = '您不可變更主系統管理員的等級!';

[/php]


按此下載