← Back to vBulletin 3.5 Add-ons

Disable Post Count Decrease
Mod Version: 1.00, by KOKS@LN

This modification is in the archives.
vB Version: 3.5.3 Rating: (2 votes - 5.00 average) Installs: 27
Released: 29 Jan 2006 Last Update: Never Downloads: 61
Not Supported  

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)
{ 
BELOW that ADD
PHP Code:
$countposts = 0; 

In functions_databuild FIND
PHP Code:
function delete_thread($threadid, $countposts = 1, $physicaldel = 1, $delinfo = NULL)
{ 
BELOW that ADD
PHP Code:
$countposts = 0; 
Then the post count should not change when you delete a post/thread.

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)
{ 
ADD BELOW:
PHP Code:
$countposts = false; 
FIND:
PHP Code:
function delete_thread($threadid, $countposts = true, $physicaldel = true, $delinfo = NULL, $dolog = true, $threadinfo = NULL)
{ 
ADD BELOW:
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

vblts.ru supports vBulletin®, 2022-2025