Super work as usual, and most useful.
Testing this out as it has been requested by my users.
I have this working fine on 3.7.5. However, my forum uses categories which are hidden due to navigation menus (I have a tabbed navigation similar to here at vb.org).
If a category is set to "
Forum is Active = no" it is removed from the list in the UserCP, as well as all forums that are a child of the category (regardless of their visibility). I understand the logic behind that, but need to work around this limitation.
I'm pretty sure I need to work around the following code during the build of the excludable list:-
PHP Code:
if (!forum_accessible($forum, $forumperms))
{
continue;
}
Logically that's "
if the current forum is is not accessible, skip it an try the next one." Commenting this out isn't going to help as forum permissions are a crucial part of this building process (of course).
Any help on what I need to do to modify this to
allow hidden categories. (not bothered about hidden forums btw).
TIA