How to show a label to a not logged user and hide it from a logged user

How to show a label to a not logged user and hide it from a logged user

by João Paulo Souza Soares -
Number of replies: 2

I would like to show loggin instructions in the home page, and this instructions do not make sense to a already logged user. So I would like to hide it from them. I'm trying to use the "Restrict Acess" based in some User Profile Field, but it seems that it is checked only on logged users. 

What do you suggest?

Average of ratings: -
In reply to João Paulo Souza Soares

Re: How to show a label to a not logged user and hide it from a logged user

by João Paulo Souza Soares -
Ufa. I managed to do it. I used the options "Not available unless: Your Email address does not contain @ (hidden otherwise)".
Average of ratings: Useful (1)
In reply to João Paulo Souza Soares

Re: How to show a label to a not logged user and hide it from a logged user

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers
Another way to go about this in Moodle 3.5+ is to go into the label and in the admin block click permissions. Remove the "authenticated user" (and any other roles) until only the 'Guest' role is left.
Average of ratings: Useful (3)