Moodle Plugins directory: Guest Redirect | Moodle.org
Guest Redirect
If you plan to offer guest access to courses on your Moodle instance and you intend to provide this guest access to non-logged in users as well in the easiest way possible, you normally enable the autologinguests setting in your Moodle instance. That way, non-logged in users who access a course's URL where guest access is enabled are logged in as guest users automatically. Unfortunately, the autologinguests setting changes important aspects of the way how the login process works and especially turns the forcelogin setting ineffective. This means that as soon as autologinguests is enabled, practically all users are loggedin as guests and real users have to click on the 'Login' link before they can log in with their full Moodle account.
To solve this catch-22, this plugin was built. It was built especially for Moodle instances which want to keep the forcelogin behaviour, but it is not necessarily limited to sites with forcelogin enabled.
The plugin provides a dedicated guest access URL for courses which can be handed out to guests. If a user accesses this dedicated URL for a particular course, he is logged in as guest and is directly redirected to the course. Regardless if autologinguests is enabled or not and even regardless if the guestloginbutton setting is enabled, i.e. even if the guest login button is not shown on the login page.
That way, you can provide an unobtrusive guest access to particular courses without affecting / changing the configuration of your Moodle instance at all.
Please see README file for details about the usage and features of this plugin.
No support in the comments section on this page
Please note that we don't provide any support for this plugin in the comments section on this page.
We appreciate your commendation and reviews for this plugin in the comments. For bug reports and support requests, please read the extensive information in the plugin's README file first and create, if needed, a ticket in the bug tracker which is linked below.
Thanks for your cooperation.
Comments