[pmwiki-users] Who Uploaded for the Uploads list?
Andrius Kulikauskas
ms at ms.lt
Mon Feb 6 16:59:21 CST 2006
Hi Patrick,
Is it hard to add the date/time of the upload?
How would I do that?
And be able to get a list of just the recent uploads?
Or perhaps it seems I am wishing for the Recent Uploads functionality
which you mentioned.
But I will check as to how much we truly need that.
Andrius
Patrick R. Michaud wrote:
>On Fri, Feb 03, 2006 at 12:03:58AM +0200, Andrius Kulikauskas wrote:
>
>
>>Maybe we'll simply try to include the uploader's name as part of the
>>file name. I can add that to the instructions for uploading. And if
>>necessary, add an integrity check to force that (for example, require a
>>special character (may be you can suggest one) so that file names would
>>be Andrius--myfile.ext for example.
>>
>>
>
>It shouldn't be too difficult to have a local customization that
>adds the author name to the upload name if it doesn't already exist.
>
>However, I'm not sure that's what you want -- how does Bob then
>replace a file that Alice uploaded...?
>
>Pm
>
>---------------------------------------
>
>
------------------------------------
>>On Thu, Feb 02, 2006 at 11:48:18PM +0200, Andrius Kulikauskas wrote:
>>
>>
>
>
>>>>I found the instructions at:
>>>>http://www.pmwiki.org/wiki/PmWiki/Uploads
>>>>for having a page with all files uploaded in a group:
>>>>(:attachlist:)
>>>>
>>>>I want to include the name of the person who uploaded the file. How
>>>>would I do this?
>>>>
>>>>I found the upload.php script and the function FmtUploadList and where
>>>>to insert the uploaders name.
>>>>
>>>>But how might I get that name in the first place?
>>>>
>>>>
>>
>>
>>
>>At the moment, PmWiki doesn't keep a record of who uploads
>>each file -- as there's not really a convenient place to put it.
>>(:attachlist:) just builds its output by reading all of the files
>>in the uploads directory.
>>
>>We could see about bringing back the "RecentUploads" capability,
>>which would maintain a wiki page containing a simple list of
>>uploaded files, date/time uploaded, and person who performed
>>the upload. However, there still isn't likely to be an easy way
>>to get that information into (:attachlist:) w/o writing quite a
>>lot of code.
>>
>>Pm
>>
>>
>>
>>
>
>
More information about the pmwiki-users
mailing list