I like using Now-Reading to track what books I’m currently reading, have read and want to read on my website. Unfortunately the plugin’s author has been too busy of late to update the plugin and one of the recent updates to WordPress caused Now-Reading’s admin menu to break (when using the single menu option). PHP is not a programming language that I’m really familiar with but I did some poking around in Now-Reading’s code and found if I changed this snip of code:

	if ( $options['menuLayout'] == NR_MENU_SINGLE ) {

		add_menu_page('Now Reading', 'Now Reading', 9, 'admin.php?page=add_book', 'now_reading_add');

		

		add_submenu_page('admin.php?page=add_book', 'Add a Book', 'Add a Book',$nr_level , 'add_book', 'now_reading_add');

		add_submenu_page('admin.php?page=add_book', 'Manage Books', 'Manage Books', $nr_level, 'manage_books', 'nr_manage');

		add_submenu_page('admin.php?page=add_book', 'Options', 'Options', 9, 'nr_options', 'nr_options');

To read like this:

	if ( $options['menuLayout'] == NR_MENU_SINGLE ) {

		add_menu_page('Now Reading', 'Now Reading', 9, 'add_book', 'now_reading_add');
		
		add_submenu_page('add_book', 'Add a Book', 'Add a Book',$nr_level , 'add_book', 'now_reading_add');
		add_submenu_page('add_book', 'Manage Books', 'Manage Books', $nr_level, 'manage_books', 'nr_manage');
		add_submenu_page('add_book', 'Options', 'Options', 9, 'nr_options', 'nr_options');

Then Now-Reading’s single admin menu worked properly again.

As previously mentioned, I’ve been working on updating and customizing the VectorLover WordPress theme to include some of WordPress 2.7’s new features and to integrate with certain WordPress plugins which I like. This evening I’m happy to announce the initial release of VectorLover 2.

Features

  • Threaded comments with quick reply links.
  • Integrated plugin support for: Now-Reading, FAlbum, Tweetbacks, wpLicense
  • Custom login page
  • Added a new default Gravatar image to list of options under Settings -> Discussion in WordPress’s admin backend.
  • hCard microformatting to both post & comment authors.
  • A stylesheet to remove unnecessary elements from printed pages.
  • Changed page titles to display as “PostTitle « BlogName” vs the previous “BlogName » PostTitle” for better SEO
  • Wrapped posts in a DIV with post_class() to add support for fancier styling on posts.

Special Thanks

This release would not have been possible without Erwin Aligam — who designed the initial theme, ThemeLab — who ported the design to WordPress, famfamfam — designed some wicked-nice icons or any of these sites: WPEngineer.com, TheEnglishGuy.co.uk, OttoDestruct.com and Sivel.net — all of whom provided valuable information while I was working on this release.

Download

You can download this release from my VectorLover 2 page.

I recently added a couple of plugins to this site (and a friend’s that I maintain) to try making administrating them easier.  Both sites also happen to use a plugin to crosspost to LiveJournal and now things are acting flaky.

I’ve disabled the most likely culprit and now am writing this post to see if I’m right about which plugin is causing the problem.  Wish me luck.

Side note: Our snowblower stopped working during the last snow-storm.  The engine runs, but the auger stopped turning.  This weekend we got a bunch more snow, so I opened up the snowblower, figured out what the problem was and fixed it.  I fought the snowblower and I won!  🙂  Unfortunately while troubleshooting it, I also fought my vice-grips and the vice-grips won (I’ve got the blood blister and cuts to prove it).

UPDATE: My first guess was wrong but I’ve figured out which plugin is causing the problem and deactivated it. For the record, Referrer Detector & LiveJournal Crossposter do not play nice together.

I’ve been posting notes about this under New Look, but figured all the changes deserved their own post. Since I’m going to keep updating this post with new information until I decide not to, I’m marking this as a sticky post and hiding the real changes below the fold. Additional note: I’m doing the vast majority of this work over at my devblog, so it may be some time until the changes show up here.

UPDATE: I’ve removed the sticky setting from this post, as I’ve completed all the work I intend to do for now on this theme. Lastly, I’ve setup a page where any new information on VectorLover2 will be released and I will be posting a zip file of VL2 there for people interested in my version of the theme.

(more…)

Upgraded CoffeeBear.net to WordPress 2.7 and switched to a different theme.  I liked certain things about the old theme but most of those were developer features that I’ve never gotten around to using.  And since it was kind of ugly the way it was…  I decided to switch it up a bit.  Unfortunately I’ll have to once again customize the Now-Reading output as it’s all busted & fugly right now.