pgn4web
Forum Replies Created
-
Forum: Plugins
In reply to: [Embed Chessboard] Set URL to the filePlease do not mix completely different questions into a single topic, it makes it very difficult to follow.
Yes, you can use FEN positions with the plugin, provided you use the FEN tag as specified with the PGN standard (see FEN header tag).
The main pgn4web package at https://pgn4web-downloads.casaschi.net contains several example of FEN positions within PGN files.
Forum: Plugins
In reply to: [Embed Chessboard] Set URL to the fileThe feature of loading chess games from a PGN file is not officially supported by the wordpress plugin.
However the unsupported extended option feature could be used for that purpose as described in a note at the bottom of the wiki page:
https://sourceforge.net/p/pgn4web/wiki/User_Notes_wordpress/FAQ: how to use the plugin with PGN files?
The supported setup requires providing the PGN data within the [pgn] … [/pgn] tag as described above, however the plugin can also be used with PGN files; although not a supported feature, the following instructions might help:
– make sure a PGN file is available on the same server as the plugin; assume for example the PGN file is available as /games/games.pgn
– enter the following code in your post: [pgn eo=t pd=/games/live.pgn] [/pgn]Keep in mind, unsupported features are not supported and might stop working in future releases of the plugin.
Forum: Plugins
In reply to: [Embed Chessboard] Error Message When Using PluginLet me know their feedback!
Forum: Plugins
In reply to: [Embed Chessboard] Error Message When Using PluginLooking at your page, I think there might be an issue with the wordpress theme you are using.
The embed chessboard plugin works inserting an iframe with the chessboard on the page, however the URL of the iframe is not what the plugin posted there.
The plugin posts an iframe URL that in your case ends with&pi=pgn4web_46eaa228
while the actual iframe URL I see on the page is
&pi=pgn4web_46eaa228?wmode=transparent
This breaks the plugin.
You should probably try a different theme and see if the chessboard is shown correctly; in that case you might want to contact the developers of the theme you selected. Sorry I can’t help you further than this.
Concerning your last set of questions, yes the plugin works on mobiles and tablets, however it’s not responsive in adapting to the screen size, so you might like the final result… or not. I have no plans in the short term to make the chessboard responsive.
Forum: Plugins
In reply to: [Embed Chessboard] Integrating with WordPress/bbPress forumThis is the support site for the pgn4web based embed chessboard plugin for www.ads-software.com
bbPress is not supported at the moment.
The third party platforms with known pgn4web integration guidelines are listed here:
https://sourceforge.net/p/pgn4web/wiki/User_Notes_Web_Platforms/
bbPress is currently not listed, so no solution is available yet, however it should not be difficult to adapt the phpBB solution provided that bbPress allows for the definition of custom bbcodes.Forum: Plugins
In reply to: [Embed Chessboard] Change "…" to select game?There’s no configuration option to change that marker; the “…” is used as symbolic reference in order to avoid text in a given language (English might be ok with most but not necessarily everyone).
The only way to change that marker is to manually patch the source code of the plugin according to these instructions:
1) open the following file with a text editorWORDPRESS_ROOT/wp-content/plugins/embed-chessboard/pgn4web/board.html
2) replace the line
SetGameSelectorOptions(null, false, 0, 0, 0, 15, 15, 3, 10);
with the line
SetGameSelectorOptions(“Select a game…”, false, 0, 0, 0, 15, 15, 3, 10);
Done!
Notes:
– you might have to clear the browser cache before reloading your page for the change to show in your browser
– if you ever update the embed-chessboard plugin to a newer version using the automatic wordpress update system, your customization will be lost and you have to apply that manually againForum: Plugins
In reply to: [Embed Chessboard] Switching sidesThe end user looking at a chessboard on a www.ads-software.com site can flip the board clicking the E7 square or pressing the “f” key while the chessboard is in focus.
There’s no provision in the plugin to post a chessboard flipped with Black on bottom at startup. While it would not require a lot of effort to implement this option, this feature is not available nor planned: printed chessboard in my opinion should always have White on bottom, leaving the option open would only generate confusion, for example in ending positions with just few pieces/pawns.
If you are strongly interested in implementing the feature for your own use, feel free to contact the pgn4web project at pgn4web(at)casaschi.net
Forum: Plugins
In reply to: [Embed Chessboard] Multisite compatability?An initial quick look shows a level of complexity for implementing multisite support well beyond the scope of this extension; as a result, this feature will not be added short term.
Forum: Plugins
In reply to: [Embed Chessboard] Responsive Chessboard (for smartphones)The embed chessboard plugin does not support this feature; it would require a significant development effort to add this functionality.
Forum: Plugins
In reply to: [Embed Chessboard] Selection colorUnfortunately, changing the selection color is not an available option at this point.
Forum: Plugins
In reply to: [Embed Chessboard] Annotations in new linesthis can’t be done; the pgn standard allows you to comment with plain text, chess symbols and variations, they did not consider formatted text options
Forum: Plugins
In reply to: [Embed Chessboard] Annotations in new linesit’s exactly the same. Just try it.
Forum: Plugins
In reply to: [Embed Chessboard] Multisite compatability?I never tried embed-chessboard on a multisite configuration.
I’ll have a look what might be required to enable multisite compatibility.
Multisite enabled plugins most likely need a different set of initialization and configuration APIs; a questionable design choice, if you ask me, that a plugin should behave differently if dedicated to a standalone installation or if dedicated to an instance of a multisite installation, but this seems to be the issue.
No promises of this feature happening at this point. I’ll post update here of any progress if available, so if you subscribe to this topic you should get automatic notifications.
Thanks for flagging the issue.
Forum: Plugins
In reply to: [Embed Chessboard] Install Engine analysis boardNot sure what you expected: you asked for a feature and I explained that I had considered in the past and decided not to include in the plugin. A very honest reply of what it is and what is likely to happen.
Or would you expect me to run implementing anything you ask for disregarding my other personal priorities and my other project priorities?
Also, keep in mind the project is fully open source; if you really care so much for this feature you can always fork the code and add the feature yourself; unless doing some actual work to achieve what you want is too much to ask.
Forum: Plugins
In reply to: [Embed Chessboard] Install Engine analysis boardTo be honest with you, there are currently no plans to add the functionality you require to the www.ads-software.com plugin.