pgn4web
Forum Replies Created
-
Forum: Plugins
In reply to: [Embed Chessboard] Install Engine analysis boardAt this point the engine analysis board is not bundled into the embed-chessboard plugin.
Adding this functionality is not a supported feature and would require manual patches of the plugin files.Forum: Plugins
In reply to: plugin banner display issues from wp 4.0 admin pagesit looks like the issue has to do with the css class
#plugin-information-title.with-banner
and the attribute
background-size: 100% auto;
Adding the following slightly improves how my plugin is shown:
background-repeat: no-repeat;
Forum: Plugins
In reply to: [Embed Chessboard] Null Move and NAG at the beginningBoth problems should be fixed with the new plugin version 2.85.00
Forum: Plugins
In reply to: [Embed Chessboard] Null Move and NAG at the beginningAbout the NAG color, it’s a design choice: when certain NAGs are right after a move, they are merged with the move and get the move color. When they are within a comment, they get the comment color. The NAG before any move is a kind of exception, I think I might have changed the behavior since you downloaded the new file, so you might try to download both files again and see if still ok.
About the bishop, when pgn4web detects a “move pattern” within a comment, it formats that move text using figurines, hence Bd4 gets the Bishop char while Bp4 does not. Also an isolated B does not get translated, how could pgn4web know whether you meant a Bishop or the initial for Bob?
Also note, pgn4web does not use the unicode char for Bishop, that would break cut&paste of the game text into a text editor.At the moment there’s no facility for showing a bishop char standalone in a comment, so “intending to capture the B” would not get the bishop char; often you can workaround that by saying “intending to capture the Bh6”; a piece initial with its square looks like a move and gets translated.
Forum: Plugins
In reply to: [Embed Chessboard] Null Move and NAG at the beginningIf you also want to try the nullmove fix (stopping www.ads-software.com from changing double dashes in the PGN text), locate the this file in your wordpress installation:
wp-content/plugins/embed-chessboard/embedchessboard.php
Replace the file with the one downloaded from here:
https://plugins.svn.www.ads-software.com/embed-chessboard/trunk/embedchessboard.php
Empty your browser cache and reload your pages.
Again, if you try this, please let me know if the nullmove problem is solved.Forum: Plugins
In reply to: [Embed Chessboard] Null Move and NAG at the beginningMore info.
About the nullmove issue: there’s a feature for disabling beautification of text inside shortcode tags; I have some code that should be enough for your case however the general resolution depends on this bug being addressed: https://core.trac.www.ads-software.com/ticket/28773#ticket
About the starting NAG: there’s some updated code you could try if you are brave enough. Locate the this file in your wordpress installation:
wp-content/plugins/embed-chessboard/pgn4web/pgn4web.js
Replace the file with the one downloaded from here:
https://pgn4web.googlecode.com/svn/trunk/pgn4web.js
Empty your browser cache and reload your pages.
If you try this, please let me know if the NAG problem is solved.Forum: Plugins
In reply to: [Embed Chessboard] Null Move and NAG at the beginningDid a bit more of analysis.
1) about the nullmove: www.ads-software.com automatically replaces two dashes with the em-dash char (& #8211;); it’s not your template. Not sure why wordpress would do that, but I’ll implement a workaround in the next version of the plugin
2) about NAG before the first move, I’m not sure they make any sense, but it’s incorrect for pgn4web to suppress them arbitrarily; this should also be fixed in the next version of the plugin
Some more test needed, not sure when the next version of the plugin will appear… it might take few weeks.
Forum: Plugins
In reply to: [Embed Chessboard] Null Move and NAG at the beginningThanks for reporting the issue.
About nullmoves, the appropriate tag is — (two dash) while in your example you use only one dash.
About the zugzwang NAG before the first move, I have to think about that… most NAGs are associated to a move, so there’s nothing to associate to before the first move… I have to think about that.
Forum: Plugins
In reply to: [Embed Chessboard] Do the updates contain any new features?You can certainly ignore them, if that works for you. However keep in mind that only the latest version is supported and older version might not work properly with newer versions of www.ads-software.com
Keep in mind, the additional bitmaps are deleted only if you place them within the extension files; they won’t be deleted if you place them elsewhere (see https://code.google.com/p/pgn4web/wiki/User_Notes_wordpress)
Forum: Plugins
In reply to: [Embed Chessboard] Align Left – ChessboardTwo comments:
– the width of the chessboard is stretched because of the length of the text in the header elements; try to make those shorter and see if that helps
– the plugin settings in the admin pages have a field labeled “CSS style for the HTML DIV container of the plugin frame” that allows for styling the container of the chessboard; using this field might help in situations like you describe; I can’t really provide much guidance, it really depends on the wordpress template you are usingI can’t really help beyond that, the small screen of the phone might not be ideal to show chessboards and their notation in a blog format.
Forum: Plugins
In reply to: [Embed Chessboard] Align Left – ChessboardDo you have a link to a page showing the problem?
Forum: Plugins
In reply to: [Embed Chessboard] Auto Play stops at move 19This is not a discussion forum.
This is only to report bugs of the EmbedChessboard www.ads-software.com plugin.The plugin does not provide a chess engine and I don’t understand what you mean with paper…
Forum: Plugins
In reply to: [Embed Chessboard] Auto Play stops at move 19Your PGN is not correct and the plugin stops because 19… Qb2 is not a legal move.
Forum: Plugins
In reply to: [Embed Chessboard] Notation coordinatesThanks for the feedback. It’s very unlikely for the coordinates to be added.
A user made a custom version of the core pgn4web.js file that would enable coordinates, but this is not endorsed or supported by the pgn4web project in any way, use at your own risk:
https://open-chess.org/blog/?p=388
In case you are interested, please ask the blog author directly for more details and a copy of his code.
Forum: Plugins
In reply to: [Embed Chessboard] Notation coordinates>
> You are basically saying there is no need for coordinates as a learning tool.
>No. My personal opinion is that a chess fundamentals book is a better learning tool in order to reach the point where you do not need coordinates anymore.
The design principle of pgn4web is to focus on a minimalist chessboard and avoid any unnecessary distractions as you find in other similar tools: coordinates, arrows, excessive amount of buttons and so on.
pgn4web is designed for people that have the chess knowledge to read a chess game, following the Chess Informant style of publications (hence, for example, no ‘+’ sign for checks, no ‘=’ sign for promotions, no ‘x’ sign for captures).I have no plans to make the display worse and cluttered for my target audience in order to help those that can’t actually play chess.
For your site you should probably use a different game display tool, there’s plenty to chose from, some certainly support coordinates around the chessboard.