Chess By Blog 1.1.2

January 2nd, 2009 § 20 comments

Another minor release. What’s new:

  • Some compatibility issues related to user logins under WordPress 2.7 have been fixed (I think this only affected the playability of live boards).
  • A single blog post containing multiple live boards should now work correctly – moves are posted to the post under the correct board, and multiple players should no longer interfere with each other.
  • A new PGN button has been added. This opens a new browser window with the PGN content of the board, this can then be saved to the local drive. This feature is somewhat experimental and I would be interested in any comments (note that due to browser security, there isn’t much I can do from JavaScript to make this prettier).
  • Live boards can now automatically refresh themselves on a regular interval, to reflect moves made by the opponent. This interval can be configured in the plugin control page (under Tools in WordPress 2.7).

As usual, here is the Chess By Blog blurb page. You can download the release directly from the wordpress server: chess-by-blog.1.1.2.zip, or first take a look at the Chess by Blog page on wordpress.org.

By the way, since a lot of my users seem to be overseas, I’m still looking for volunteers to help with internationalization – this would amount to translating the strings that are in the user interface. If you’re interested, please drop me a line.

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

Tagged

§ 20 Responses to Chess By Blog 1.1.2"

  • 星铃丹 says:

    期待已久,有空尝试一下,很帅的插件,非常喜欢。见到你说想多国语言的版本,虽然我的英语比较差,但希望能帮忙做中文版本。

  • 星铃丹 says:

    It’s such a cool plug-in, I have been looking forward for it for a very long time. Although my english is poor, I want to do some help to translate it to chinese version.

  • DylanDog says:

    Hello
    I have issues with the new version of the plugin, I use FF 3.0.5 and wordpress 2.3
    It simply works only with players=*. Also I have noticed that if I select other players a comma is placed after the name. I have manually removed it but the issue remains.
    DylanDog

  • DylanDog says:

    Ah…I forgot to add the link to the post: http://www.chessblog.eu/?p=168

  • baabou says:

    Hello, I am trying to use your wonderfull plugin in my new website, I am using WordPress 2.7.1 but unfortunatly I can’t succed
    each time i try to insert I get this 3 warnings

    Warning: session_start() [function.session-start]: open(/mnt/144/sda/5/a/baabou/sessions/sess_6dc183181f2f1c541b517d788b793f14, O_RDWR) failed: No such file or directory (2) in /mnt/144/sda/5/a/baabou/wp-content/plugins/chess-by-blog/chess-by-blog/dialog.php on line 3

    Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /mnt/144/sda/5/a/baabou/wp-content/plugins/chess-by-blog/chess-by-blog/dialog.php:3) in /mnt/144/sda/5/a/baabou/wp-content/plugins/chess-by-blog/chess-by-blog/dialog.php on line 3

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /mnt/144/sda/5/a/baabou/wp-content/plugins/chess-by-blog/chess-by-blog/dialog.php:3) in /mnt/144/sda/5/a/baabou/wp-content/plugins/chess-by-blog/chess-by-blog/dialog.php on line 3

    and I am completly unable to find what’s happening Could you possibly help me ?

    Sorry fot my poor english and Tanks for your kind coop

  • Robert says:

    It’s a great plugin! But frustratingly, persistent games don’t QUITE work for me. I’m using WordPress 2.7.1, Firefox 3.0.10, theme Painter. When I set it up for a persistent game between two registered players, White can make the first move, but Black can’t reply. It’s as if it doesn’t recognize Black as the designated opponent.

    This may be a similar problem to Pierre’s in the previous comments section. (And like Pierre’s, my site is childen, so I don’t want to post the URL.)

    Any help will be much appreciated. Thanks,

    Robert

  • levork says:

    baabou: there seems to be some problem with PHP on your end related to “sessions”. Basically, PHP needs to be able to write to a file on your server in order to distinguish between multiple people who are viewing the chess board at the same time. It seems to want to read and write a file in /mnt/144/sda/5/a/baabou/sessions/, can you make sure that this directory exists and has the appropriate permissions? You may need to give it fairly liberal permissions depending on what userid the web server process is running under.

  • levork says:

    Robert, a couple of questions:

    - after White makes a move, does Black see the position refresh correctly?
    - if so, what is the status message for Black? Some variant of “Closed for opponent’s move”, or something else?
    - is there a difference between how Black and White are setup in terms of first name/last name, userid, etc? What are their WordPress permissions?
    - odd question: is there a space in Black’s userid?

    Feel free to privately mail me your URL and I can try to diagnose the problem, that’s how I ended up figuring out Pierre’s issues. I’m a little busy today but I’ll try to look into it before the end of the week.

  • Robert says:

    - Yes, White’s move is there in the score and on the board, and the arrows all work.
    - “Closed game. Black to move.”
    - I’ve tried Subscriber/Subscriber, Subscriber/Administrator, and Administrator/Administrator, to no avail. Each userid is one word long.
    Some of the test accounts I’ve tried have first and last names in the profile, some don’t.
    - No, no spaces in any that I have tried.

  • Matt says:

    I have the same problems as Robert. Black cannot make a move. It reads “Closed Game. Black to Move.”
    I really am a big fan of this plugin, and hope that there is some way to resolve this issue.

  • levork says:

    Robert, Matt –

    Understood. I haven’t been able to look at the problem yet since my fiancee is in the hospital and my spare time is spent there, but I’ll let you know as soon as I can figure out what the issue is.

  • Matt says:

    Thank you. I think I may have a fix just by using div tags instead of the button in the post editor, and PGN instead of FEN. I’ll be able to confirm that tomorrow. Sorry about your fiancee. I hope there is a quick and complete recovery.

  • Robert says:

    Julian —

    I’m so sorry. Yes, by all means, don’t even think about us until she’s better!

    Matt: Let me know how it goes.

    Thanks,

    Robert

  • Matt says:

    So, it works on my blog when I use the [div] tags with PGN instead of the Chess-by-Blog button. I still get a bizarre error sometimes when I try to post a move, but as soon as I refresh the page it lets me make the move then.

  • Robert says:

    Matt — Could you be more specific (i.e., paste in some sample code)? I’m not sure exactly how that works.

    Thanks,

    Robert

  • Robert says:

    Never mind. I’ve got it. Thanks.

  • Matt says:

    having trouble getting tables to size correctly, not sure if it’s wordpress related or not, but any help with css would also be good, the theme is iNove

  • levork says:

    Hi Robert, Matt,

    Thanks for your patience and sorry for the delay in getting back to you. I think I’ve figured out the problem with the board being closed after starting a game with the Chess-By-Blog button – turns out somewhere along the way, a spurious <P></P> tag is being inserted (you can see the newline in the HTML editor when you hit the button – WordPress is being silly and inserting a break for me) and the client code is getting confused by that extra tag. I should have that sorted out over the weekend. I’ll try to fix the PGN button for Internet Explorer while I’m at it.

    Matt, related to the tables: what did you fix? Is there something better that I could be doing to avoid being disrupted by CSS?

  • levork says:

    Hi everyone,

    I’ve worked around a formatting issue caused by WordPress (which was inserting tags into the middle of the PGN block). I believe this was the cause of the authentication issues for persistent games. I’ve cut a new release: http://www.levork.org/2009/07/12/chessbyblog-113/

    I’ll close this page out for new comments, please post in the 1.1.3 thread if you have any issues. Thanks!

What's this?

You are currently reading Chess By Blog 1.1.2 at levork.org.

meta

  • Pages

  • Archives

  • Categories

  • Twitter

  • Flickr