vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   changing user post count AND forum post count (https://vborg.vbsupport.ru/showthread.php?t=227759)

Wormow 11-11-2009 11:53 AM

changing user post count AND forum post count
 
when i rise a user's post count how do i make it so it also changes the forum post count?

like my user has 50 posts
forum has 50 post count
i change the user's count to 100
the forum now has 100

Lynne 11-11-2009 03:08 PM

When you manually change a users post count, it can't change the forum count because you aren't saying anywhere that you are adding x posts to forumid a and y posts to forumid b, etc. You would have to change the value in the database manually, but then anytime you update counters, it will go back to what it is supposed to be. You may be able to write a plugin that just adds zzz to the Posts column for that particular forumid. You may want to try that approach.

Wormow 11-12-2009 02:45 AM

so how can i change the forum's post count?

--------------- Added [DATE]1258060914[/DATE] at [TIME]1258060914[/TIME] ---------------

bump..


All times are GMT. The time now is 11:33 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.02054 seconds
  • Memory Usage 1,705KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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