Published on
August 28, 2008 in
plugins.
Today I came across a new events plugin called Agenda. Looks very promising even without a prepacked widget. So after playing around with it for a short while I started to write a plugin for it (source here) and hopefully it will be adopted by the plugin author, DGMike.
While writing the widget I also noticed some bugs and the need for some extra features.
Features:
- Ship a widget with it – you can use my Agenda Widget for this, see source.
- Show today’s and all day event’s until their end time.
- Remove time notification when it’s a all day event.
- Change $title_tag into to the $before and $after model for more template flexibility.
- Localization by translation domain. Change:
__('text')
into:
__('text', 'agenda')
Have also used that in the plugin I have created.
- Ship a .pot with it for translators. I will translate into Dutch when available.
Bugs:
- When repeating on a daily basis the start time changes (looks like the function add (for example) 24 hours to the end time instead of the start time). )
- Visual editor isn’t working.
- Time droplists are out of sync with the input boxes (further to the right).
- When using agenda_compromissos() the <a href> isn’t populated.
- Add ‘no events’ message when there are no events to show, I’m now getting an error message.
- Styling doesn’t fit in the (smaller) crazyhorse design of 2.7 and perhaps it’s an idea to keep in line with the default WP colors for the background.
Remarks:
- The ‘Event’ page should not be registered as a menu item when you use 2.7 as the structure of the menu’s has changed. The Add New link on the Events page will follow the style WP is using on the Posts and Pages pages.
Questions:
- How can you get the location and date(s)/time(s) visible in the post?
I will put some effort in this plugin as well as I really like it so I will start cracking the extra features and bugs as well and will make suggestions to DGMike.
Published on
August 20, 2008 in
other.
On my ongoing quest to get myself a (rental) house I had a group sighting on Monday for a really nice rental house in Oude Wetering. Oke, there is a lot of work to do when it’s assigned to me as the interior needs a need paint job and it needs a new floor as well. The rental company will replace the kitchen and most of the bathroom and the garden is quite a disaster but what the heck, I don’t care to turn it into something nice over time. The only catch is that the first 17 (!!) people on the list didn’t want the house so they invited the next 10 on the list of which I’m number 8… So, basically, all I need is that the 7 in front of me say no thanks to the rental company. So wish me luck and hopefully I have myself a rental house by this time next week ;)
Published on
August 16, 2008 in
other.
Today, I went shopping for a new suit for my brothers wedding and it was amazing how quickly I succeeded! Right away in the first shop and basically the first suit that I tried on. It’s a great Italian designed dark gray suit and I also picked a great shirt and tie to finish it off. Only problem now is that I still have to look for new shoes to blend in as well. Have been looking for it as well today but without success. I reckon that will take a little longer but yeah, you can’t get it all that easily. Great thing of buying my suit at Suit Supply was that they give you a nice carrying bag for it as well and during the Olympics you get an official supporter t-shirt as well :)
Published on
August 14, 2008 in
other.
Yesterday, I’ve been playing poker again on the monthly poker night with my colleagues. And it needs to be said that I played completely rubbish – or is it better to speak of sheer bad luck when you loose your lovely two high pairs against tree-of-a-kinds every single time that you’re all in… :S
Anyway, I had a good night out and enjoyed the watching part as well and before we started with poker we had a great meal finished off by eating fruits like strawberries, raspberries, blueberries, red berries, green kiwi’s and pure lemons. And… they tasted all nice and sweet (some even too sweet)!!
You now probably think: “wait a sec, that’s not possible, not all those fruits are nice and sweet and especially lemons aren’t sweet at all“. The only thing I can say to that is: yes they are after taking a Mysterious Fruit Tablet!!
The tablets are totally wicked as your taste buds get completely messed up by them, turning source into sweet. And the funny thing about them is that it’s just a natural product! The Miracle Fruit plant has it roots in West-Africa and the berries are nowadays also grown in Japan for fun I reckon.
The manufacturer claims that “It is the most amazing sugar substitute known to man.” and it probably is. Not sure though if it would be the ideal thing to produce cola with as it makes your coke taste really strange so the next time I will stick to the fruit only.
Published on
August 6, 2008 in
other.
This year’s edition of Symphonica in Rosso will be done by Lionel Richie and I will be going to the concert with some friends. Just for the fun of it :)