3
Thanks. In the end I had to use the following in userinfo.php (just after ROOT PATH)
// Added following line to only allow admin to view profile. User cannot view, but can edit.//
$xoopsUser or redirect_header('index.php', 3, _NOPERM);
$isAdmin = $xoopsUser->isAdmin();
$isAdmin or redirect_header('index.php', 3, _NOPERM);
// End modified file //
Ideally, I'd like to have only admin or user themself view. Without the first line above, a registered user gets a blank page instead of redirect.... Anyway, mission accomplished.
Jim