I have been demonstrating Moodle to various people at Ohio State by pointing them to various pages they might find interesting and telling them to "Login as guest". However some of them are intimidated/confused by the login page.
I have therefore made a simple change to login/index.php to allow bypassing the login page by adding a parameter "username=guest" to the URL:
Replace the line:
if($frm = data_submitted()) {
by the following:
$frm = false; if (strstr($SESSION->wantsurl,"username=guest")) { $frm->username = "guest"; $frm->password = "guest"; } else { $frm = data_submitted(); } if ($frm) {Perhaps other Moodlers might find this modification useful in their installations.