title: Hacking Uploadify integration with Wordpress plugin
body: <p>I am using Uploadify with <a href="http://wordpress.org/extend/plugins/uploadify-integration/" rel="nofollow">Uploadify Integration Wordpress plugin</a>, all uploaded files goes to: <code>wp-content/uploads/year/month/</code>. How can I hack / improve the plugin to make possible that the files will be stored in a path that has the name of logged in user so I can distinguish who have uploaded them?</p>
  
  <p>Or alternatively is possible to dynamically add a prefix with the username of logged in user?</p>
  
  <p>I read <a href="http://www.uploadify.com/forums/discussion/7699/add-a-prefix-to-the-uploaded-file-name/p1" rel="nofollow">the discussion from this link</a> and according to Wordpress codex I can get the Wordpress username with this function: </p>
  
  <pre><code>&lt;?php global $current_user;
        get_currentuserinfo();
  
        echo 'Username: ' . $current_user-&gt;user_login ?&gt;
  </code></pre>
  
  <p>But I don't know how to modify the plugin and implement that.</p>
  
  <p>Naturally I already contacted the author of the plugin and asked but still no replies.</p>