The Bucketlister

Feel immortal? Feel like you’ve got plenty of time to make your dreams come true? Not worried about death? The future?

The Bucketlister is for you!

The Bucketlister is all about making a list of all the things that you want to do before you die and putting time limits on them so you can see, day by day, your life ticking away! Fun for all the family!

Write down your dreams, give yourself a deadline then GO AND MAKE THEM HAPPEN!

Download The Bucketlister from the official WordPress repository. Sweet!

Example of a Bucket List

ItemCategoryTargetDays LeftComplete
Become a famous hairdresser13 January 20244343
Get this plugin on wordpress.orgWeb development5 October 2010-505

Bugs and Comments

If you have an issue with The Bucketlister and you want me to take a look at it, leave a comment below and I’ll see what I can do. If you’d rather deal with me by email, check my plugins page first for the skinny on that side of things. Nice one.

18 Responses to The Bucketlister

  1. I had to install this manually on my site, instead of using the plugin install within the WP admin. When I went to the plugins section to activate it, I received the following error message:
    “Parse error: syntax error, unexpected ‘{‘ in /homepages/25/d89931752/htdocs/thinner/wp-content/plugins/the-bucketlister/bucketlister-admin.php on line 265″

    Any idea what it might be? Or what might need to be done to fix this situation?


    • Simon

      Hi Steve,

      Sorry to hear you’re having issues, but thanks for bringing it to my attention.

      I’ve had a look, and I believe that it’s because I’m using PHP exceptions on that line. Exceptions were introduced in PHP 5, but some servers are still running PHP 4 which might be what’s causing your problem. I’ll be issuing an update to remove these exceptions, but in the meantime if you want to try fixing it yourself here are some instructions:

      1) Go to Plugins -> Editor
      2) From the dropdown list in the top right-hand corner, select The Bucketlister
      3) Click on ‘bucketlister-admin.php’ on the right hand side under Plugin Files
      4) You’ll need to find the line by hand, unfortunately, as the plugin editor doesn’t have line numbers. If you do a find in your browser (ctrl or cmd + f) and type in ‘try’ without the quotes
      5) You’ll see a block of code that looks like this:


      try {
      $completed_date = new DateTime( $items['completed']['year'] . '-' . $items['completed']['month'] . '-' . $items['completed']['day'] );
      } catch (Exception $e) {
      echo $e->getMessage();
      }

      You need to remove all of this and replace it with this:

      $completed_date = new DateTime( $items['completed']['year'] . '-' . $items['completed']['month'] . '-' . $items['completed']['day'] );

      6) There’s another place in the code that uses exceptions, so you’ll have to hit find again and type in ‘try’. Replace:

      try {
      $target_date = new DateTime( $items['target']['year'] . '-' . $items['target']['month'] . '-' . $items['target']['day'] );
      } catch (Exception $e) {
      echo $e->getMessage();
      }

      with

      $target_date = new DateTime( $items['target']['year'] . '-' . $items['target']['month'] . '-' . $items['target']['day'] );

      7) Save the file and try re-activating the plugin. If this doesn’t work, let me know and I’ll see what I can do.

      Thanks again for letting me know and I’ll get an update up as soon as possible.

      Take care,
      Si


    • Simon

      *UPDATE* I’ve just added the changes to the WordPress repository. You should get asked to update the plugin soon.


      • Thank you Simon.
        I updated the plugin, but still got the error when I tried to activate. Based on your other comments, I checked and I was set to PHP4, so I changed over to PHP5, and was able to activate, and create my list.

        Thank you for your help and updates. Now I just need to figure out why the css file is “inactive”.


        • Simon

          Hi Steve,

          There should be a further update that fixes the CSS issue. Thanks for the mention on your site!

          Si


  2. I have another issue for your consideration. The completion date is not showing properly on the front end.
    http://www.a-thinner-steve.com/goals/
    on the first entry (join a gym) I entered the completion date of Jan 14 2011, however it is showing on the front end that the completion date was Nov 30 -0001. Additionally, when I go back and look at the entry in the admin, it also has the Nov 30 date.

    Is this a MySql setting issue? Or an issue with the plugin?

    Thanks.


    • Simon

      It was a MySQL issue. I’ve updated it to version 0.1.3, which should fix all of these issues. You might have to re-enter the date completed for it to register properly, though.

      Thanks for bringing all of these to my attention.


      • You’re welcome. And thank you for addressing them so quickly. Looks like everything is working. Although my css is still showing as inactive.


        • Simon

          Not sure what you mean by inactive. I’ve had a check of your site and all of the CSS seems to be loading in OK.

          Because the plugin displays things as a table, I deliberately left the CSS of it quite sparse on the basis that the themes should have their own table styling. The idea was that the plugin’s output would fit better in the theme and not stick out or clash by declaring its own styling.

          However, if you want me to suggest some styles for the table, I’d be happy to do that.


          • Hi Simon,
            What I mean is that when I go to the editor and activate the bucketlister CSS, it says “(inactive)” next to it. I see where in the css you have padding setup for the table cells, but I don’t see that. I will take your advice and take a look at the table setup in my template/theme.


          • Simon

            Understood. I see it now. This is because the CSS file isn’t the file that WordPress uses to check the status of the plugin. Only the plugin’s main PHP file will show as active — you can check this by selecting another plugin (Akismet, for example) and trying out the different files for that plugin. You’ll notice that most of them say Inactive except the first one.

            I’ve checked the source code of your site and all of the files for my plugin are being loaded in where they should be. The padding you’re seeing is for the links in the first row that allow you to sort the items. I needed some padding on the right to allow room for the little arrows — there’s currently no padding on the actual table cells themselves.

            If you’d like, you can easily add some by opening your style.css file in your main theme folder and adding the following:

            .bucketlister-table th, .bucketlister-table td { padding: 5px; }

            If you want some borders, then it would be:

            .bucketlister-table th, .bucketlister-table td { padding: 5px; border: 1px solid #000; }

            I’ve also included an “even” class, so you can have alternately coloured rows:

            .bucketlist-table td.even { background: #ddd; }

            Hope that helps! Need anything else, just let me know.

            Cheers,

            Si


          • Simon

            I wouldn’t add this to The Bucketlister CSS file, though, as if I issue another update your changes will be overwritten.


  3. Thank you Simon. I appreciate your feedback and fixes.


  4. How can I make this plugin available for all my users to create a bucketlist?


    • Simon

      Unfortunately, at the moment, it only supports one user. Maybe this will change with a future update.
      Thanks,
      Simon


Trackbacks and Pingbacks

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>