[wp-trac] Re: [WordPress Trac] #7510: Organize uploads into userlogin based folders

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 14 01:04:06 GMT 2008


#7510: Organize uploads into userlogin based folders
--------------------------------------------------------------+-------------
 Reporter:  capripot                                          |        Owner:  capripot
     Type:  enhancement                                       |       Status:  new     
 Priority:  high                                              |    Milestone:  2.7     
Component:  Administration                                    |      Version:          
 Severity:  normal                                            |   Resolution:          
 Keywords:  upload, uploads, user_login, username, user_name  |  
--------------------------------------------------------------+-------------
Comment (by DD32):

 I wrote the plugin "Add From Server" to deal with uploading files via FTP
 btw - http://wordpress.org/extend/plugins/add-from-server/

 > Yes I can make a plugin, but how can I modify the function
 wp_upload_dir() ? Have I to make copy of the entire function to add the
 three line I want ?

 It passes through the upload_dir filter at the end, I did a similar thing
 with another plugin: http://wordpress.org/extend/plugins/dpost-uploads/ to
 store uploads into a year/month folder of the post rather than the current
 date.

 Dont get me wrong, I *can* see the use of this by some, I just dont see a
 use for the large majority of people.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7510#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list