Back to vBulletin 3.8 Template Modifications

Disable Post Count Decrease
Mod Version: 1.00, by dxt-cobra

vB Version: 3.8.x Rating: (1 vote - 5.00 average) Installs: 16
Released: 02 Apr 2009 Last Update: Never Downloads: 1
Not Supported Template Edits Code Changes  

This should work for any version. I found an older version of this and did not see any updates, so here is something that will work for anyone.

Credits goto:
Original Maker of Disable Postcount
Author: Paul41598

Find this template
"includes/functions_databuild.php"

FIND THIS:
Code:
function delete_thread($threadid, $countposts = true, $physicaldel = true, $delinfo = NULL, $dolog = true, $threadinfo = NULL)
{
	global $vbulletin, $vbphrase;
Under This line "global $vbulletin, $vbphrase;"

ADD THIS:
$countposts = false;

FIND THIS:
Code:
function delete_post($postid, $countposts = true, $threadid = 0, $physicaldel = true, $delinfo = NULL, $dolog = true)
{
	global $vbulletin, $vbphrase, $threadinfo;
Under this line "global $vbulletin, $vbphrase, $threadinfo;"

ADD THIS:
$countposts = false;

save your file and go test!!! noone's post count should drop anymore.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024