| « Plugin translation helper now available | Sidebar Cleanup v241 » |
This is the v2.4.1 version of a hack I did for v2.4.0-RC2. It is effectively the same, and in fact might be exactly the same file, but I wanted to make sure so I started with the v241 file and tweaked it up.
What this hack does is lets you "Make Posts" that show up as a draft instead of automagically publishing them. "Make Posts" refers to a cool trick the file manager can do for you: you upload an image of whatever size via the file manager, and it will automagically downsize it as need be to fit your skin - assuming your skin has the groovy code that makes that happen.
The existing limitations in the Make Posts feature will still exist. For example you can only have one image linked to a post when you "Make Posts" even though after the fact you can add more images in edit mode. That is one of the reasons you want to have the post show up as draft instead of published yah? Another funky thing is that if you use "advanced upload features" when uploading you can preset fields that will be used for the post title, the alt text, and a bit of text as a caption. If you use the quick upload method then "Make Posts" you will get the image name as the post title, which looks like crap. So the idea again is "make it as a draft so I can edit that stuff before it pings".
Download it, unzip it, and upload it to your installation following the path structure in the unzipped package. THIS WILL OVER-WRITE ONE OF YOUR FILES!!!
My new habit with hacks is to package the original file(s) and the hacked versions in the same path structure that your blog has them in so that it is easier to know where the files go AND to revert to original equipment if you desire.
Have fun!!!