bgunnink
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] Can I reverse the order of displayed books?Sure. Look in your template(s) for this line:
<?php if( have_books('status=read&orderby=finished&order=desc') ) : ?>
Note the
order
variable. Change it toasc
and it should reverse the order.Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] Book Cover Images DisappearingIt’s probably Amazon’s fault: the plugin was originally written to store the path to the image on Amazon’s server. I never changed this when I took over maintenance of the plugin.
In future versions, the plugin will download and store such images locally, meaning the links should never become bad.
In the
sidebar.php
for NRR (not the sidebar.php of your WP theme), there should be a line like this:<?php if( have_books('status=reading') ) : ?>
Change it to (where, obviously, num=whatever number of books you want.
<?php if( have_books('status=reading&num=10') ) : ?>
You can edit this value for each book status.
Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] Library PagingThis is been asked for, and the capability is (sort of) in the plugin already, but it’s a little more complicated than that. The standard library page has three loops (three queries). Paging would affect all of them individually.
The only way paging would be effective would be if your library page was not divided by status as is the default, but was rather an alphabetical (single query) listing of all books you’ve added. While I agree that this could be a desirable thing, it would be too big a change to add to the plugin right now, since it would break a lot of existing installations.
I’m considering it for the nebulous 6.0 version of NRR, but I have no clear picture of when that’s coming (job + grad school + wedding plans).
Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] Page Title to Left or RightNo, you’re on the right track: title configuration doesn’t have any sort of presence in user-facing options. The plugin doesn’t expect themes to do anything unusual with the page titles.
Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] “Visit Library” not loading correct Theme PageThe plugin uses its own template pages. There are instructions for customizing these templates included in the plugin files. If you want your library page to look a particular way, you need to edit
library.php
.Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] MultiUser Mode EnabledYou don’t specify the reader. The book is attached to whichever user adds it.
Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] Sidebar, once again!On
library.php
, change<div class="content">
to<div id="container">
.That’s the difference between your main template and the NRR library template in your case.
Forum: Fixing WordPress
In reply to: [Plugin: Now Reading Reloaded] Image not linked to AmazonDid you edit the templates to reflect the changes I suggested?
Forum: Fixing WordPress
In reply to: [Plugin: Now Reading Reloaded] Image not linked to AmazonYou can change this behavior by editing the sidebar template for NRR. By default, clicking a book link in the sidebar takes you to your site’s library page (yours doesn’t appear to be working right now—perhaps save your options again?), and each book’s page will have a link to Amazon.
<?php book_url() ?>
outputs the address to the book’s Amazon page.<?php book_permalink() ?>
outputs the address to the book’s library page on the hosted domain. Per the bundled plugin instructions, try putting a copy of the template files in your active theme and editing them to fit your needs.Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] single.phpTry changing your first line to
<?php get_header(); global $nr_id; ?>
Did you accidentally remove the
global $nr_id;
part when you were editing?Forum: Requests and Feedback
In reply to: [Plugin: Now Reading Reloaded] Feature request for a wishlistThis could be scoped a number of ways. Now Reading Reloaded is less about cataloguing a collection or wishlist and more about chronicling what you are reading or intend to read.
My “intend to read” list is simply everything that is in my database by “unread”.
Future versions may have editable book statuses, which may or may not satisfy this feature request.
More extensive wishlist-handling is probably handled better by other plugins that more closely match the scope of your request; at this point, it’s unlikely that NRR will evolve into a general-purpose library plugin as such.
Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] Error Adding BookKumarei,
This appears to be my careless introduction of a bug from some minor schema changes I did for the previous release.
I’ve just released 5.1.2.1, which should hopefully fix that issue.
Forum: Plugins
In reply to: [Plugin: Now Reading Reloaded] Error Adding BookWP debug mode isn’t really helpful; what does the NR debug mode (available on the options page) produce?
Also, please provide some information about your hosting platform (Windows or Linux? What versions of PHP, MySQL, WordPress, Apache, etc)?
No way right now—numbers of books are run entirely via the templates.