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!
January 8th, 2008 at 7:54 am
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
January 8th, 2008 at 8:09 am
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.
January 8th, 2008 at 9:59 am
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.
January 8th, 2008 at 10:01 am
ok, sorry…you are right.
February 8th, 2008 at 7:12 am
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
February 8th, 2008 at 8:37 am
Oops. Sorry about that. I’ll try to post a fix on Sunday (I’m a little busy with work & family at the moment).
February 17th, 2008 at 10:28 am
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
February 17th, 2008 at 2:10 pm
Hi levork,
the a-side castling bug seems to be fixed. Our demo-match now shows the correct position!
Thx!
Jan
February 19th, 2008 at 2:06 pm
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…
February 20th, 2008 at 11:33 am
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?
February 20th, 2008 at 5:40 pm
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….
February 21st, 2008 at 9:01 am
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!