2
at the top of userinfo.php - below the include statements - add this:
if (!$xoopsUser) {
redirect_header('index.php', 3, 'You have got to register to access this page'); //Alternatively, use _NOPERM for localised message
}
This will block access for non-registered users - but any registered user will be able to see it, independent of group memberships.