rss

Self Picture

Natural Language Processing, Information Extraction and Search consultant.

 learn more   get in touch 

Logo - I Build Search
Aug 05
2008

Todo Plugin for WordPress digg

Download Todo-Plugin

I wanted a plugin to manage a list of ToDos and display them on my blog. Having found none quite suitable, I decided to write it myself.

Features

  1. An integrated panel in wp-admin that lets you add, remove and mark tasks as done.
  2. Ability to set,
    1. Due date and time.
    2. User to assign task to.
    3. Priority of task.
    4. Notes.
  3. In the admin panel, different colored backgrounds tell you which tasks are due today, due in the future and already completed. When displayed on your blog, different classes let you customize the look and feel of tasks. You can set additional display options through the interface!
  4. Advanced Options that let you drop the table from the interface.
  5. Completely Widgetized! Use todo-plugin as a widget without writing a line of template code.
  6. Licenced under GPL

Download & Installation

Download todo-plugin. You can also get the ToDo plugin via subversion:

svn co http://svn.wp-plugins.org/todo-plugin/trunk

To install, just unzip the contents to your wp-content/plugins/ folder. You will find folder todo-plugin with two files todo.php and readme.txt. This done, go to your wp-admin page and activate the plugin.

If you are using v0.1, you’ll need to DROP the table wp_pravin_todo. To drop the table,

  1. De-activate 0.1
  2. Install this version and activate it.
  3. Go to Manage » ToDo. Scroll down to Advanced and click the Drop Tables button. Ignore any errors.
  4. De-activate and activate the plugin.

Changelog

0.2 (February 21, 2007)
  • Now you can set: due-time, assign-to, priority and notes for each task in addition to due-date.
  • Widgetized!
  • Set display options via the interface. No need to pass parameters to the function.
  • WordPress 2.1 and above supported. v0.1 only supported lower versions
0.1 (February 11, 2007)
First public version made available

Usage

ToDo plugin exposes the function pravin_get_todo(). No parameters. Set all display options via the ToDo interface. To manually add a todo list, use <?php pravin_get_todo(); ?> anywhere in your template code.

Note:

  • Each item is enclosed by a li tag with the title as its due date.
  • Three classes: todo-due, todo-duetoday and todo-done let you style those items accordingly.

Issues

  • The date display is not right. It follows server time and not the locale of the user.
  • I do not know how to get the ID of the current user. Every task gets a default assigned by ID of 1.

9 Responses (rss) (trackback)

  • Kenya says:

    Hi,

    I love your plugin, but I was wondering, is there a way to update items? As of now, if I need to change a due date, I have to insert the item again and delete the old item.

    Is there any code I can add?

    Thanks!

  • Mike says:

    Hi there,

    I am excited about the idea of a “To Do” plugin, but after installation (and putting the code snippet into my sidebar) the “to do” items are not showing up on my site.

    No errors are generated; it’s just not showing up (and I’ve got a good deal of experience with WordPress).

    I’m running WP v2.6.3 — any thoughts on what might be happening?

    Thank you!

  • Mike says:

    Just a note to anyone else experiencing the issue of the “To Do” list not showing up…

    Pravin informed me that the correct code is:

  • Mike says:

    Whoops; that code was stripped out of the comments. To get the correct code one should simply add “echo” before the PHP code snippet in Pravin’s directions above.

    So, instead of “pravin_get_todo();” it would read “echo pravin_get_todo();” (within PHP tags, of course)

  • whealer says:

    How can I get my to do list to show up in a page rather then as a widget in the sidebar?

  • Aditya says:

    Pravin,

    How do I get this to work in wordpress 2.8.4? For some reason it says I do not have sufficient privileges to access the add to-do page. I’m logged in as an admin. Your plugin is REALLY useful, and I think it’s perfect for a multi author site. Please email me in case you think you can help. Would really appreciate your help.

    Regards,
    Aditya

  • Robert says:

    Hi there,

    great plugin, as it seems, however I’m having the same issue as Aditya – can’t access add to-do page even as admin.

    Thanks for any hint!
    Robert

  • Jaak says:

    Nice plugin – I have the same problem as the last 2 guys. It says not sufficient privileges even with admin rights.

    Any help is welcome :)

  • Jaak says:

    It seems I got it solved :) I added the capability: “Add assignment” to the roles that I want to see the todo list.

    After that the insufficient privileges message went away.

    Now I have the next question: How to add only certain roles to the list of users who can be assigned a task? I would like to exclude subscribers and include all of the other roles. How would I do that?

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

This page and its contents are copyright © 2010, Pravin Paratey.