Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Awilum on June 26, 2010, 04:38:54 AM

Title: I have a problem with the number of topics and posts
Post by: Awilum on June 26, 2010, 04:38:54 AM
Not correctly displays the number of topics and posts in subsections

I have  (topics/posts)

webdev
- php
- javascript
- cms (6/17)
-- drupal
-- smf (4/5)
----- Tips (2/2)
----- Mods
-- joomla

and total cms : topics = 6 ; posts = 17

but realy is topics = 8 ; posts = 20

why i see that - cms (6/17) ?


http://webdevart.ru/index.php?action=forum
-- http://webdevart.ru/index.php?board=34.0
---- http://webdevart.ru/index.php?board=37.0



Title: Re: I have a problem with the number of topics and posts
Post by: PurpleCrow on June 26, 2010, 10:42:31 AM
Go to Admin > Maintenance > Routine> Run the "Recount all forum totals and statistics" task.
Title: Re: I have a problem with the number of topics and posts
Post by: xenovanis on June 26, 2010, 10:55:21 AM
For performance reasons, I believe the postcount of sub childboards won't be counted.
Title: Re: I have a problem with the number of topics and posts
Post by: PurpleCrow on June 26, 2010, 11:13:45 AM
Quote from: xenovanis on June 26, 2010, 10:55:21 AM
For performance reasons, I believe the postcount of sub childboards won't be counted.

They do get counted in mine... I think there might be a setting somewhere to turn it on or off... Hmm will go look.
Title: Re: I have a problem with the number of topics and posts
Post by: PurpleCrow on June 26, 2010, 11:14:38 AM
Yeah its a setting - Go to Admin > Features and Options > General > Check the "Count child's viewers and posts in parent's totals" box.
Title: Re: I have a problem with the number of topics and posts
Post by: xenovanis on June 26, 2010, 11:17:28 AM
I'm talking about the childboards of childboards.

cms (6/17)
-- smf (4/5)
----- Tips (2/2)
----- Mods

I'm not using those, so I'm not sure. For as far as I know it will take a hugh load on the server retrieving that information. Which is also the reason there's an option to count posts from the childboard.
Title: Re: I have a problem with the number of topics and posts
Post by: PurpleCrow on June 26, 2010, 11:21:56 AM
Aha, no it doesnt count child-childboards. Didnt realise as I never use them.
Title: Re: I have a problem with the number of topics and posts
Post by: gigabytes on June 26, 2010, 11:23:51 AM
Not everybody uses them and as the other person said, they require a lot of server load when the data is retrieved.
Title: Re: I have a problem with the number of topics and posts
Post by: Awilum on June 26, 2010, 06:24:49 PM
its dont work.
an that in SMF maybe only

root cat
--> cat1
----> cat2

its bad.



Title: Re: I have a problem with the number of topics and posts
Post by: CapadY on June 26, 2010, 07:07:54 PM
Quote from: Awilum on June 26, 2010, 06:24:49 PM
its bad.

No, it's the way how SMF counts messages and topics. Its not even a bug.
I think there is even an messages shown when you ad a sub-sub board the messages aren't count.
Title: Re: I have a problem with the number of topics and posts
Post by: Awilum on June 26, 2010, 07:30:51 PM
its bad because

root cat
--> cat1
----> cat2
--------> cat3
--------> cat4

cat3 and cat4 are not useful with out correct statistic on the main board(category)



Title: Re: I have a problem with the number of topics and posts
Post by: Deaks on July 14, 2010, 07:43:58 AM
maybe put a request in Mod Requests (http://www.simplemachines.org/community/index.php?board=79.0) and someone will make this into a mod