[pmwiki-users] Who Uploaded for the Uploads list?

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 2 15:57:38 CST 2006


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