How to create a personal calendar with WordPress

19 Apr 2017 14:00 | Geplaatst door Marcel

For the last few years I have used Owncloud, which is a full-featured hosting solutions for files, contact, calender, etc. It turned out I only use the calendar part of it, and found the complexity of that full suite a bit too much. Upgrading always gave me issues. I was planning to switch to Nextcloud, which is basically the same thing, but I decided against that. If I am switching anyway, I could just as well switch to something more to the point and with simplicity included.

First I played with a real calendering server, Radicale. I combined that with a web GUI in the form of AgenDAV. Both simple implementations and seemingly what I wanted. But I had some integration issues, not everything worked right, like moving items to a different day, or editing an existing item.

So I started looking for a WordPress solution. All I need in a calendar solution is:

  • Simple interface per month with tiles for each day.
  • Frontend editing.
  • Only one user.
  • Each item has just a day and title. A color per category would be a nice extra.
  • Authentication with a user/password form.

What I do not need:

  • Multiple users.
  • Public or shared calendars.
  • Contacts.
  • Vcards, caldav, ical integration.
  • Shared files.

Plugins

I found the Calendar Event Multi View plugin to best fit my needs. You can easily add a shortcode with a calendar to a page, in my case the frontpage of the site. It is also easy to enable frontend editing. It just works the way I was looking for.

Theme

The theme I made a child theme for was Twenty Sixteen. I called it Personal Calendar and it is available on Github. It has some custom CSS and adds a grey Calendar color scheme to Twenty Sixteen.
The page template has a login form for non-logged-in users, and after login shows the calender.
Everything else has been stripped from the templates and it is all simply aimed at being a good calender theme.

Result

The result is just a one page design with a calendar on the frontend of that site. It lives on a personal subdomain.

screenshot of personal calender
screenshot of personal calender
For the last few years I have used Owncloud, which is a full-featured hosting solutions for files, contact, calender, etc. It turned out I only use the calendar part of it, and found the complexity of that full suite a…
Read more...

Gazelle Special, 1998, red

08 Dec 2016 15:29 | Geplaatst door Marcel

Since this fall I own a semi-classic Gazelle Special as a touringbike. The Gazelle Special came after the Gazelle Champion Mondial AA-Special, which was made from 1969 till 1995. For a while during the 70s and 80s about one third of roadbikes sold in the Netherlands was a Gazelle. Steel roadbikes were made by Gazelle up to 2002. After this it was only aluminium and occasionally carbon and titanium. Nowadays Gazelle doesn’t make any roadbikes anymore, they leave that up to sister companies like CervĂ©lo and Focus.
This is the Trapezium-frame which was made from 1998 till 2002, with thicker tubing around the bottom-bracket. The front fork has a bend and threads which was made up to 1998. That makes it probable that this bike is from 1998.

The previous and first owner got the frame as serviceframe for a cracked aluminium frame. It was built up with the parts from his old bike, a Shimano 600 groupset and Mavic rims. The Shimano 600 headset is still in the frame.
Now the bike is built up with a Campagnolo Centaur 9-speed. Not completely period-correct, the group is from 2002.
The rims are Campagnolo Omega with at the front an Omega 19 and on the back an Omega 20. This leaves room for improvement.
The rest of the parts are made up of a Selcof aero seatpost, a Fizik Aliante saddle, a 3ttt Record 84 quill stem and a Cinelli Nerve ergo handlebar.
And yes, the tires do not match. Plan is to first use this set and then get a nice set of classic tires.

Since this fall I own a semi-classic Gazelle Special as a touringbike. The Gazelle Special came after the Gazelle Champion Mondial AA-Special, which was made from 1969 till 1995. For a while during the 70s and 80s about one third…
Read more...

Singlespeed, 2013 Chinese steel, yellow

30 Aug 2016 21:45 | Geplaatst door Marcel

 

 
Read more...

Foto’s of the James Last flat and Jachthaven de Hanze

22 Aug 2016 20:57 | Geplaatst door Marcel

On a summer evening I walked around on Jachthaven de Hanze at the Black Water and took some photo’s.

On a summer evening I walked around on Jachthaven de Hanze at the Black Water and took some photo’s.
Read more...

MPD and binding to an address

17 Dec 2015 20:27 | Geplaatst door Marcel

When running MPD, the Music Player Daemon, you can run into the error

listen: bind to 127.0.0.1:6600 failed: Address already in use (continuing anyway, because at least one address is bound)

Searching in search engines yields many questions, but no answers that I could find. The key issue seems to be in the setting

bind_to_address “any”

This would make it listen on all ip addresses and protocols. However, it only will listen on ipv6, not any ipv4 address.
Changing this setting to an ipv4 address does make it listen on all ipv4 addresses

bind_to_address “0.0.0.0”

When running MPD, the Music Player Daemon, you can run into the error listen: bind to 127.0.0.1:6600 failed: Address already in use (continuing anyway, because at least one address is bound) Searching in search engines yields many questions, but no…
Read more...