WordPress.org

Support

Support » Plugins and Hacks » Custom Upload Dir » Help with Custom Upload Dir Not Working

Help with Custom Upload Dir Not Working

  • Hello,

    For some odd reason I cannot seem to get the custom upload directory to work. The base directory works fine. For instance, I use the following as the base directory:

    wp-content/newmedia

    I use the following as the custom upload directory:

    /%post_author%

    When I view the path for a media file, I only see the base directory being used, not the custom upload directory. I’ve also tried some of the other available placeholders but nothing seems to work. The path is always

    wp-content/newmedia

    Thanks in advance for any insight anyone can provide.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ulfben

    @ulfben

    The Custom Upload Dir currently only applies custom path’s to files that are uploaded (attached) to posts. When I wrote it I wasn’t aware there even was a stand-alone media upload thingy. 🙂

    It’s on my todolist to have this fixed, obviously. For now; make sure you save your drafts or publish the post before uploading files to it. This ensures all data (dates, post author, categories etc) is available for the plugin to use.

    Also be aware that Custom Upload Dir does not move your previously uploaded files. It only deals with new uploads.

    Plugin Author ulfben

    @ulfben

    I just realized there’s been a long-standing bug on my todolist with the author name. 🙂

    I’ve committed 3.0.2 now; it fixes %post_author% and timestamps for files uploaded without a post.

    Please try it out and let me know if there’s problems.

    Thanks for the quick update. It appears to be working now!

    Definitely looking forward to the updated functionality for the stand-alone media library. Thanks for all your hard work.

    Still not working with %ID% & %post_author% for WordPress 3.2.1 Will you check and fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help with Custom Upload Dir Not Working’ is closed to new replies.
Skip to toolbar