vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=121871

prevent reduction of postcounter
by MrZeropage
23 Jul 2006 08:40

2 Attachment(s)
This is a small, neat modification which let you delete old threads and posts without making your users cry that their postcounter decreases with that action.

While using this modification your user's postcounter will reflect their over-all-activity, not just "how many posts are currently in the database".

You don't need any hidden trashcan-forum for old threads anymore, just to make sure nothing gets deleted ;)


This modification is designed for vBulletin 3.6.0
If you are still using 3.5.x use the other attached product-XML


Installation is quite simple, just import the product and enjoy :)

Yorixz 23 Jul 2006 09:19

Thanks a lot, I'm also looking for such a mod that will (only) affect the postcount stats on the forumhome, any chance you will write one like that as well? ;)

Snake 23 Jul 2006 12:45

Thanks, Zero, and well done! ;)

hotwheels 23 Jul 2006 13:58

I got an error when uploading it to 3.5

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb3plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '99', 'do not reduce postcounter on post-deletion', 'postdata_delete', '$countposts=false;', 'postcounter');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Sunday, July 23rd 2006 @ 09:56:32 AM
Script : http://www.insanemustangs.com/forums/admincp/plugin.php
Referrer : http://www.insanemustangs.com/forums...?do=productadd
IP Address : *********
Username : ********
Classname : ********

MrZeropage 23 Jul 2006 14:37

Ok, I uploaded another XML that is compatible to 3.5 :)

hotwheels 23 Jul 2006 14:54

That worked mrZeropage, thank you very much

MGM 23 Jul 2006 22:32

How will the post count be affected if we run "Update Post Counts" in the Update Counters?

MGM out

MrZeropage 24 Jul 2006 06:11

Of course the "Update Post Counts" will work as usual, thus reducing the counter... Why would you run that tool with this mod installed ?

utw-Mephisto 24 Jul 2006 09:36

Quote:

Originally Posted by MrZeropage
Of course the "Update Post Counts" will work as usual, thus reducing the counter... Why would you run that tool with this mod installed ?

He could install the "Fake Community statistics" to bring them up again .. Like in real life .. the typicall smoke / drink mathematics ..

You don't know what I mean ? Simple .. Your bloodpreasure goes up with drinking and down from smoking .. so guess what :D :D


j/k - thanks for that Zero ..

nasser71 24 Jul 2006 16:10

i will use the 3.5 ver of the hack
wat will hapen whin i upgrade to 3.6
do the post count hold or it will reduce

MrZeropage 24 Jul 2006 17:22

counter only reduces if there is no plugin of the above installed and you delete post/thread

rodrigoZIN 20 Aug 2006 01:32

The messages at the foruns are reducing, should it be afected??
There is any way to move the topics, but the forum counter do not reduce?

Thanks!

MrZeropage 20 Aug 2006 07:57

?! I don't understand what you mean ...

rodrigoZIN 20 Aug 2006 16:14

Ok, I moved messages from a forum, a forum called X and moved all the messages from X to the forum Y, the messages from forum X will continue the same number or they will reduce??

Because recently i had a problem, my moderators they use to move the old messages to a recycle bin, and the number of messages reduce from the forum it was moved, could the number to not decrease??

Thanks!

MrZeropage 20 Aug 2006 16:28

this modification avoids any reduction of the post-counter using the delete-function of posts/threads

movement should have nothing to do with any post-counter I think ...
Maybe you are talking about forum/thread-counter ?


All times are GMT. The time now is 23:53.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.