MOD Title: Moderator Ban User
MOD Version: 1.0.0
MOD Description: This MOD will allow moderators to ban/un ban abusers with out admin privilege.
You can download it from
http://www.netfreehost.com/mod/moderator_ban_user.zip
MOD Header:
Regards,Code:############################################### ## MOD Title: Moderator Ban User ## MOD Author: Yujin Boby < info [at] netfreehost.com > (N/A) http://www.netfreehost.com ## MOD Description: Allows moderators to Ban/Unban abusers ## MOD Version: 1.0.0 [phpBB 2.0.x] ## ## Installation Level: Easy ## Installation Time: 5 Minutes ## Files To Edit (2): viewtopic.php ## viewforum.php ## Included Files: ban.php ############################################### ## Author Notes: ## ## This mod allow moderators to ban, unban abusers ## ############################################### ## MOD History: ## ## 2005-08-12 - Version 1.0.0 ## - Initial Release ## ############################################### ## Before Adding This MOD To Your Forum, You Should Back Up All ## Files Related To This MOD ############################################### # #-----[ OPEN ]------------------------------------------ # viewtopic.php # #-----[ FIND ]------------------------------------------ # $s_auth_can .= sprintf($lang['Rules_moderate'], "<a href=\"modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id&sid=" . $userdata['session_id'] . '">', '</a>'); # #-----[ AFTER, ADD ]------------------------------------------ # $s_auth_can .= " You can <a href=\"ban.php?sid=" . $userdata['session_id'] . "\">ban abuser in this forum</a>"; # #-----[ OPEN ]------------------------------------------ # viewforum.php # #-----[ FIND ]------------------------------------------ # $s_auth_can .= sprintf($lang['Rules_moderate'], "<a href=\"modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id&start=" . $start . "&sid=" . $userdata['session_id'] . '">', '</a>'); # #-----[ AFTER, ADD ]------------------------------------------ # $s_auth_can .= " You can <a href=\"ban.php?sid=" . $userdata['session_id'] . "\">ban abuser in this forum</a>"; # #-----[ COPY ]------------------------------------------------- # copy ban.php to / # #-----[ OPEN ]------------------------------------------ # ban.php # #-----[ FIND ]------------------------------------------ # [email protected] # #-----[ REPLACE WITH ]------------------------------------------ # Email address of admin # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM
Yujin


Reply With Quote


Bookmarks