Chessgame Shizzle is a nice way to integrate chessgames into your WordPress website. Ideal for chess clubs, your chess blog, or any chess related website.
Editors and guests alike can add chessgames in PGN format through a frontend form. All chessgames are available in a custom post type as a single post with an archive list and taxonomies, it couldn’t be more simple. Included widgets give you many ways to display your chessgames.
Current features include:
- List view and single view for chessgames as a WordPress post.
- Easy to use form on the frontend to add a chessgame.
- Simple and clean admin interface that integrates seamlessly into WordPress admin.
- Several widgets to display latest game, featured game or a list of recent games.
- Moderation, so that you can check a chessgame before it is visible.
- Subscribing to notifications.
- Board themes and Piece themes.
- Anti-spam features with Nonce, Honeypot, Form Timeout for upload form.
- Generate (featured) images from a chess position.
- Localization. Own languages can be added very easily through GlotPress.
… and all that integrated in the stylish WordPress look.
Translations can be added very easily through GlotPress.
You can start translating strings there for your locale. They need to be validated though, so if there’s no validator yet, and you want to apply for being validator, please post it on the support forum. I will make a request on make/polyglots to have you added as validator for this plugin/locale.
Check out the demo at http://svpegasus.nl/
This plugin is compatible with ClassicPress.
I added a chessgame, but when viewing I get a 404 error.
Please go to Dashboard Settings Permalinks and hit ‘Save’ twice. That should flush your permalinks and make it work.
Where is my index page with the archive of chessgames?
You can browse to /chessgame and you will see the archive page. The template used for this is archive.php.
Which shortcodes are available?
- ‘[chessgame_shizzle_form]’ for the upload form.
- ‘[chessgame_shizzle_simple_list]’ for a simple list with max 500 entries.
- ‘[chessgame_shizzle_game postid=”536″]’ to show a single game that was published in the chessgames post type.
- ‘[chessgame_shizzle_game_extended postid=”536″]’ to show a single game that was published in the chessgames post type.
What about Spam?
By default this plugin uses:
- Nonce: Will verify if you really loaded the page with the form first, before posting a chessgame. Spambots will just submit the form without having a Nonce.
- Honeypot feature: Hidden input field that only spambots would fill in.
- Form Timeout: Check if the form has been submitted too fast.
New submitted chessgames will be set as pending, waiting to be moderated. When someone adds a chessgame that is considered spam, it will not be accepted and the user will get a message on the frontend form.
- Install the plugin through the admin page “Plugins”.
- Alternatively, unpack and upload the contents of the zipfile to your ‘/wp-content/plugins/’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- For the form, add ‘[chessgame_shizzle_form]’ in a page. That’s it.
- For managing chessgames, check ‘Chessgames’ in the admin menu.
The plugin itself is released under the GNU General Public License. A copy of this license can be found at the license homepage or in the chessgame-shizzle.php file at the top.
- Add dropdown with prefab results to upload form.
- Add dropdown with prefab results to admin metabox.
- Add pagination for simple list shortcode.
- Flush cache on save_post action for recent chessgame.
- Add function chessgame_shizzle_clear_cache.
- Use esc_html functions everywhere.
- Use static vars instead of global vars in messages.
- Small fixes found by the phan tool.
- Add new file functions/cs-post-meta.php for meta fields for posts with shortcodes.
- Only load admin files on wp-admin.
- On settings page, have separate functions for $_POST update.
- Add some accessibility fixes.
- Don’t use transients for hashed field names, is faster this way.
- Add Variation text to help text.
- Add link to frontend to generate image from position. (Requires GD).
- Add button to admin preview to generate featured image from position. (Requires GD).
- Add boardtheme ‘newinchess’.
- Add class ‘MFEN’ for generating images.
- Add ‘dir’ to piecethemes.
- Add function ‘chessgame_shizzle_get_piecetheme_dir’.
- Add function ‘chessgame_shizzle_get_boardthemes_full’.
- Add function ‘chessgame_shizzle_get_boardtheme_full’.
- Add cs-frame-post_id ID to iframes.
- Small CSS updates for iframe widgets.
- Small CSS updates for admin preview.
- Add shortcode ‘chessgame_shizzle_game’ for a single game.
- Add shortcode ‘chessgame_shizzle_game_extended’ for a single game.
- Set timeout from 7s to 4s.
- Add option to add chessgames to main RSS Feed.
- Add download link for PGN file.
- Add widget for searching chessgames.
- Add boardthemes beyer, blue, chesscom_blue,, chessonline, falken, informator, pgnviewer_yui, zeit.
- Add boardthemes bamboo, burl, coffee_bean, ebony_pine, executive, marble, marble_blue, marble_green, wenge.
- Update boardtheme wood.
- Set default options to use the cache.
- Cleanup piecethemes.
- Add screen-reader-text to metadata link in single view.
- Rename boardtheme chess24 to wood and fix it.
- Add boardtheme magazine.
- Add ‘noscript’ to upload form.
- Add tags and categories to meta information at frontend on single view.
- Add metabox on admin editor for preview of pgn game.
- Add preview board for theme settings.
- Add antispam function for form timeout.
- Improve antispam function for honeypot.
- Add settingstab for antispam options.
- Update to pgn4web 3.03.
- Add function ‘chessgame_shizzle_get_field_name’.
- Fix warning for PHP 7.2.
- Add more boardthemes.
- Add more piecethemes.
- Change highlightcolor.
- Load JS/CSS in iframe directly, not through wp_footer.
- Simple list really only fetches max 500 posts.
- Always enqueue our own media (for iframe widgets).
- Slightly smaller board in iframe.
- Add widget for featured chessgame in iframe.
- Improve some ECO codes.
- Add settings page.
- Add boardthemes.
- Add piecethemes.
- Add email notifications.
- Add widget for recent chessgames.
- Add widget for most recent chessgame in iframe.
- Revert to original color of highlighted move.
- Move thirdparty software to own dir /thirdparty.
- Improve some ECO codes.
- Add admin page for importing PGN games.
- Add PgnParser and accompanying libraries.
- Add link to simple list.
- Support all ECO codes.
- Rename themefiles from chessimager.
- Add shortcode ‘chessgame_shizzle_simple_list’.
- Save meta key for this shortcode.
- Better placeholder for date in upload form.
- Prefix all function names.
- Use esc_html functions and similar for escaping.
- Sanitize and validate data.
- Return the form with an error for Honeypot and Nonce.
- List third parties on about page.
- Do not concatenate strings, but use sprintf on about page.
- Initial release.