Helpful Information
 
 
Category: vBulletin 3.8 Template Modifications
Miscellaneous Hacks - Disable Post Count Decrease

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:

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:

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.

http://www.vbulletin.org/forum/showthread.php?t=121871

Good work, thank you......

Installed

http://www.vbulletin.org/forum/showthread.php?t=121871


last post date is april 17,2008 do we know if it works for the latest version???

Nice idea, but I dont like those file edits at all.
Thx anyway.

@MrZeropage, can you confirm your mod working for 3.8.2? (or anyone else)

Nice, it works! Thanx (installed)

It works very well in 3.8.1 PL1! Thanks! Installed!

Nice idea, but I dont like those file edits at all.
Thx anyway.

@MrZeropage, can you confirm your mod working for 3.8.2? (or anyone else)
Yep it's working.

Yes, the "old" one is still working (otherwise I wouldn't have posted a link to it here), and I think it will work all over 3.8.x :)

I just released an update of my older version:
http://www.vbulletin.org/forum/showthread.php?t=210570

this is nice tnx

Works great, thank you.










privacy (GDPR)