PDA

View Full Version : when you delete a thread, the forums total posts stats don't decrease


KyleWhitey
02-25-2010, 08:25 AM
Is there or could anyone make a mod that keeps the forums total threads/posts stats intact when you delete threads?

So let's say I have 100 total threads on my forum, and I go and delete 50 threads. The total threads still says 100 even though they are deleted.

Does this exist or could anyone whip it up?

Thanks

KyleWhitey
02-25-2010, 04:13 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=210570" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=210570</a>

This but make it so it doesn't delete the total forum stats at the bottom?

KyleWhitey
02-27-2010, 01:59 AM
No one at all? :/

Lynne
03-06-2010, 09:27 PM
If you keep track of the number of posts/threads you delete, just add a plugin at forumhome_complete:
$totalposts = $totalposts + 200;
$totalthreads = $totalthreads + 200;

KyleWhitey
03-09-2010, 03:10 PM
If you get a chance Lynne, can you elaborate on what you mean?

Lynne
03-09-2010, 04:09 PM
If you don't understand what a plugin is, I suggest you start with the manual - Plugin System (http://www.vbulletin.com/docs/html/plugin_system)

KyleWhitey
03-09-2010, 10:06 PM
I know what a plugin is.

Anyways, this can be closed. Got it working.