Upgrade hassles

WP2.0 moved the upload feature to the post-writing page, which I thought was a good move. However, previous versions of WP allowed admins to create custom paths for uploads… mine points to a directory I created that is not, obviously, part of the default WP installation. The moved upload feature in WP2.0 wants to upload files to a specific location that doesn’t exist, and complains that permissions on the server won’t let it create this new location. Nor is there any way to tell it where file uploads should really go. While the permissions problem is easy enough to fix, I don’t want uploaded files in two places, and don’t want to move old files and worry about updating paths in the the database or any crap like that. Handily, I found this Old Style Upload plugin, which restores the lost functionality… but doesn’t fix the much-better-placed new upload tool (and, strangely, seems to have screwed up the dimensions of the Link Pop-up Window, unless that sudden change was just an incredible coincidence), which I would rather be using. This is a stupid mistake that should not have been made. Yes, WP authors, we want to do things such that users are accomplishing things in the best possible way, but we don’t want to penalize users who are playing by our previously established (but less UI-riffic) rules, do we?

The search for a correct solution continues.

UPDATE: OK, this is mostly a record for myself, but playing around with various hacks has led me to this: I like the Old Style Upload plugin for the old functionality, and commenting out line 220 in wp-admin/edit-form-advanced.php and line 184 in wp-admin/edit-page-form.php removes the new upload feature from the post-writing page. This should do the trick for me until they get this thing working correctly. It’s almost a fantastic feature, and probably will be with the next minor release. David House has a nice plugin fixing the default directory problem, but the new interface thing is just too kludgy even without the directory hassle.

Argh. This really isn’t worth the time - I should be doing other things. Back to work.

ANOTHER UPDATE: pasting the URL for an image uploaded with the old-fashioned upload interface causes the new writing tool to wrap [code] [/code] tags around the image URL. So, one needs to click on the HTML button and edit those out and click on “update”. I’m eagerly awaiting fixes to these irritating behaviors.

2 Comments

  1. Skuddle
    Posted November 23, 2007 at 10:14 pm | Permalink

    Have you waited long enough yet??

    Are you glad you didn’t hold your breath??

    I thought about using the ‘old method’, but like you, I don’t think it is worth the effort for what it does. You’d think somebody could write a plug-in, or somebody could write a module for WP that would allow the user to select more than a single file to upload, and to select (and create, if necessary) the target directory, and to insert the right linking, but I guess you (and all other WP users) will have to just bide our time.

  2. Posted November 23, 2007 at 10:32 pm | Permalink

    Skuddle, this is an old post, and I think the problem I was having went away with the next release, that followed soon after. I can’t remember the exact path of transition from “wtf?” to “Ah, OK - now it works”, but everything works the way I want it to now. I browse, select the file I want to upload, and up it goes into the non-standard directory I’d been putting things in all along. Uploading more than one file at a time might be cool, assuming it’s possible, and picking a server side directory might be nice, but it’s not a feature I really need - I was just irritated that they switched horses halfway through the race, if you know what I mean.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*