I think %uploaded-by% would be too special.
In theory, it could be interesting to input comments when uploading files (example comments: for foggy 'uploaded by Auser', but also 'to use this program you need to install Something' ..)
But there will be some small big-problem:
The folders where you upload, have to be real folders, and there is no way to add comments for real objects to the vfs. So comments for real objects should be in a second file, something like uploaded.file.comment. So the first step would be to write such a comment-file on the users disk to be able to upload it. As with html & javascript there is no straight way to write a file to disk, the user must execute some program to create a comment.file. And that is from my potnt of view to complicated for normal users, so we have to wait at least for HFS3 with php.
But perhaps we could do something meanwhile: there are some interesting tasks that could be done on serverside with an external program, that will take his input from logged events. Such external programs are very easy to write as they don't need to use anything from hfs source. If it's fully external, the only thing such a program has to do, is to read the logfile when a new event is added, parse the log-line to separate the values, then with simple functions you can do what you need:
- ban users that try to login more than n times in m minutes without success
- write a foggy upload comment
- move uploaded files from an upload folder to another folder (if you want that users don't see new uploaded files after n seconds)
- create an account and send a confirmation to the user
- create thumbnails for new image files
- create or delete (real) folders IN a real folder.
- delete files
- .. etc
I haven't already tested it, but it seems that the only thing needed to let hfs know that we change something in the .ini file (bans, accounts) is to use the hfs -a option.
If we do something like that we could surely ask rejetto to add two things to hfs to make it even simpler: Add a command line option -r (reload .ini) and 'use external enhancement: filename' in the options menu, that would invoke the external program with every new logline as commandline parameter.
There is in my plans to write such an extension starting end of january. I would probably do it in C, but I'm also considering to refresh my pascal/modula and use delphi, perhaps knowing what languages are known withhin posters that would uses such an artifact.