代碼: 選擇全部
##############################################################
## 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