Hello everyone . How can i do this ? = Guests can't show our course's topic contents . Guests can enter course page, i arranged it but guests musn't show the topic contents . I am adding a video about my problem . I am waiting your helps.
Prevent looking course content from guests
Number of replies: 2Re: Prevent looking course content from guests
This post describes a method you could use - https://moodle.org/mod/forum/discuss.php?d=347107#p1400235. It would be tedious if you have a lot of topics to hide though. An option to select all topics you want to hide from guests would be nice.
Re: Prevent looking course content from guests
I just found and installed the restriction by role plugin - https://moodle.org/plugins/availability_role. It might meet your need.
To restrict access to a topic, you can set a restriction option requiring that the student must not match the role guest to view the topic. You could then include instructions telling them they need to login and enroll to view the content. Since you don't want enrolled students to see the instructions, set the same restriction for them as you do for the topic. Be sure to click the eye icon to the left of the restriction setting so that the instructions do not appear rather than being greyed out.
To restrict access to a topic, you can set a restriction option requiring that the student must not match the role guest to view the topic. You could then include instructions telling them they need to login and enroll to view the content. Since you don't want enrolled students to see the instructions, set the same restriction for them as you do for the topic. Be sure to click the eye icon to the left of the restriction setting so that the instructions do not appear rather than being greyed out.