MoodleTip - #Moodle Automatic Login for Guest
Problem:
Every time I click on a course link in Moodle that’s supposed to be public to everyone, people get prompted to login. This is a pain for them since then the user has to click on “LOGIN AS GUEST” button which can be confusing. Is there any way around that?
How can I avoid the following screen from appearing?
Solution:
This solution came to me by way of Diana Benner, and I finally had a chance to try it out. Even though I’ve adjusted the settings for a course to allow guest login, people still have to login.
One workaround is to add &username=guest to the URL (web address) of the course link. Here’s an example of what it would look like:
http://moodleserver.net/plc/course/view.php?id=100**&username=guest**
*Note that the above link won’t really work…it is just meant to illustrate the placement of the username portion in bold red.
That’s pretty much it! Diana says she discovered this tip online here:
Use the guest shortcut in the url, i.e. add ‘&username=guest’ (or ‘?username=guest’) to the url.
(http://moodle.org/mod/forum/discuss.php?d=9161&parent=44274)
Get Blog Updates via Email!
Enter your email address:
Delivered by FeedBurner
pingthis();
Bookmark this on Delicious
Subscribe to Around the Corner-MGuhlin.org
Everything posted on Miguel Guhlin’s blogs/wikis are his personal opinion and do not necessarily represent the views of his employer(s) or its clients. Read Full Disclosure

