Inside the apricot's tumultuous heart the hornet hums

This page has been moved to a more permanent spot. Please go there.

§3432 · December 15, 2008 · Tags: , ·

61 Comments to “Now Reading for WordPress 2.7”

  1. Oh – thanks for this! I use this plugin but haven’t upgraded yet. I will have to take a look at this file. Are the templates okay? I’ve got those fully customized. Thank you!

  2. Ben says:

    Natasha:

    If you’ve got custom templates, don’t include the ones in the download. They should be perfectly fine as-is.

  3. Conor says:

    I think that over the holiday season, I’ll do some work on my blog. It badly needs a total makeover, but I lack the skill for that. There is a lot of CSS adjustment I want to do, some of which you’ve helped me greatly on, and I might even pull in something like this plugin, if my sidebar isn’t too cramped with the standard 2.0 tripe.

    Thanks very much for sharing this! Long live OSS.

  4. Amanda says:

    I can’t figure out how to add books using WordPress version 2.7. Under Posts, I see Reading Now which I click. However all that shows up is the title "Reading Now" but no options to add books.

    What am I suppose to be seeing?

    Thanks!

  5. Ben says:

    Amanda,

    I’m not sure what’s wrong on your site: I see no such behavior on mine, even when I switch the Admin Menu Layout to “Multiple” like you apparently have.

    Are you attempting to use the version supplied here? Does your host use PHP 4 or 5?

  6. Rick says:

    I’ve tried both your version and Rob’s SVN release and seem to have the same issues. The library section isn’t working, editing books isn’t working and the book images do not show in the sidebar on my site although they do show in the admin. Any help would be great.

  7. Rick says:

    Ok the library seems to be working though the thumbnails and edit function still are not. I’m going to dig through my error logs and see if anything comes up but any ideas would be great.

  8. Ben says:

    Rick,

    I need more detailed information: what platform are you running (and what versions of PHP, etc), and how exactly are things not working?

  9. Brian says:

    I just discovered "Now Reading" (Rob’s original) but disabled it after not being able to even search for books on Amazon. I then found your version, installed and activated, and now it searches ok… But when I go to "edit" a book (because it automatically puts them under Planned Books) I see the options View, Edit, Delete pop up when I mouse over them, but when I click Edit the page just reloads; nothing else happens.

    How do I find out what version of PHP is installed? My blog is hosted at HostMonster. I just upgraded to WordPress 2.7 a couple days ago.

    Also, when I go to view the library, my sidebar is messed up. If you compare the screenshot at http://thelifeofbrian.info/temp/Clip.jpg with my actual blog at http://blog.thelifeofbrian.info you can see that the tabbed section with new posts, popular posts, etc. should be to the right of the page, but for some reason is on the left.

  10. Rick says:

    Debian
    PHP 5.2.x
    MySQL 5.1
    Apache 2.2.11.

    When I click to edit a book the page just reloads and does not show an area to edit the book. Adding books works but editing does not. Also the book thumbnails are not showing in the sidebar as they were before the upgrade to WP 2.7, they show in the admin as usual and on the single book page just not in the sidebar. However no related errors exist in my error logs.

  11. Ben says:

    With respect to sidebar or library templates: did either of you overwrite existing sidebar templates you had set up?

    The default templates assume a particular page setup—you need to make sure that they conform to your theme.

    With respect to the broken editing:

    When you attempt to edit a book, what’s the link that’s generated? Does it look like

    /wp-admin/admin.php?page=manage_books&action=editsingle&id=294

  12. Ben says:

    Aha! You’re both in “multi” mode for the Now Reading layout.

    Please upgrade to the latest version 4.4.4-helio3, which I believe fixes this problem.

  13. Brian says:

    Cool, that did the trick for editing. I guess the "multi" is default; I hadn’t even touched that setting.

    I’ll add it to my sidebar now that I know I can actually use the plugin… Thanks for your help!

  14. Brian says:

    well…. I see "Now Reading" at the bottom of my right sidebar where I put it – but that’s it. No books listed…

    And when I view the library it still messes up the top of the sidebar. I have not made any changes to templates today; but if you’re asking about "ever" – hehe, I’m not sure. I haven’t messed with the theme stuff in ages….

  15. Ben says:

    Brian,

    I’ve updated my modification of the plugin to work with Multi mode (@4.4.4-helio3).

    Your library problem is indeed caused by the default template adding code you don’t want.

    Edit the library.php file in your templates directory.

    On line 5, change <div id="content" class="now-reading primary narrowcolumn"> to <div id="left" class="now-reading primary narrowcolumn">.

    On line 7, change <div class="post"> to <div class="entry">

  16. Rick says:

    Yup that fixed the editing, I totally missed the option all together when I looked and it seems as Brian said, it is the default. The sidebar issue was just me being stupid, I was forgetting that it only showed images of the books with currently reading status. Is it just me or is the option to add multiple Meta Data sections per book missing?

  17. Ben says:

    Rick,

    Multiple metadata fields should be working again as of 4.4.4-helio5.

  18. Rick says:

    All is good now thanks for the help.

  19. Rob says:

    Thanks for this :) I assume you don’t mind me merging this into trunk?

  20. Ben says:

    Not at all, assuming you like the design decisions I made.