Find out what the unique id of the naughty student account is, if you view or edit the student profile it shows up in the address bar as ?id=234
Open up the moodledata store, there is a folder called users/
Inside you should see a load of folders with just numbers for names.
Open the folder that has the same number as the student's id.
You should see 2 images f1.jpg and f2.jpg
Replace these images with non-offensive ones ( 100x100 pixels & 35x35 pixels)
Now make the images read only.
On my testing 1.7 moodle (windows) moodle fails to write the new images silently.
I would like the ability to reward users who obey the rules with the ability to customise their profiles more and use things like the instant messaging system etc. At present I have to disable all the fun stuff due to unacceptable use by a few students.
So if anyone plans to write this funtionality into a future release I would very much appreciate it.
Hi Matthew
Sadly it's not just the kids! We haven't gone live with them and already I have teachers replacing their mugshots with Superman and Darth Vader avatars!!! How on earth am I to get the students to behave themselves with this example?
In adding this block are administrators still able to set images through the usual edit profile screen?
If you remove the permission to edit their own profile, does that stop them being able to change their password?
We like the idea of students unable to edit their profiles/upload inappropriate avatars etc, but not being able to change their password would be a disaster for us!