Quote:
Originally Posted by NTLDR
The following will show the no permission message to users who arn't in group 1, 2 or 3 (remove the ! to make it show if they are in 1, 2 or 3). Just replace 1, 2, 3 will a comma sperated list of usergroups to match your needs.
PHP Code:
if (!in_array($bbuserinfo['usergroupid'], array(1, 2, 3))) {
print_no_permission();
}
|
That works for me. However - the login displayed does not (pathing issues). I looked around, found the print_no_permission() function and followed it to these templates:
username_loggedin
username_loggedout
So I fixed the pathing on each of them - yet I still can't get it to go correctly.
I know I'm missing it somewhere else - does anyone know where?