Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
prevent reduction of postcounter Details »»
prevent reduction of postcounter
Version: 1.10, by MrZeropage MrZeropage is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 04-06-2009 Last Update: 04-06-2009 Installs: 79
Uses Plugins
 
No support by the author.

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.8.x


Version History:
1.10 - restore of post/thread does not increase postcounter as it was not decreased before when deleting it
1.00 - initial release for vB 3.5/3.6 (here)


Installation is quite simple, just import the product and enjoy

Download Now

File Type: xml product-postcounter.xml (1.3 KB, 322 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-07-2009, 05:10 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question so you can perm delete a thread/post and it wont effect the post count of the user who made it?
Reply With Quote
  #3  
Old 04-07-2009, 05:20 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem is, when you try to do search to view all posts by user, you'll get wrong data
Reply With Quote
  #4  
Old 04-07-2009, 05:32 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@pein87:
Yes, you can hard-delete and/or soft-delete posts and threads, and the counter won't be reduced.

@Lionel:
No, you don't get wrong data, results are safe and just actual non-deleted posts of that user.


This AddOn just affects the postcounter and makes sure it can only get +1 and never -1 by deleting a thread/post
Reply With Quote
  #5  
Old 04-07-2009, 05:42 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok ... let's say someone has 10 threads. Then he does not post for a while, and you go and delete old threads. His profile still says he has 10 threads, right? And when you click to view posts by this user there will be nothing to display ... since they have been deleted ...
Reply With Quote
  #6  
Old 04-07-2009, 05:48 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where in the profile is any "10 threads by User" ?
There is just a link "find all threads by User" and "find all posts by User" and no amount of it

This AddOn was already released for vB 3.5 and 3.6 and is used for a long time, nobody ever complained about the postcounter working with this AddOn - you just need to understand the postcounter per user is a "over-all-time" counter and does not reflect any actual value
Reply With Quote
  #7  
Old 04-07-2009, 05:53 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look at your profile here in vb
mine says Total Posts: 2,865 (1.07 posts per day)
and then view my posts

And by the way, the post counter is a very accurate tool if you keep it the way it's supposed to be, or use the update counters.

I am not putting your hack down. I am just trying to make you see a point: That will mess up your stats and throw errors
Reply With Quote
  #8  
Old 04-07-2009, 05:59 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He means it says you have so many posts but you actually dont have them so you cant search for all of them which gives you wrong data/false info I havnet tested this but thats is what he is trying to say.
Reply With Quote
  #9  
Old 04-07-2009, 06:11 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I been having this problem for long time specially with old users at my board that complaints their post count when I delete posts or threads. With this mod now I can delete any i want and their post count will stay the same.

Thank you for resolving my issue. :up:
Reply With Quote
  #10  
Old 04-07-2009, 06:40 PM
drsli's Avatar
drsli drsli is offline
 
Join Date: Jan 2008
Location: Germany
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I second. Very useful to reflect the real lifetime-contribution of a user. Thank you very much!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05138 seconds
  • Memory Usage 2,306KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete