ok, here's the deal on the above^^^^
#2 is all done in ubb_statistics.cgi.
two things though...the part where you said th search for, "if ($thisforuminfo[6] eq 'private') { $exact_path .= "/private-$thisforuminfo[7]"; }", which was the first edit in your post, there just happens to be that exact code in ubb_forum_summary.cgi also, so should it be changed there too??
#2 the last edit of your post asks us to look for, "$StatsData{'LastTopicForum'} = $exact_path;", but ubb_statistics.cgi has that twice in the code, so should both of them be replaced??
that might help people out a little more.