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

PingIt!
Delicious 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

Comments

jkitterman said…
Miguel,
Thanks for sharing this. It we are beginning to use Moodle as a teacher Web-presence solution. And I've drug my heels in updating our teacher directory web page for the reason that you mention - the whole log in as guest fun. You've saved me some research time, I can now craft the urls to include guest log in, removing the confusion. Thanks again. Cheers!
Jeff
Prix Dekanun said…
This is an unnecessary workaround. There's a easier way of doing it: after set the course to allow guests, go to: "Site Administration" box in the first page, and access "User", "Permission", "User Polices" and then look for the check box "Auto-login guests" and check-it. This will make guests enter automatically when the course allows. Sorry for any English mistakes, my main language is Portuguese! ;)
Anonymous said…
Duh! No.

Popular posts from this blog

#Chromecast Add-Ons to Play Various Video File Formats

Free Professional Learning! Education On Air #googleedu

10 Steps to a Blended Learning Classroom #MIEexpert #MIE #tceamie1