vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Post Count not working in case of unmoderated posts (https://vborg.vbsupport.ru/showthread.php?t=316194)

ravik1214 12-24-2014 03:14 PM

Post Count not working in case of unmoderated posts
 
In my forum, post count is not working properly. When any user submit any post, user count column (user.posts in mysql) doesn't update. How to fix this issue?

ForceHSS 12-24-2014 03:35 PM

check server error logs if any errors post here

HM666 12-24-2014 11:21 PM

Might be related to a mod you have installed. Have you tried to globally disable them and then see if you have the same problem?

Global disable: open your includes>config.php file and find:

Code:

?>
and under place:

Code:

define('DISABLE_HOOKS', true);
Save and upload again to your server in the includes directory.

If you find that it works after someone who is supposed to be moderator then re-enable the plugins by putting // in front of the code so it looks like this:

Code:

//define('DISABLE_HOOKS', true);
Save and upload again.

Then you will have to go through your mods one by one until you find the one that is causing the conflict.

ozzy47 12-24-2014 11:26 PM

Or in setting up the forums, the OP set Count Posts Made in this Forum Towards User Post Counts to No instead of Yes. :confused:

ACP --> Forums & Moderators --> Forum Manager --> Edit Forum

HM666 12-24-2014 11:31 PM

Good point that also maybe a problem if its set to No.

bridge2heyday 12-25-2014 03:36 AM

It is not an issue .. it is the default behavior ... pending posts are not counted until approved .

ozzy47 12-25-2014 09:28 AM

Quote:

Originally Posted by bridge2heyday (Post 2528727)
It is not an issue .. it is the default behavior ... pending posts are not counted until approved .

So their site moderates admin posts as well??

Quote:

Originally Posted by ravik1214 (Post 2528662)
In my forum, post count is not working properly. When any user submit any post, user count column (user.posts in mysql) doesn't update. How to fix this issue?

Looks to me like it is a site wide issue, not that posts need approval, unless of course admins posts are moderated as well as every other usergroup.

bridge2heyday 12-25-2014 10:26 AM

Quote:

Originally Posted by ozzy47 (Post 2528741)
So their site moderates admin posts as well??



Looks to me like it is a site wide issue, not that posts need approval, unless of course admins posts are moderated as well as every other usergroup.

in the title he said "Post Count not working in case of unmoderated posts" .

ozzy47 12-25-2014 10:28 AM

Quote:

Originally Posted by bridge2heyday (Post 2528748)
in the title he said "Post Count not working in case of unmoderated posts" .

Right, unmoderated, meaning that posts that are not moderated are not counting towards users post count.

ravik1214 12-26-2014 09:05 AM

Quote:

Originally Posted by bridge2heyday (Post 2528727)
It is not an issue .. it is the default behavior ... pending posts are not counted until approved .

Is there any way to count all submitted post (no matter it is moderated or not) by a Registered user?


All times are GMT. The time now is 04:48 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.01214 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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