MyBB Community Forums

Full Version: No secret threads in statistics
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, we have secret forums in our forum, like only for staff members etc. I noticed one of threads in there became one of most commented threads and made into stats, when I check stats as admin I see that thread, when I check stats as a guest I see empty slot instead of that thread, which creates assumption of bug since there is supposed to be 10 threads but listed 9.

Is it possible to set threads in certain forums unable to reach stats? Also is there any good stats plugin? I am seeing some awesome statistics in different forums but they are all saying "its custom made"  Confused
No, it's not a bug.. Users should be not able to see thread titles from "secret" forums, they're "secret" after all.

You can remove these ifs:
if(!in_array($thread['fid'], $unviewableforumsarray))
https://github.com/mybb/mybb/blob/feature/stats.php#L89
https://github.com/mybb/mybb/blob/featur...s.php#L114
if you want to get rid of that security measure.