I have a trash bin forum that can only be viewed by admins as I have set "no access" to the other usergroups. However, it's still listed on the forums list of threaded mode for users with no access. Is there a way to hide the forum completely?
Hi needurhelp,
Thank you for letting us know.
We're going to check the issue. I'll update the topic asap.
The issue will be fixed in the next version release.
If you need to resolve it asap please follow the steps below.
1. Open the wp-content/plugins/wpforo/wpf-themes/classic/layouts/4/forum.php file
2. Find this line (line 49):
<?php if($child_forumid == $cat['forumid']) continue; $forum = wpforo_forum( $child_forumid ); ?>
3. Replace with the following one:
<?php if( $child_forumid == $cat['forumid'] || !WPF()->perm->forum_can('vf', $child_forumid) ) continue; $forum = wpforo_forum( $child_forumid ); ?>
4. Then open wp-content/plugins/wpforo/wpf-themes/classic/layouts/4/forum-sub.php file
5. Find this line (line 34):
<?php if($child_forumid == $cat['forumid']) continue; $forum = wpforo_forum( $child_forumid ); ?>
6. Replace with the following one:
<?php if($child_forumid == $cat['forumid'] || !WPF()->perm->forum_can('vf', $child_forumid) ) continue; $forum = wpforo_forum( $child_forumid ); ?>
7. Then delete all caches and check again.
The solution works if you use the latest wpForo version ( v. 1.6.4 ).