PDA

View Full Version : Mini Mods - prevent reduction of postcounter


MrZeropage
23 Jul 2006, 09:40
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, 10: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, 13:45
Thanks, Zero, and well done! ;)

hotwheels
23 Jul 2006, 14:58
I got an error when uploading it to 3.5

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/admincp/plugin.php?do=productadd
IP Address : *********
Username : ********
Classname : ********

MrZeropage
23 Jul 2006, 15:37
Ok, I uploaded another XML that is compatible to 3.5 :)

hotwheels
23 Jul 2006, 15:54
That worked mrZeropage, thank you very much

MGM
23 Jul 2006, 23:32
How will the post count be affected if we run "Update Post Counts" in the Update Counters?

MGM out

MrZeropage
24 Jul 2006, 07: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, 10:36
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, 17: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, 18:22
counter only reduces if there is no plugin of the above installed and you delete post/thread

rodrigoZIN
20 Aug 2006, 02: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, 08:57
?! I don't understand what you mean ...

rodrigoZIN
20 Aug 2006, 17: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, 17: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 ?

gooberface
25 Aug 2006, 16:48
Man, this is awesome. Thanks for creating this. I was thinking about this earlier upon installation of my new board. I hated the idea of post counts going down as the old threads are pruned. YOU DA MAN! We all appreciate your work.

hotwheels
26 Aug 2006, 05:46
Awesome mod man.........thanks

Alphasims
10 Nov 2006, 13:52
TY.. Installed it.. this is neat!

Gbml2u
13 Nov 2006, 17:59
prevent reduction of thank ?
Some idea ?

zell_11
14 Nov 2006, 21:48
Thank you so much, i have been looking for an answer to this problem for quiet a bit, means now i dont have to put inactive forums in a special place :D

rastacat
15 Nov 2006, 18:30
I have not posted any thank you replies as they make a lot of pages to dig through for guys who are troubleshooting, but this is an exception.

Thank you.

Al

rinkrat
19 Mar 2007, 06:29
My users cry every time I prune, who knew they kept track of post counts like it;s some kind of measuring stick of their manhood or something. ;) This will finally put an end to the insecurity caused by lowerd post counts.

weedheaven
19 Mar 2007, 17:30
Does this work ok for 3.6.5 ?

MrZeropage
20 Mar 2007, 21:23
yes

weedheaven
20 Mar 2007, 22:28
yes

Thanks now i installed it :up:

lostgirl815
02 Apr 2007, 19:25
I have not posted any thank you replies as they make a lot of pages to dig through for guys who are troubleshootingThank you.

Actually it's helpful to see the thanks/problems ratio in a mod, because if there are mostly troubleshooting posts I can figure I don't know enough about code to try the mod.

(And, installed - thanks! Any chance there's a mod like this for forum statistics?)

Invalid ID
03 Apr 2007, 21:41
Thanks. Can you also make it to prevent deduction of thread counter?

Thanks

Stifmeister2
03 May 2007, 18:22
Just figured this out... I've been searching for mod like this for ages! :) Thanks dude!! :)

rjmjr69
22 Jun 2007, 21:28
Zero is this really the same as that other one that was just released? Does this work with 3.6.7? I rather your code than some copier

MrZeropage
23 Jun 2007, 07:15
Yes, the code in the XML is 99,9% exactly the same, and it works fine with vB 3.6.7 :)

momo2
08 Jul 2007, 22:14
Excellent my forum has lots of posts which needs to be deleted coz download links die from rapidshare and this will save their posts counts....

Thanks... Installed

pandaram
16 Sep 2007, 03:17
hi mates,
is this working fine with VB3.6.8?

ETDC
16 Sep 2007, 03:41
product postcounter.xml (927 Bytes, 313 downloads)
product postcounter 35.xml (887 Bytes, 69 downloads)

Which one do I import? Or Both? :)

Looks useful.

momo2
16 Sep 2007, 03:45
got a question how do i delete the post, without not deleting the post counts ?

momo2
16 Sep 2007, 03:46
product postcounter.xml (927 Bytes, 313 downloads)
product postcounter 35.xml (887 Bytes, 69 downloads)

Which one do I import? Or Both? :)

Looks useful.

Well are u using 3.5 or 3.6 ?

ETDC
16 Sep 2007, 03:48
Well are u using 3.5 or 3.6 ?








<--------------- That info is in my Postbit. :)

_

ETDC
16 Sep 2007, 03:49
got a question how do i delete the post, without not deleting the post counts ?
That's what this mod is designed to allow.

ETDC
17 Sep 2007, 00:03
RTFM! :eek: :o

Installed now, - nice one! :up:

Pamela
29 Feb 2008, 23:09
This is exactly what I need! Does this still work on 3.7.0 (I'm on Beta 5)?

Thanks! :)

UPDATED: Tried it myself on 3.7.0 and it works great! :)

boatswife
02 Mar 2008, 23:09
Works on 3.6.8.

Thank you! *clicks installed*

JKatz
14 Apr 2008, 00:56
Thank you! Giving it a try! This will save lots of complaints, I'm sure.

varkjie
17 Apr 2008, 07:07
Is there a mod like this that inclues the thread stats on the bottom menu bar?

MrZeropage
08 Apr 2009, 15:15
update available here (http://www.vbulletin.org/forum/showthread.php?t=210570)