Comments/Ratings for a Single Item
A minor(?) bug in the board‐size pseudo‐tags: the numbers are interpreted in two different orders. To wit:
- The Capablanca Chess page has a pseudo‐tag for a “10×8” Board; clicking this link leads to a query page for games with 10 ranks and 8 files
- Conversely, selecting any game in that list (e.g. the first of its Game Pages alphabetically, Gilman's Avon) shows that its board‐size pseudo‐tag is “8×10”, a link leading to the 8‐rank/10‐file query where e.g. Capa can be found
Minor at least in the sense of a presumably trivial fix ;)
I had inserted standard code for reading the query string. This code first tried parsing the value of getenv("QUERY_STRING") with parse_str(). However, the parse_str() function uses urldecode(), which converts + signs into spaces. To get around this, I cut out that portion of the code and now just get the values of the query string from $_REQUEST. I made this change to taginfo.php, addtags.php, and deletetag.php.
But what do these add, now with board size specified and linked at the bottom of pages?
To my opinion it is interesting to have a tag related to board size. But those tags should be rationalised. Either 12x12 or Dozenal but not both. Also their form to be consistent. We have "board: 10x8" and "12x12".
@Fergus, the Chess+Compounds
link, and adding of that tag, don't work, presumably something has changed with the handling of the +
.
Since people keep wanting to use tags for information that is already stored in the database, I have modified the footer script to include categories and board dimensions just above the tags section.
Did any of the folks interested in board size tags still find them useful after this addition, or can we delete them?
Since people keep wanting to use tags for information that is already stored in the database, I have modified the footer script to include categories and board dimensions just above the tags section.
What would be an appropriate tag for hexagonal boards?
We have a tag for "Dozenal" and a tag for "12x12Board". Both are addressing exactly the same thing. May an editor clean one of them?
I edited my previous comment a lot, for any who missed it.
Well, I recall a published preset[s] (landing) page can get commented on and also get CVP Rating[s] ('Excellent', etc.) given to the preset[s] by posters (I would think one purpose of a landing page is to neatly allow comments on the quality of the preset[s] itself, i.e. the graphics, whether it works etc.; also, something like CWDA has so many sub-presets that a single unifying landing page may be best). Ratings are a way to track down published presets/CVs, possibly (currently the CVP 'Average Ratings' link gives only ratings for games with Rules Pages already submitted).
Unfortunately, unpublished presets (or Game Settings files) cannot seem to get CVP ratings (or non-Kibbitz comments, unless during submission process, if any) given to them, I think [too].
@Kevin, indeed GC presets aren't "Items" in the database, and so can't be favorited, commented on, tagged, etc. Perhaps some of that can be changed, but it would be a pretty big change. (I think favorites should be limited to games, but comments on a preset separate from the game make sense to me. I'm not sure about tags: I wouldn't want information duplicated between the game and the preset, but maybe there are sensible preset-specific tags? But then we'd have the same system for two disjoint sets of objects...)
As for searching for presets (without a Game or preset landing page*), maybe the /play/pbm/listgames.php
script should take additional filtering options.
*That's another thing: the pairing of preset landing pages (MP... for member-submitted ones) with presets has always seemed redundant to me.
Hi Ben
I cannot seem to find 'Games on same Board' as a (e.g. 'Related') option for unsubmitted/unofficial presets. For example, (10x10) game courier preset zcherryz7c
https://www.chessvariants.com/play/pbm/play.php?game=zcherryz7c&settings=zcherryz7c
Maybe I could find other 10x10 games if I used a tag for either that preset or 10x10 boards? (I know nothing about tags, really, though). The rules for tags may indicate that unpublished presets are not allowed to have tags (nor are Game Settings files?), though.
Tags that worked well with unsubmitted presets (or on Game Settings files) would be good, as you wouldn't have to wait for a preset to be submitted (and eventually published, if deemed acceptable) in order to try to track it down, without slowly searching through the 1000+ games on the Game Courier list of games.
@Jörg You can also get to same-board listings from the header menu, Related->Games on Same Board
.
I find the square board tags quite handy, they allow a quick navigation to other games on the same board. Going to the game info page and selecting the right category (best working is the number of cells in the case of square boards) takes longer.
And I really love the piece tags.
Thanks Thomas, you're right. Neither of these tags should exist anyway, because item entries already store the number of rows and columns, and that's a better way to search for items.
We started to work on adding pieces to the database a couple of years ago, and I'd like to pick that back up. Eventually that would replace the piece tags here (at least, I think it would be better), but until we get scripts up for crowdsourcing the piece-game relation table, I think users adding tags like these will work, and we can migrate the information over later.
I have added one more restriction on tags. They must be written entirely in ASCII characters. For the sake of posting comments to tag pages, tags form the basis for the ItemIDs of tag pages. To avoid the illegal mix of collations errors from the database, they, like ItemIDs, are now limited to ASCII.
I'm not sure what you mean. Do you mean connect with SSH and I'll find it in clear text in a mariadb config file?
No, that's not what I mean. I mean a php script that is outside of public_html that gets included in every php script that accesses the database.
The database has a new password, which you can find by logging in and looking it up in the file that contains it.
I'm not sure what you mean. Do you mean connect with SSH and I'll find it in clear text in a mariadb config file?
Which reminds me - is the table of piece types and their IDs/internal names finalized? If it is, I can start populating the piece<->game mappings. I have the data to populate this for about 135 games in a fairly automatic way.
Okay, sure. I have been sidetracked by other things for a while. The database has a new password, which you can find by logging in and looking it up in the file that contains it.
I think in part this class deserves a quickly found list because it's so common to want to include the compounds; it may help new developers understand the prior art in this area.
Ok, yes, this is a good point
OTOH, the tags for groupings of pieces feels like a kludge that offers very little value if the other approach is available...
This depends on what kind of search utility we can provide (elegantly), and how much convenience we think this class of games deserves. The current definition of the tag would need a search like "includes at least one of marshall/archbishop/amazon and no pieces outside of FIDE+those".
I think in part this class deserves a quickly found list because it's so common to want to include the compounds; it may help new developers understand the prior art in this area.
should KRBN-compounds be separate from Man-RBN-compounds?
In Fusion Chess, compounds with the King are royal. So, some distinction might be appropriate. You might be thinking of a game like Sac Chess for the latter, but that game also has Amazons, which Fusion Chess doesn't have. Here are some options:
- Use Pieces:Chess+Compounds more loosely
- Same as above but include child tags for variations.
- Make many fine distinctions in children of Pieces.
- Just use names of games with certain piece sets, such as Pieces:Carrera's Chess, Pieces:Fusion Chess, Pieces:Sac Chess, etc.
- A hybrid approach that uses game names for larger sets to avoid making long tags like long German words.
25 comments displayed
Permalink to the exact comments currently displayed.
The query string put boardrows ahead of boardcols, and I was assuming the reverse, since I normally write columns before rows. So, I changed the order of boardrows and boardcols in the query string to fix this.