View Full Version : Post count mod
Stormraven
04-23-2009, 01:17 AM
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.