Warning: include_once(/home/kenv/kenvillines.com/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/kenv/kenvillines.com/wp-settings.php on line 213

Warning: include_once(): Failed opening '/home/kenv/kenvillines.com/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/kenv/kenvillines.com/wp-settings.php on line 213
» Wordpress DraftControl Plugin – 1.2 Beta 1 Ken Villines 1.0

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

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

Usage:
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 Responses to “WordPress DraftControl Plugin – 1.2 Beta 1”

  1. Rob Says:

    Installed. works. thank you.

    I am wrestling with your comment denial here this is like my tenth attempt

  2. Ken Villines Says:

    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

    -Ken

  3. Dan Says:

    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!

  4. Ken Villines Says:

    @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!

  5. Henrik Flensborg Says:

    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?

  6. Ken Villines Says:

    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?

    -Ken

  7. Jack Repenning Says:

    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?

  8. Joel Says:

    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

    Cheers!

  9. Ken Villines Says:

    @ 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.

    -Ken

  10. Ken Villines Says:

    @ 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

  11. toolvicarious Says:

    Are you still working on this plugin?
    I get this error when I activate it :(
    I am running WordPress 1.5.1.2
    What am I doing wrong?
    Help me please!

  12. Ken Villines Says:

    @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