讓版主管理群看到隱形人的方法

phpBB 大部分皆是由竹貓星球提供資料!
頭像
懸壺子
系統管理員
系統管理員
主題中的帖子: 1
文章: 33489
註冊時間: 2001-10-05 , 10:10
個人狀態: 道骨學習佛心..^^..
貼心留言: 氣候不穩
性別: 公仔
來自: 黃金故鄉
聯繫:

讓版主管理群看到隱形人的方法

未閱讀文章 懸壺子 »

讓版主管理群看到隱形人的方法

:->: 相關討論 : http://phpbb-tw.net/phpbb/viewtopic.php?t=34590

:->: 官方連結: http://www.phpbb.com/phpBB/viewtopic.php?t=156668

代碼: 選擇全部

##############################################################
## MOD Title: Allow Moderators to See Invisible
## MOD Author: gfmorrs < gfmorris@gfmorris.com > (Geof F. Morris) http://gfmorris.com/
## MOD Description: Allows all moderators to see invisible users.
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: 1 Minute
## Files To Edit: includes/page_header.php
## Included Files: (n/a)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ 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/
##############################################################
## Author Notes:  Many thanks for morpheus2matrix to pointing out where to make a modification.
##                This might be the simplest MOD ever for phpBB.  :)  Feel free to give him all
##                credit, for I am just simply writing this up.
##
##############################################################
## MOD History:
##
##   2003-12-06 - Version 1.0.0
##      - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php

#
#-----[ FIND ]------------------------------------------
#
if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )

#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN || $userdata['user_level'] == MOD )

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
版面鎖定 主題已鎖定

回到「phpBB2」