WeBWorK Main Forum

enabling "login as guest" button

enabling "login as guest" button

by Xiong Chiamiov -
Number of replies: 3
As I can see from the demo site at https://math.webwork.rochester.edu/webwork2/maa101/ and from looking over past discussions here, I should be able to allow guest logins to a course, without explicitly creating a guest user and distributing the password to the account. My thought was that having the "Allowed to login to the course" option (under Course Configuration) set to "guest" would do this, but it doesn't appear to be. Is there something else/different I need to do? Should this be correct, and there's something wacky going on? If so, where should I begin to look? Updated -patches branch of whatever the latest version of webwork is.
In reply to Xiong Chiamiov

Re: enabling "login as guest" button

by Michael Gage -
To enable the "login as guest" button, you add "guests" to your course, which in WeBWorK's case are users with login name "practice1", "practice2", etc.

(For historical reasons we used "practice" instead of "guest" because at the time we had a faculty member using WeBWorK named Guest. :-) )

The easiest way to do this is, from the Classlist editor page, import the demoCourse.lst -- this contains 9 practice users which will allow 9 guests
to login at once. If you only have one practice user than only one guest can be logged in at a time. If you delete all the practice users the guest login button goes away. Guests do not have or need specific passwords.

You can control the amount of access a guest has using the entries in Course Configuration (with more choices in the global.conf and course.conf files if you you have direct access to the server).

Hope this helps.


In reply to Michael Gage

Re: enabling "login as guest" button

by Xiong Chiamiov -
That most certainly did help. Would it be helpful for me to copy+paste this into the wiki somewhere, or is it already there, and I just missed it?
In reply to Xiong Chiamiov

Re: enabling "login as guest" button

by Michael Gage -
I think your point is well taken. One place to add this information is to the page

http://webwork.maa.org/wiki/Classlist_Files

but even better put the information where you were expecting to find it. :-)

There is also information at

http://wwrk.maa.org/moodle/mod/forum/discuss.php?d=11#18

(particularly in Davide Cervone's post) which might be appropriate as well.

Thanks much.

-- Mike