REM State

11 Nov

In Series 3.0.10 (that was fast…)

Gah. It became apparent when I installed it on the server that the caching code in 3.0.9 didn’t play nice with PHP4. This is now fixed — hopefully I’ll get to go a little while longer without making a new release. ;)

Get In Series 3.0.10.

19 Responses to “In Series 3.0.10 (that was fast…)”

  1. AvatarDr. Mitchell R. White
    1

    Travis,

    I’m trying to get your newest In Series plugin up on my website. So far, all I get is a fatal error at activation:

    Warning: Unterminated comment starting line 345 in /home/content/q/u/a/qualitydr/html/wp-content/plugins/in-series/in-series.php on line 345

    Parse error: parse error, unexpected $, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/q/u/a/qualitydr/html/wp-content/plugins/in-series/in-series.php on line 345

    Since I’m not a coder, this means next to zero to me. Any ideas?

    I’m using WP 2.3 and a widget-ready theme. I do have quite a number of plugins loaded; maybe somebody forgot to play nice together?

    The Quality Doctor

    Reply to this comment.
  2. AvatarQuandary
    2
    Author Comment

    There is no $ on line 345 in 3.0.10; furthermore, the comment is terminated (line 362). What version of PHP are you using? If you ping me via the contact form, I’ll reply, and you can send me a copy of your in-series.php file. I want to check and make sure it matches the one released in 3.0.10.

    Reply to this comment.
  3. AvatarDr. Mitchell R. White
    3

    Q-man,

    I got that issue resolved this way: I erased the in-series folder at my web host and re-uploaded. (I’ve had some bad uploads in the past.) This time, when I activated, it came on just fine.

    I’m guessing I don’t understand half of what I know about this stuff…

    Reply to this comment.
  4. AvatarQuandary
    4
    Author Comment

    I thought it might be a bad upload. Glad you got it sorted out. :)

    Reply to this comment.
  5. AvatarDavid
    5

    With regard to latest Update of “In Series” I believe the numbering should be 3.1.0, as the previous was 3.0.9, my previous was 3.0.7 so following the convention of decimal system, 3.1 comes after 3.0.9 which comes after 3.0.7, of course.

    This may not be important to some, but for me I was thinking that you’d got the Updates out of order, when I was notified via plugin updates.

    Thx for a great plugin, and your commitment for its ongoing maintenance and improvement.

    PS: Any chance or way to have the “listed” connected posts (toc) shown at the bottom rather than the beginning of associated posts?

    Reply to this comment.
  6. AvatarQuandary
    6
    Author Comment

    Hi David,

    The correct numbering is 3.0.10; this follows the standard numbering convention for almost all open source software: major, minor, micro, as three independent decimal numbers (see also: PHP’s version_compare). The major number is bumped when there is a huge set of changes (in the case of In Series, when it went through its rewrite and got its own tables in the database), minor bumps are for new features, and micro bumps are bugfixes. Note that WordPress follows this convention as well (see their 2.0.11 release on their archive page, for example).

    3.0.10 adds no new features. It is merely a bugfix release, and is the direct successor to 3.0.9. The 3.1.0 release has several new features, and is already in its second beta.

    As for getting the ToC at the bottom, please see the FAQ.

    Reply to this comment.
  7. AvatarJohn Baker
    7

    I’m enjoying the plugin, but wonder what I’d have to do to show the listed other posts in the series in a smaller font?

    Reply to this comment.
  8. AvatarQuandary
    8
    Author Comment

    Hi John,

    Changes in the style of the content require that you do one of about four things:

    1. Add new CSS rules to your theme that match the default In Series HTML
    2. Configure In Series to generate HTML that matches existing CSS rules in your theme
    3. Configure In Series to generate HTML with inline CSS
    4. Configure In Series to generate old-school HTML with things like <font> directives

    Options 1 and 2 are preferred, from a web-development point of view. Option 3 is generally tolerated, though it’s sub-optimal in a couple of ways (the generated code is ugly, it makes pages larger, the style information isn’t directly cacheable) — however, it might be a little bit easier/faster than the first two options. Option 4 is generally frowned upon in this day and age on the Web.

    You can configure the HTML that In Series generates by going to the WordPress Admin interface and clicking on the “Options” tab and the “Series” sub-tab. See the documentation for details on what each of the fields means. By default, In Series generates wrapper <div> blocks, one each around the table of contents and the previous/next link set; these belong to the “series_toc” and “series_links” classes, respectively.

    Reply to this comment.
  9. AvatarJohn Baker
    9

    Thanks for coming back to me so promptly. I can, just, see what you mean by the preferences of the four options. Obviously, or so it seems to me, the first would be the way to go, and that’s what I’ll aim for. Unfortunately I have no idea how to do it. But I’ll set my mind on it and see if I can find enough answers to tackle it.
    I’ll let you know when I get there.

    Reply to this comment.
  10. AvatarQuandary
    10
    Author Comment

    In a perfect world, it would be as simple as adding

    .series_toc li {
      font-size: small;
    }
    

    to your theme’s CSS file (/wp-content/themes/your-theme/something.css). The world isn’t perfect, but hopefully that’s a good starting point for you. ;)

    Reply to this comment.
  11. AvatarJohn Baker
    11

    OK, it turned out a little more complicated than I thought. But it seems the following css does the job.
    Thanks for your help and for pointing me in the right direction.

    h3.InSeriesh3{
    font-size:16px;}

    .series_toc{
    font-size:12px;
    line-height:14px;}

    .series_links{
    font-size:12px;
    line-height:14px;}

    Reply to this comment.
  12. AvatarHenning
    12

    Hi Travis!

    Is it possible to limit the number of series post in the TOC? For a series with more than 20 or 30 posts, the TOC would not look too cool if all 20 or 30 posts are displayed…Can I display just the last 5 for example?

    Greets,

    Henning

    Reply to this comment.
  13. AvatarQuandary
    13
    Author Comment

    Hey Henning,

    It wouldn’t very well be a table of contents, in that case. ;)

    In Series does not directly provide a means to limit the ToC length. An alternate option is to use previous/next links (and in 3.1, first/last links too) for navigation. If you’re up for tweaking your theme’s code, you can also generate your own “mini” ToC by using the adv_* API defined in in-series.php.

    In the future, In Series may support a separate ToC page, and/or the ability to place a ToC in only the first post, and/or the ability to place a ToC “on demand” with a special token in the post (like <!--series_toc-->).

    Reply to this comment.
  14. AvatarAahz
    14

    Just discovered this plug in today and I’m loving it already! thanks so much!

    I second Henning’s call for a way to limit the number of entries in the ToC, though having it be “on demand” would probably be the best option.

    Anyway, I actual have a question…

    Is there a way to add a post in the middle of the series instead of just at the start or end?

    Reply to this comment.
  15. AvatarQuandary
    15
    Author Comment

    Hi Aahz,

    Glad you’re enjoying the plugin so far. Hopefully, someday, I’ll get off my arse and get back to adding new features. ;)

    As for adding posts in the middle of a series: you have to add the post (either at the start or the end) first, and then re-order it to the middle of the series. Please see the “Reorder in a series” section in the documentation.

    Reply to this comment.
  16. Avatarncfcb
    16

    I want to use this plugin on my bilingual blog (Language Switcher plugin). I’ve downloaded this plugin and the German files, how do I go about installing them?

    Reply to this comment.
  17. AvatarQuandary
    17
    Author Comment

    Language files are installed by placing them in wp-content/plugins/in-series/. The language file’s first part (e.g., de_DE) must match the locale that your blog is set to.

    Note that In Series 3.0.10 is not compatible with dynamic language switching. In Series 3.1.0 beta 2 does support dynamic language switching, but does not have a (complete) German translation (you should be able to re-use the 3.0 .mo file for at least a partial translation, though).

    Also note that In Series does not support multilingual output, e.g., of ToC headers, previous/next link text, etc. It only translates interface strings presented to authors and admins, in WordPress’ admin interface.

    Hope that answers your question. :)

    Reply to this comment.
  18. AvatarJaihoon
    18

    Hi

    How can I rename a series in In Series 3.0.10 ?

    I tried going to phpMyadmin but didnt find where the values are.

    thanks

    Reply to this comment.
  19. AvatarQuandary
    19
    Author Comment

    Hi Jaihoon,

    You can’t rename a series directly; that’s a feature for 3.2 (hopefully) when “series” become a separate, manageable object unto themselves. For now, you have to remove each post from a series, then add it to the new (”renamed”) series. See bug 25.

    [edited to add]

    But if you want to do it through SQL, the table you’re looking for is “wp_in_series_3_0_6_series” (in version 3.0.10, assuming “wp_” is your wordpress table prefix), and the column to update would be “series_name”.

    Reply to this comment.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Comment Preview:

© 2008 REM State | Entries (RSS) and Comments (RSS)

Global Positioning System Gazettewordpress logo