[phpBB2 譯文:MOD] 只允許討論版的擁有人

與 phpBB 2.0.x 相關主題。
回覆文章
Mac
百戰天龍馬蓋先
百戰天龍馬蓋先
文章: 2590
註冊時間: 2003-02-02 02:28
來自: MacphpBBMOD
聯繫:

[phpBB2 譯文:MOD] 只允許討論版的擁有人

文章 Mac »

This script is to set the permissions on an single or multiple admin files to work only with the main baord owner.
That being ID2.
This can be applied to all files, but if you wish to restrict the whole of the admin directory to just user2 then rename to pagestart.php and overwrite original file.
This is easy to install, and will be updated first on this site.

這一個程式可以讓你設定一個或多個系統管理員的檔案,讓討論版的擁有人(也就是 ID2)才可以使用\r
這可以使用在所有 ./admin 內的檔案上,但是如果你想禁止除了 ID2 外所有的人使用 admin 資料及內的所有檔案,你可以程式 boardowner.php 更名為 pagestart.php 然後覆蓋原來的 pagestart.php
這個外掛很容易安裝,而且會在我的站上使先發佈更新檔

代碼: 選擇全部

##############################################################
## MOD Title: Board owner only.
## 外掛名稱: 只允許討論版的擁有人\r
## MOD Author: Antony Bailey, antony_bailey@lycos.co.uk, Antony Bailey, http://rapiddr3am.slackslash.net
## 外掛作者: Antony, antony_bailey@lycos.co.uk, Antony Bailey, http://rapiddr3am.slackslash.net 
## 中文譯者: Mac < ycl_6@sinamail.com > http://phpbb-tw.net/, http://endless-tw.net/ 
## MOD Description: Restricts access to a file to the main board admin.
## 外掛描述: 限制檔案的使用權,只允許討論版的擁有人\r
## MOD Version: 1.0.0
## 外掛版本: 0.0.1
##
## Installation Level: Easy
## 安裝難度: 簡易
## Installation Time: Unknown Minutes
## 安裝時間: ? 分鐘
## Files To Edit: Unknown
## 修改檔案: ?
## Included Files: boardowner.php
## 附加檔案: boardowner.php
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
## 由於安全上的考量,請檢查: 
## http://www.phpbb.com/mods/downloads/ 是否有此外掛的最新版本 
## 從其他地方下載此檔可能會造成你在你的 phpBB 討論版上寫入有誤的程式碼 
## 基於這個理由,phpBB 將不會為沒有收藏在我們的外掛資料庫的外掛提供支援 
## 我們的外掛資料庫在 http://www.phpbb.com/mods/downloads/ 
## 
##############################################################
## Author Notes:
##
## 作者留言: 無\r
## 
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
## 
## 在你加入這個外掛前,你應該把所有與這個外掛有關的檔案進行備份 
##############################################################

#
#-----[ OPEN 打開 ]------------------------------------------
#
admin_***.php
#
#-----[ FIND 尋找 ]------------------------------------------
#
pagestart
#
#-----[ REPLACE WITH 取代為 ]------------------------------------------
#
boardowner
#
#-----[ SAVE/CLOSE ALL FILES 儲存並且關閉所有檔案 ]------------------------------------------
#
# EoM
# 外掛結束
+ 關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。

phpBB 官網 | 竹貓星球 | MacphpBBMOD | 我的服務
回覆文章

回到「2.0」