Another big problem that I fixed.
If you for some reason did not put yourself in the list of people who could see the forum, well it disappeared. I dont see any reason why a keymaster should not be able to see everything in the forum, so I added this
&& !bb_current_user_can( 'use_keys' )
to the line 102 and 173 so now it looks like
if ($pos === FALSE && !empty(
$forum_restriction_allowed_in_forum
[$forum->forum_id]) && !bb_current_user_can( 'use_keys' )) {
basically it has to not be all three of these for you to not see the forum. The last bit just checks to make sure your not a keymaster.
I havent seen any trouble with the hierarchy but I havent played with it much.
Wilbur
PS Unless you mean that if you only put the top forum restricted then the children are not restricted. It still functions on a forum per forum basis.
Would be so much better to set as groups, but oh well.
PSS Ok I noticed this. If you had a forum that was a child of another forum which was a child of another forum and restricted the middle forum, then the grandchild and the grandparent would show as normal with the parent missing and the format wouldnt show for the grandchild. (meaning the grandchild would not be indented.) I dont know if this is necessary a bad thing. Why would you ever restrict the parent but not the children? If you did this why would you then want the child to be indented since its parent would be missing?