Rated tactics for Logged on Users
From version 1.0.68 of WordPressChess, tactics for logged on users is available. This features makes it possible for you to show tactic puzzles to your logged on users. ELO is also calculated based on how they do it on these puzzles. You can see an example of this in use below.
To use this features, you must first enable user registrations in your WordPress admin(Settings->General).
Here’s an example of the shortcode for the rated tactics:
[chess tactics="1" tpl="2" db="26,27" width="60%" float="left" css="padding-right:8px"]The import properties are tactics, db and tpl
tactics should be set to 1 and tpl should be set to 2.
The db attribute contains references to the imported chess databases. If you want to show games from more than 1 database, you separate each database id with a comma as in the example above.
When multiple databases are used, WordPressChess will first show games from the first database. Once all those games has been completed(solved or failed), it will show games from the second database and so on.
Not-logged on users
By default, not logged on users will see a clickable box on the board which will redirect them to the login page. After successful login, they will be directed back to the tactics board. If you do not want this feature, you can use the attribute
to show the other for not logged on users. This tactics board(tpl=1) does not require a login.
The stylings used in this template is something you can override in your WordPress css (Appearance->Customise).
Here are the css classes used for this tactic template:
Image shown to not logged on users
background:url(../images/clock-icon.png) left center no-repeat;
Colors for positive or negative rating change
Buttons for next game and reload current game
Changing the image is not yet supported, but will be implemented soon.
Color of failed and solved box above the board
Large start button
background: url(../images/clock-icon.png) left center no-repeat;
font-family: digital-7, arial, sans-serif;
Note: The digital-7 font is a font which comes with WordPressChess PRO. WordPressChess.com has purchased a commercial license for this font.
Please feel free to comment using the form below.