To hide pligg registration: Edit lib/html1.php in Function force_authentication() Replace it with the following: global $current_user; if(!$current_user->authenticated) { echo '
You must first login to access this section. Please login or register here.
'; //header("Location: " . getmyurl('login', $_SERVER['REQUEST_URI'])); //header("Location: " . getmyurl('login', $_SERVER['REQUEST_URI'])); die; } return true;