############################################################## ## MOD Title: Edit User's Post Count ## MOD Version: 1.0.1 ## Author: eXplosive (Derrick) http://bbmod.sourceforge.net ## Description: Edit a user's post count in the user administration panel. ## ## Installation Level: easy ## Installation Time: 5 Minutes ## Files To Edit: admin_users.php, ## user_edit_body.tpl ## Included Files: n/a ############################################################## ## This MOD is released under the GPL License. ## Intellectual Property is retained by the MOD Author(s) listed above ############################################################## ## 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: ## You should change all your languages and themes if you use others ## then English and subSilver. This mod was made for version 2.0.1 ## of phpBB. ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ OPEN ]------------------------------------------ # admin/admin_users.php # #-----[ FIND ]------------------------------------------ # $email = ( !empty($HTTP_POST_VARS['email']) ) ? trim(strip_tags(htmlspecialchars( $HTTP_POST_VARS['email'] ) )) : ''; # #-----[ AFTER, ADD ]---------------------------------- # $posts = abs( intval($HTTP_POST_VARS['posts']) ); # #-----[ FIND ]------------------------------------------ # $password_confirm = ''; # #-----[ AFTER, ADD ]------------------------------------------ # $posts = abs( intval($posts) ); # #-----[ IN-LINE FIND ]------------------------------------------ # , user_rank = $user_rank # #-----[ IN-LINE AFTER, ADD ]------------------------------------------ # , user_posts = $posts # #-----[ FIND ]------------------------------------------ # $password_confirm = ''; # #-----[ AFTER, ADD ]------------------------------------------ # $posts = $posts = abs( intval($posts) ); # #-----[ FIND ]------------------------------------------ # $password_confirm = ''; # #-----[ AFTER, ADD ]------------------------------------------ # $posts = $this_userdata['user_posts']; # #-----[ FIND ]------------------------------------------ # $s_hidden_fields .= ''; # #-----[ AFTER, ADD ]------------------------------------------ # $s_hidden_fields .= ''; # #-----[ FIND ]------------------------------------------ # 'RANK_SELECT_BOX' => $rank_select_box, # #-----[ AFTER, ADD ]------------------------------------------ # 'POSTS' => $posts, # #-----[ FIND ]------------------------------------------ # 'L_ALWAYS_ADD_SIGNATURE' => $lang['Always_add_sig'], # #-----[ AFTER, ADD ]------------------------------------------ # 'L_POSTS' => $lang['Posts'], # #-----[ OPEN ]------------------------------------------ # templates/subSilver/admin/user_edit_body.tpl # #-----[ FIND ]------------------------------------------ # {L_SPECIAL_EXPLAIN} # #-----[ AFTER, ADD ]------------------------------------------ # {L_POSTS} # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM