This plugin will convert FEN (Forsyth–Edwards Notation) strings contained in your blog's posts and comments and turn them into images.
This occurs if the script is unable to make a directory to place its cached images. Just go to where you installed the plugin and make a new directory called
cache and, if necessary, give it the proper permissions (777) for PHP to save files to it.
To make a FEN image appear, simply use something like
[fen]rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1[/fen]. It's recommended that you put it in a paragraph tag of its own (i.e. use two enters before and after that line) for aesthetic reasons. Note that you can drop everything after the pieces information (which is everything before the first space) since that information is not used in the generation of the image.
You may want to add a caption, e.g.
[fen caption="The board's starting position"]rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[/fen].
It's true that HTML tables or divs would be more efficient, but they're also slightly less usable. This way, you can generate chess positions for use in any container. You can save them, send them via e-mail or include them in other documents.
Customizing the default settings must be done by editing the
config.php file. An admin page is planned, but I'm not sure exactly when I'll get around to making it. Changing the pieces can be done simply by adding a new directory with images and changing the default, though you may need to empty the
cache directory afterwards. By default, WP_MFEN includes a bit of CSS to get things working; to change it, it's recommended you copy and paste it into your own document and then disable the default in the config (don't edit the CSS in the plugin file, since it'll be reverted if you ever decide to update it).
mfen.php directly. That file does the actual work, and it does not depend on the presence of WordPress.
Great, let me know and I'll fix or incorporate it! When I find the time, that is. Which may be never. Contributing patches is fine too!
Requires: 2.6 or higher
Compatible up to: 2.7
Last Updated: 8 years ago
Active Installs: Less than 10
Got something to say? Need help?