WordPress DraftControl Plugin – 1.2 Beta 1

The next release of DraftControl is ready for beta. It is pretty stable so I am confident it is production ready. I would like some feedback about where the controls are located on the DC panel. I think all controls should be located at the top and bottom of the page depending on how many drafts are being viewed. (i.e. If 5 drafts are viewed per paging then controls at the bottom only are fine, but if 100 drafts are viewed per paging then sometime scrolling to the bottom is a pain. Let me know what you think…I haven’t implemented that yet.)

New Version 1.2 Features:
Supports Versions 1.5+, 2.0+
Number of viewable drafts per page is changeable
Publish individual Drafts from Draft Control
multi-publish if you need that kind of power
Fixed adding Categories to a draft without leaving Draft Control. (support for multiple cats coming soon)

Previous Features:
Change the Owner of a draft for individual entrees without leaving Draft Control.
Delete individual Drafts from Draft Control
multi-delete if you need that kind of power

Save the draftcontrol.php file to your wp-content/plugins/directory
Activate the plugin within WordPress in the Plugins section

Go to the Manage section of WP and then select “Draft Control”.
The controls are pretty much self explanatory.

Download DraftControl 1.2 Beta 1

12 thoughts on “WordPress DraftControl Plugin – 1.2 Beta 1

  1. Let me know how it works for you. What info were you leaving in the comment form? I have a huge spam list so if you were trying to leave generic info then it was probably getting caught be MT-Blacklist. Sorry


  2. Thanks for the update Ken, I’ve installed it and it appears to be working nicely. I didn’t realise quite how many drafts I had until I noticed that they exceed the default 20 items per page! I’ve tried deleting posts (which I had problems with before) and this works now too!

    Really nice work. The only improvement I can think of is to use the “fade anything” technique when you delete an item from the list of drafts (ie fade it out of the list, rather than reposting the page). That’s a purely cosmetic quibble though really.

    Thanks again!

  3. @Dan

    Thanks for the suggestion! I am planning a future release that will have AJAX working the list so I don’t POST the page back to the server. It would be sending an HTTPRequest behind the scenes. It seems we are on the same page :)

    Thanks for commenting!

  4. Hi Ken,

    I just installed 1.2b on a WP 2.0 because I really needed a way to manage feed drafts from FeedWordpress.

    This pluing is a true timesaver because now I don’t have to edit each and every draft to have it published.

    Two questions about categories:

    1) Will leaving the Categories to Uncategorized overrule the categories provided in the FeedWordpress settings?

    2) If I select a different category than Uncategorized, and then click Cancel in the popup, the category will still be changed on the Draft Control page, but will the category change be performed or will it keep the original category?

  5. Hi Henrick,
    First let me say, the Category changing is not yet where I want it to be. The way it currently works:

    1) Leaving items the way they are changes nothing. You have to select the menu item and let it submit (choose OK) for INSERT.

    2) When you select OK it doesn’t change your current categories it will only add to them. I don’t have multiple selection working so I don’t override the current settings I only add to your Category list.

    3)If you select Cancel after changing the item nothing gets INSERTED but the menu item also doesn’t refresh. This is only a GUI problem. If you click to a different panel and come back you will see the menu data never changed.

    I hope this answers your questions?


  6. Installed, working fine (WP 1.5).

    I find the separate check boxes for publish and delete odd … one can’t meaningfully check both on the same post, can one? I suppose one might go through a long list of postings, marking some for publish, others for deletion, and then “make it happen,” but isn’t that then a single “do it” button? If I try that, though, your JS won’t let me anyway … clears all the Delete checks when I try a Publish. So apparently only one style of check box may be checked at a time? So why are there two, again?

    I have minor installation problems in that my $table_prefix is set to something other than the default “wp_” I’m no PHP hack, but a quick scan of other files in my installation shows them using constructs like
    $table_prefix . “posts”
    Could you do the same?

    Indeed, something called wp-settings is setting $wpdb->posts to that, maybe you should just be using that?

  7. Hi-
    things look great – thanks for the work you’ve put into this! It really seems to be the only one available of its type & this install went smoothly. Your plugin makes having over 100 drafts (my writing ideas bank) much easier to manage…

    Besides ‘categories,’ I do have one other suggestion (although you’ve probably thought of it already):

    - Perhaps some method in which to sort the draft posts by either date/headline name/tag/etc. would be useful


  8. @ Joel

    I am glad the plugin is helping you out! Yes I plan on adding sorting to the columns :) I was going add sorting before this this passed Beta but since I plan on adding AJAX in the future it seemed pointless. If I do the sorting without ajax I will be reposting to the server. I guess that isn’t too bad, just old school nowadays.

    I will probably still add it in even without the AJAX help.


  9. @ Jack Repenning

    hmmmm…The reason for both checkboxes is mainly because of a feature request from multiple users. It is silly for a user to think they can publish and delete a specific post at the same time. I also don’t allow them to select a delete checkbox then a publish checkbox. The reason is because a Submit all button is absent.

    I understand how you want to use the form. I have actually been thinking about making it an all in one form where you change items and submit the whole paginated view. And make it smart enough to change data, insert data, and delete data in one submit. Not there yet sorry….most record update tools don’t let you update inline within the paging index. I do have plans to make it better. Thanks for the input.

    I will fix the $table_prefix problem for the next beta drop…thanks for reporting it. I guess it slipped by because most users are selecting the default.

    cheers & thx

  10. @toolvicarious

    I am still working on the plugin…I have been in the middle of moving into another house so have been behind on checking my website.

    Did you download beta 2 ? Also did you use the correct version meant for use with 1.5.x? And finally what is the error?

Leave a Reply