vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Member's Post Count (https://vborg.vbsupport.ru/showthread.php?t=30929)

Craig Antill 10-21-2001 04:39 PM

In this link Kier explains how the users post count is affected by the prune threads system:

Quote:

Originally posted by Kier
Yes, this is a design feature - when you delete an individual post it will decrement the poster's post count by one, whereas if you mass-prune threads, the posters' counters will remain constant :)

This is because we assume that a single post being deleted will be an act of moderation, while a whole load of threads being pruned is an act of maintenance (albeit not an entirely necessary one... many vB boards never prune old threads, as there isn't a massive performance benefit in doing so :))

I have a question on this though that i've been unable to find a solution to by searching.

I have used the mass-prune feature to remove a large number of posts, but how can I have this reflect in the individual's post count ? ie if a user previously had 1000 posts and I have removed 100 of them, how do I have the member's profile show that they have 900 posts on the forum ?

Cheers!

Steve Machol 10-21-2001 04:49 PM

You can manually change a user's post count in the Admin CP. Be sure to update user counters afterwards.

Craig Antill 10-21-2001 04:52 PM

But is it possible for the forum to simply recount the number of posts which a user has made ? Because obviously i'm not going to want to go through and count the number of posts they've made manually... :p

Steve Machol 10-21-2001 04:57 PM

This would probably require hacking. Sorry.

Craig Antill 10-21-2001 05:03 PM

Okay, thanks.

I wonder if anyone knows a MySQL query that will give me a total number of posts for each user id ? I could then quite quickly go through and update the users profiles manually... :)


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

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.01203 seconds
  • Memory Usage 1,719KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete