vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - prevent reduction of postcounter (https://vborg.vbsupport.ru/showthread.php?t=210570)

MrZeropage 04-06-2009 10:00 PM

prevent reduction of postcounter
 
1 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.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 :)

pein87 04-07-2009 05:10 PM

Question so you can perm delete a thread/post and it wont effect the post count of the user who made it?

Lionel 04-07-2009 05:20 PM

Problem is, when you try to do search to view all posts by user, you'll get wrong data

MrZeropage 04-07-2009 05:32 PM

@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 :)

Lionel 04-07-2009 05:42 PM

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

MrZeropage 04-07-2009 05:48 PM

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

Lionel 04-07-2009 05:53 PM

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

pein87 04-07-2009 05:59 PM

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.

FReeSTER 04-07-2009 06:11 PM

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. :D:up:

drsli 04-07-2009 06:40 PM

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


All times are GMT. The time now is 11:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01274 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete