2.3 Setting maildisplay in CSV not working (Hide my email address from everyone)

2.3 Setting maildisplay in CSV not working (Hide my email address from everyone)

by Robert Bishop -
Number of replies: 1

I am uploading my students as an CSV file using moodle 2.3.  Under 'maildisplay' I have 'Hide my email address from other users'.  Everytime I add this field and try to upload I get an 'Error writing to database' message.  I've tried a number of things already: moving the field to a different column in the spreadheet and a number of other things. What gives?

If I can get this to work it will be much easier than having my students hide their addresses themselves.

Any advice would be appreciated.

Average of ratings: -
In reply to Robert Bishop

Re: 2.3 Setting maildisplay in CSV not working (Hide my email address from everyone)

by Arnya Morris -

Hi Robert, I've been having this same issue. Did a bit of research around the net and Moodle docs and have found that if you put a value of 3 in the maildisplay column for all users you're trying to upload, then all of the created users (if you go into their newly created user profiles and check) will now have a setting of Hide my email address from everyone.

I have tested this and it has worked for me in version 2.3.7+

Note this only hides students' email addresses from other students - Administrators and Teachers / Non-Editing Teachers can still view students' email addresses.

Please let me know how you go! smile