No guest access on MoodleCloud (free version)?

No guest access on MoodleCloud (free version)?

by Visvanath Ratnaweera -
Number of replies: 9
Picture of Particularly helpful Moodlers Picture of Translators
I can not untick "Force users to log in" (forcelogin). It says "Defined in config.php". See attachment. I didn't find any reference in https://support.moodle.com/hc/en-us/categories/115000822727-MoodleCloud/.

I wonder how Mary made https://mary.moodlecloud.com/course/view.php?id=32, which gives access to any visitor with no hassle, accepting "Log in as guest" for example. Details https://tracker.moodle.org/projects/MDL/issues/MDL-63154.
Attachment forcelogin.png
Average of ratings: Useful (1)
In reply to Visvanath Ratnaweera

Re: No guest access on MoodleCloud (free version)?

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Try not unticking it. Mine is still ticked.

In reply to Mary Cooch

Re: No guest access on MoodleCloud (free version)?

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
My understanding is that, if I want to open a course for a visitor (no login), I need to untick "forcelogin", otherwise Moodle will ask for a login.

Do you say in your site https://mary.moodlecloud.com you have forcelogin ticked? Still the course https://mary.moodlecloud.com/course/view.php?id=32 open for visitors? I don't understand something around the guest login story.
In reply to Visvanath Ratnaweera

Re: No guest access on MoodleCloud (free version)?

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Here: (and I confess, I don't understand it either. Hopefully one of the MoodleCloud team can explain. Of course, with guest access you can't actually participate in anything, but for sure you can see content.)

Forcelogin

In reply to Mary Cooch

Re: No guest access on MoodleCloud (free version)?

by Mathieu Petit-Clair -
Picture of Core developers Picture of Moodle HQ Picture of MoodleCloud team Picture of Plugin developers Picture of Testers

Hi Visvanath and Mary,

I think you are looking for autologinguests under Admin -> User policies.

Mathieu

In reply to Mathieu Petit-Clair

Re: No guest access on MoodleCloud (free version)?

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hello Mathieu (and anyone who comes to this thread subsequently) This discussion is a follow up from the forum thread mentioned by Visvanath above where he asks how to have his guest access courses available immediately without the need to click on the log in as guest button. 

I suggested he use "autologinguests" and showed my MoodleCloud site as an example. This then prompted us to discuss here the strange fact that, if your site has forcelogin - yes, as all the MoodleCloud sites do, then you would expect not to be able to do this, but in fact, the autologinguests setting means you can have guest access on a site where you are not allowed to see the front page before logging in. 

I looked in the tracker and found several very old issues about this: for example  MDL-35359 and MDL-10850  which seem to suggest that this is the expected behaviour: Sites with forcelogin can indeed still have autologinguests. (I am about to edit the documentation to clarify this)

In reply to Mary Cooch

Re: No guest access on MoodleCloud (free version)?

by Priyanka Rastogi -

Hi,


I am facing the same issue as listed earlier in some of the posts. Somehow, I am unable to untick the forcelogin checkbox.  Each time I untick it and save the changes, it reverts back to 'ON'.


It says Defined in config.php.  Can you please advice how to go about it.


In reply to Priyanka Rastogi

Re: No guest access on MoodleCloud (free version)?

by Mathieu Petit-Clair -
Picture of Core developers Picture of Moodle HQ Picture of MoodleCloud team Picture of Plugin developers Picture of Testers

Hi Priyanka,

As discussed above, this option is not available on the free version of MoodleCloud, mostly as a way to prevent abuse. You can use autologinguests to achieve a somewhat similar result.

Mathieu

Average of ratings: Useful (2)
In reply to Mathieu Petit-Clair

Re: No guest access on MoodleCloud (free version)?

by Hristian Daskalov -

I can confirm the function works well under a paid plan.

Average of ratings: Useful (1)