• Hi!

    First off, very cool and easy to set up plugin!

    But I’m running into a hickup: I’d like to keep file uploads from a form I created seperate from the content of my uploads folder, so I want files to go to a subdirectory within uploads. But I can’t figure out the syntax. I’ve checked and %wp_uploads_dir% works -> uploaded files do end up there. But I have no idea what to put there to make it go to, for example, /wp-content/uploads/formfiles or something.

    In another post I saw you replied with %wp_uploads_dir%/foldername or %wp_uploads_dir%foldername, but neither of those work. Can you help me out?

    http://wordpress.org/plugins/wordpress-form-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter BobBalm

    (@bobbalm)

    Basically, it’s the same issue discussed here – I tried the suggested solution but it doesn’t work: http://wordpress.org/support/topic/plugin-wordpress-form-manager-specifying-an-upload-directory

    Plugin Author hoffcamp

    (@hoffcamp)

    For something like %doc_root%/whatever to work, the folder has to be editable by the process running WP (this is a server config issue). Usually you need to change the permissions on the folder to allow the ‘apache’ user and ‘apache’ group have ownership & read/write access.. but this is just a typical setup, yours might be different. Who is your host?

    Thread Starter BobBalm

    (@bobbalm)

    Transip.nl, a Dutch hosting provider. Not sure what its default settings are, but it’s very customizable so I’ll have a look. Although I reckon I have full access to pretty much everything on it.

    Did some searching:

    Some plugins require the /wp-content/ folder be made writeable, but in such cases they will let you know during installation. In some cases, this may require assigning 755 permissions. The same is true for /wp-content/cache/ and maybe /wp-content/uploads/ (if you’re using MultiSite you may also need to do this for /wp-content/blogs.dir/)

    Is that the case here, and would 755 do the trick?

    Plugin Author hoffcamp

    (@hoffcamp)

    That will work if the owner of that directory is the same as for the wordpress directory. So if it doesn’t, try changing the owner to the same as for ‘wp-content’, (usually ‘apache’).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom upload folder syntax?’ is closed to new replies.