Disable Post Count Decrease
This modification is in the archives.
Description: Users' post counts will not decrease when you delete posts or threads.
Credits: Andreas for vB 3.0 Ver. Spoiler (click to open)
In functions_databuild FIND
PHP Code:
function delete_post($postid, $countposts = 1, $threadid = 0, $physicaldel = 1, $delinfo = NULL)
PHP Code:
$countposts = 0;
In functions_databuild FIND PHP Code:
function delete_thread($threadid, $countposts = 1, $physicaldel = 1, $delinfo = NULL)
PHP Code:
$countposts = 0;
Close
File Modifications: 1 ------------------------------------------------------------ In includes/functions_databuild.php FIND: PHP Code:
function delete_post($postid, $countposts = true, $threadid = 0, $physicaldel = true, $delinfo = NULL, $dolog = true)
PHP Code:
$countposts = false;
PHP Code:
function delete_thread($threadid, $countposts = true, $physicaldel = true, $delinfo = NULL, $dolog = true, $threadinfo = NULL)
PHP Code:
$countposts = false;
Download This modification is archived and cannot be downloaded. |
Similar Mods
Administrative and Maintenance Tools Disable Post Count Decrease Per Forum | vBulletin 3.6 Add-ons |