Ah ok I will fix that tonight.
Some pgns are buggy. I will modify the code for the pgn to JSON parser so that it gracefully ignores games it can't understand. I will of course also try to fix the parser if there's a bug in it.
Search found 109 matches
- Wed Feb 22, 2017 2:49 pm
- Forum: Bug Reports
- Topic: I got this error while importing pgn
- Replies: 9
- Views: 72781
- Tue Feb 21, 2017 8:40 pm
- Forum: Bug Reports
- Topic: I got this error while importing pgn
- Replies: 9
- Views: 72781
Re: I got this error while importing pgn
Send me the pgn(you have my email) and I will take a look at it. It's a problem parsing one of the games.
- Tue Feb 21, 2017 8:24 pm
- Forum: General Help
- Topic: Chess pieces not shown
- Replies: 6
- Views: 111031
Re: Chess pieces not shown
Steve, I have found the bug. What I need you to do is to 1) deactivate the plugin 2) delete the plugin This is done in admin Rename the zip file to dhtml_chess.zip (from dhtml-chess-wordpress.zip) The zip file has to have the same name as the plugin and the plugin is named dhtml_chess. Then try to u...
- Tue Feb 21, 2017 8:22 pm
- Forum: Suggest Improvements
- Topic: The ability to delete databases
- Replies: 1
- Views: 52958
Re: The ability to delete databases
I haven't documented that and it's a "hidden" feature. In the list of databases, you can swipe right on the database item to archive the database. Archived means hidden from the editor. Then from the Archive menu item, you can choose to restore it(make it active again) and to delete it. There it's a...
- Tue Feb 21, 2017 7:13 pm
- Forum: Suggest Improvements
- Topic: Need your input: Shorttags
- Replies: 5
- Views: 82668
Re: Need your input: Shorttags
Support for width attribute has been added today. Default is 100% example: [fen width="70%"]....[/fen] for 70% of parent [chess game="1" tpl="5" width="500"] for 500 pixels In most templates, height is dynamic based on width, so support for that attribute is not yet added. It may be added on some vi...
- Tue Feb 21, 2017 5:07 pm
- Forum: Suggest Improvements
- Topic: Custom board Colours
- Replies: 3
- Views: 66553
Re: Custom board Colours
I forgot to mention the theme attribute in the list of short tag attributes. You have the "theme" attribute which you can use. Is this what you had in mind or are you thinking of something different?
examples
[fen theme="brown"]....[/fen]
[chess db="1" tpl="1" theme="grey"]
examples
[fen theme="brown"]....[/fen]
[chess db="1" tpl="1" theme="grey"]
- Tue Feb 21, 2017 3:41 pm
- Forum: General Help
- Topic: Chess pieces not shown
- Replies: 6
- Views: 111031
Re: Chess pieces not shown
Steve, From the error log(Ctrl+Shift+I), I can see that the images are missing. Example from the log: GET http://chessforchildren.com/wp-content/plugins/dhtml_chess/api/images/leipzig90wp.png 404 (Not Found) Something seems to have gone wrong during the installation, but it's hard to tell what the p...
- Tue Feb 21, 2017 12:10 pm
- Forum: General Help
- Topic: Chess pieces not shown
- Replies: 6
- Views: 111031
Re: Chess pieces not shown
Steve, Here's a small checklist for you which could help me :) Do you have a link to a test page where I can take a look at the problem? Which browser are you testing with? To rule out browser issues, are you able to see the pieces at this site or wordpresschess.com ? In google chrome, click Ctrl+Sh...
- Mon Feb 20, 2017 5:06 pm
- Forum: Suggest Improvements
- Topic: Need your input: Shorttags
- Replies: 5
- Views: 82668
Need your input: Shorttags
In this thread, I need your input on what attributes you want for your shorttags. An example of a short tag is [chess db="1" tactics="1"] for showing tactics of the database with id 1 or [fen]6rk/R6p/2pp4/1pP2n2/1P2B1Q1/n6P/7K/r3q3 w - - 0 1[/fen] to display a fen position. the **chess** short tag s...
- Sat Feb 18, 2017 12:28 am
- Forum: Suggest Improvements
- Topic: Some Improvement Suggestions
- Replies: 3
- Views: 32252
Re: Some Improvement Suggestions
I have implemented support for the [pgn] tag now. I have also modified the [fen] tag and the other tags according to Wordpress guidelines. The new format is for fen: [fen]<fen string>[/fen] for pgn: [pgn]<pgn string>[/pgn] For pgn, I recommend enter Text mode(not Visual) before entering the code. Ot...