January 7th, 2008

This is a bug fix release.

  • When playing a closed game, the plugin no longer uses PHP sessions. This avoids problems with PHP configurations where output buffering is disabled (thus preventing cookies from being set correctly in the plugin) - this would manifest as an inability to post a move in a closed game. Note: this requires the WordPress nonce feature, which was introduced in WordPress 2.0.2.
  • When playing a closed game, users with Contributor access or lower (or those without the unfiltered_html capability) no longer corrupt the special div tags in the post after posting a move.
  • For closed games, players are now only required to have the Subscriber role. Unlike the previous version of the plugin, this should work in versions of WordPress prior to 2.2.
  • Draw offers, acceptance, and refusal should now work as intended.
  • A bug which allowed a player to force an opponent to castle in certain circumstances has been fixed.

As usual, here is the Chess By Blog blurb page.

And here’s the download - ChessByBlog-1.0.3.zip, 213 KiB.

Please post any questions or issues in the comments. Happy chess playing!

13 Responses to “Chess By Blog 1.0.3”

  1. DylanDog Says:

    levrok
    I see a bug on my blog which does not allow any move on both closed and public games. I have tried as guest, subscriber, editor and admin.
    I always get an error box stating: “Your move failed to post the DB: Not running as part of session.
    The old release works fine.
    http://www.chessblog.eu/?cat=6
    cheers

  2. levork Says:

    DylanDog -

    Please make sure you’ve got the correct version of the chess-by-blog/postmove.php script installed. In the 1.0.3 version of the plugin, that error message should never be printed. You may want to try removing the chess-by-blog directory and chess-by-blog.php file from the plugin directory entirely, then reinstalling.

  3. DylanDog Says:

    I have both versions installed, in parallel on different folders. I had deactivated the old version and activated the new one. Now I will try as you have suggested.

  4. DylanDog Says:

    ok, sorry…you are right.

  5. DylanDog Says:

    A bug. The A-side castle is wrong as it places the Rook on b1, it should place the Rook on d1 instead.
    see
    http://www.schach-blog.de/online-partie-gegen-chessblogeu-gestartet/
    Cheers

  6. levork Says:

    Oops. Sorry about that. I’ll try to post a fix on Sunday (I’m a little busy with work & family at the moment).

  7. levork Says:

    Sorry this took so long. Here’s a fixed version of the plugin which should address the A-side castling bug.

    http://www.levork.org/cbbzips/ChessByBlog-1.0.3a.zip

  8. Jan Says:

    Hi levork,

    the a-side castling bug seems to be fixed. Our demo-match now shows the correct position!
    Thx!
    Jan

  9. Jan Says:

    The position is not changed after upgrading to 1.0.3a. I was sure, that the position was correct, but now it´s still the same with the rook on b1. I just deleted the plugin-folder once more and reinstalled 1.0.3a, but this kept the wrong position at all…

  10. levork Says:

    The board on

    http://www.schach-blog.de/online-partie-gegen-chessblogeu-gestartet/

    is missing - did you uninstall the plugin?

    Also, I tested the position after a A-side castle on

    http://chess.levork.org/

    Do the positions look correct in your browser?

  11. Jan Says:

    No, I did not uninstall the plugin & I don´t know what happend. Just have seen it missing and board does not reappear even when reinstalling the plugin…Strange, must find the reason…

    Your demo with a-side castling is fine in Mozilla….

  12. Jan Says:

    oops, it must have been a ftp data tranfer error, after a second try it´s fine now.
    Sorry for the wrong statement in a former post!

    You can see the correct position with the a-side castling here:

    http://www.schach-blog.de/online-partie-repariert/
    Thx for fixing it!

  13. levork Says:

    A new release is pending, so I’m going to close this post out. The next release will be here, eventually: http://www.levork.org/2008/08/01/chess-by-blog-110/

© 1999-2008 Julian Fong