No Flood Limit For Admins & Mods

主題已鎖定
頭像
cloudsnow30
.※.稜鏡之森の守護使者.※.
.※.稜鏡之森の守護使者.※.
文章: 145
註冊時間: 週六 2006-03-04 03:29
個人狀態: 冬眠喵型態
性別:
來自: 雲上天國
擁有感謝: 2 次
星座:
聯繫:

No Flood Limit For Admins & Mods

文章 cloudsnow30 »

代碼: 選擇全部

############################################################## 
## MOD Title: No Flood Limit For Admins & Mods 
## MOD Author: Shadow aok < shadow_aok@hotmail.com > 
## MOD Description: Remove the flood limit for administrators and moderators 
## MOD Version: 1.0.2 
## 
## Installation Level: easy 
## Installation Time: 1 Minute
## Files To Edit: includes/functions_post.php 
## Included Files: n/a 
############################################################## 
## 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/ 
############################################################## 
## Author Notes: 
## 
## This MOD has been tested on phpBB 2.0.3, 2.0.4 & 2.0.5.
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ OPEN ]------------------------------------------ 
# 

includes/functions_post.php

# 
#-----[ FIND ]------------------------------------------ 
# 

		//
		// Flood control
		//


# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

//
// No Flood Limit For Administrators & Moderators MOD
//
	    if($userdata['user_level'] != ADMIN && $userdata['user_level'] != MOD)
	    {


# 
#-----[ FIND ]------------------------------------------ 
# 

					message_die(GENERAL_MESSAGE, $lang['Flood_Error']);
				}
			}
		}


# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

	    }

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM 
Sakura Moon ~ 櫻井璃月 ~
論壇系統管理員-Cloud Snow 晴雪
主題已鎖定

回到「PHPBB2-外掛列表」