I had the setting in 4.5.1 to show latests posts for sub-forums in the main forum section and to hide the subforums from the main page. Now the sub-forums show up in the main page and the topics posted in the sub-forums dont show up in the latest post for the parent forum on the main page…
Support Forum
all settings are upgraded… but a lot of options have gone away and are resident in themes now… you now have complete control over the layout and appearance with themes… the control in themes made the option invalid…
if you want to remove the subforums from groupview, simply remove the template tag from your sp theme… it looks like:
sp_ForumIndexSubForums(”, __sp(‘Sub-Forums’), __sp(‘Browse topics in %NAME%’));
as usual, we highly recommend you make your own sp theme before making any changes… http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/
can you clarify the other question about including counts? by default, the last post and counts do include the subform in each parent row… is that what you are talking about? and its not working for you? or other place?
Mr Papa said
can you clarify the other question about including counts? by default, the last post and counts do include the subform in each parent row… is that what you are talking about? and its not working for you? or other place?
That is correct, the last post counts are blank for forums that have sub forums. IE: if only the sub forums have posts and there are no posts in the parent forum then the home forum page does not show any thing for the last post count 
Curious.
Could you go to the Toolbox – Housekeeping and rebuild the index for the parent forum? See what happens…
Yellow Swordfish said
Curious.
Could you go to the Toolbox – Housekeeping and rebuild the index for the parent forum? See what happens…
Says it can’t rebuild because there are no topics in the parent forum.
bjojo said
Says it can’t rebuild because there are no topics in the parent forum.
And is that correct? And if so can you try the same thing on the sub forum with topics?
Yes, there is no topics in the parent forum, only in the sub. I ran it on the sub and it ran fine but still no information in the parent forum for last post.
If i add a topic to a sub forum, it will add the topic to the sub-forum but not update the parent-forum last post.
Ok I think I may have tracked this down and it mighjt be a small bug.
Would you be willing and able to make a small code change to a file to test my theory?
You need the file /forum/content/sp_group_view_functions.php
The function needed is sp_ForumIndexLastPost() – about three-quarters plus down the file…
near the top is the line:
if ($spThisForum->post_count == 0) return;
can you comment that out and give it a try?
That fixed it. For forums that have no topics in there at all show ‘Last Post’ only (no username and date etc) when before it was blank. Not sure if that should be the way it is intended or if you actually want it to be completely blank. However commenting that line did make it so the sub forums show last post in the parent forums