How to get rid of the klick on "Guest login" for visitors?

How to get rid of the klick on "Guest login" for visitors?

از Visvanath Ratnaweera در
Number of replies: 5
عکس Particularly helpful Moodlers عکس Translators
I want visitors (with no account) be able to browse a particular course, without having to click on a "Login as guest" button. It is perfectly OK that they can not participate in any activities.

I have tried a couple of combinations. The one below sounds the most logical to me. But it doesn't work the way I expected:

- Site administration > Users > Permissions > User policies
-- Role for visitors (notloggedinroleid) = Guest
-- Role for guest (guestroleid) = Guest

- Site administration > Plugins > Authentication > Manage authentication
-- Guest login button (guestloginbutton) = Hide

- Site administration > Plugins > Enrolments > Guest access
-- Require guest access password (enrol_guest | requirepassword) not set
-- Allow guest access (enrol_guest | status) = Yes

- Course > Enrolment methods > Guest access
-- Password (empty)

When somebody else enters the course URL, he is shown the log in screen (without the Guest login button). How can I make him enter the course instead?

Moodle version 3.5.1.
میانگین امتیازات:  -
In reply to Visvanath Ratnaweera

Re: How to get rid of the klick on "Guest login" for visitors?

از Mary Cooch در
عکس Documentation writers عکس Moodle HQ عکس Particularly helpful Moodlers عکس Testers عکس Translators

Have you tried "auto-log in guests"  in Administration > Site administration > Users > Permissions > User policies.? Does that help?

In reply to Visvanath Ratnaweera

Re: How to get rid of the klick on "Guest login" for visitors?

از Floyd Saner در
In reply to Floyd Saner

Re: How to get rid of the klick on "Guest login" for visitors?

از Visvanath Ratnaweera در
عکس Particularly helpful Moodlers عکس Translators
Hi

Thanks. It says:

In Administration > Site administration > Users > Permissions > User policies, you can tick the box so that visitors are automatically logged in as guests when accessing a course with guest access (i.e. they don't have to click the "login as guest button".

Which is already the case.

In Administration > Site administration > Plugins > Authentication > Manage Authentication, you must have "Guest login button" set to "Show".

I know this works. But then the visitor has to press the "Log in as guest" button. I do not want that. (Apart from that, it is also illogical: If the guest log in is automatic, why the need for this button?) Pl. see my original post.

Does it mean what I want is not available?