Perhaps you are thinking of the New Assignment module? Students have to upload their assignment, after which they may read their fellow students' assignments. But that is something different, but still it is a similar idea and perhaps there is some code in there that could be used to create what you want in a forum.
Forum
Post before reading
This discussion has been locked so you can no longer reply to it.