vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Post count mod (https://vborg.vbsupport.ru/showthread.php?t=211960)

Stormraven 04-23-2009 01:17 AM

Post count mod
 
I want to stop post counts increasing in certain forums. I know there is an option to stop members post count going up when they post in a certain forum but i want to stop the post count going up in certain forums altogether, i dont want it to count to the overall website post count, ive looked and not sure how, can someone help me please?

dominicricci 04-23-2009 01:24 AM

lol go to each category and mark don't count posts in all of them?

Stormraven 04-23-2009 01:29 AM

I thought that stops post counts going up for the user post count not towards the whole overall post count of the website? :S

dominicricci 04-23-2009 01:33 AM

Oh.... I understand what you mean now. Sorry Guess I don't really know how. Maybe look in where it sends it or reads it and records it to the post count. Why do you care so much? Do you just have a huge ass spam forum?

Stormraven 04-23-2009 01:41 AM

no, i just have purchased a video feature for my site and every time someone adds a video or a video comment it counts to the overall forum post count which i dont want ya see? :P

Lynne 04-23-2009 02:13 AM

The post count for each forum is in the $forumcache and totalled for the index.php page at the bottom of the index.php file. Just edit to the code to basically say "if $forumid is xx, don't add it into the total". There is a thread about this here already where we wrote out the code to do this. Perhaps do a search on "forumcache" and see what comes up.

Stormraven 04-23-2009 03:07 AM

Lynne, are you talking about this thread, the code you posted here:

https://vborg.vbsupport.ru/showthread.php?t=201682

Lynne 04-23-2009 03:25 AM

That may be the one (there were a couple around the same time, I think). I might do it a little differently (put the condition about the $totals and only have them increment if NOT that forumid), but it's the basic idea.


All times are GMT. The time now is 12:52 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.01086 seconds
  • Memory Usage 1,718KB
  • 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
  • (8)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