Cool, so it IS possible to check if the user can access forum page in PNTF!! <img src="https://www.ubbcentral.com/boards/images/graemlins/tongue.gif" alt="" /> <pre> } elsif(((exists $in->{f}) && ($in->{f} =~ m/^d+$/) && (ref($perms) =~ m/UBB::SecurityToken/) && (!$perms->has_permission("forum", "view", $in->{f}))) || ((exists $in->{f}) && ($in->{f} =~ m/^d+$/) && (!exists $self->{VARSFORUMS}->{$in->{f}}))) {</pre>should be <pre> } elsif(((exists $in->{f}) && ($in->{f} =~ m/^d+$/) && (ref($perms) =~ m/UBB::SecurityToken/) && ($perms->has_permission("forum", "view", $in->{f}) <= 0)) || ((exists $in->{f}) && ($in->{f} =~ m/^d+$/) && (!exists $self->{VARSFORUMS}->{$in->{f}}))) {</pre>
BTW, ubb_search.cgi shoulda had <=0, not < 0 <img src="https://www.ubbcentral.com/boards/images/graemlins/tongue.gif" alt="" />