function _print_block() { global $USER; // make sure they are looged in or they cant see it if (isloggedin() && isset($USER) && $USER->username != 'guest') { return parent::_print_block(); } else { return ""; } }