Checking the box: " Show files to all (overrides other settings)" has an awkward effect. All files become hidden except for the uploader and the theacher and next time the box is unchecked.
In line 92 of view.php, I've found something I don't understand:
92 userdir_setshowglobal_flag($_POST['showall'], '1');
I've change it to :
92 userdir_setshowglobal_flag($userdir->id, '1');
It seems it solves the problem, but I have to wait and see if it last. Prior attemps (even setting the value directly in the database) didn't last but one use.
Please, Teemu/Janne can you check this and support this patch? Thank you.
the problem with the unchecked box, each time the page is accessed, keeps on.