Check out Modern Chess, our featured variant for January, 2025.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

EarliestEarlier Reverse Order Later
Diagram Designer. Lets you display diagrams without uploading any graphics.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Sat, Apr 8, 2023 04:25 PM UTC in reply to Siwakorn Songrag from 01:41 PM:

What heppened with diagram designer? It's some kind of bug because diagram is going to obscured on something and prevent me for change that such as piece style.

I moved the form up higher to make it level with the diagram. This didn't cause any problems on my wide HD screen, but when I made the window narrower just now, I saw that the diagram was overlapping with the form. I'll look into fixing that.


🕸💡📝Fergus Duniho wrote on Sat, Apr 8, 2023 04:48 PM UTC in reply to David Paulowich from 02:56 PM:

I have now redesigned the layout with flexbox.


🕸💡📝Fergus Duniho wrote on Thu, Nov 23, 2023 02:47 AM UTC:

I've reorganized this page to be less cluttered and more mobile-friendly, and I've updated the details on how to display individual pieces. I'll continue work on it tomorrow.


🕸💡📝Fergus Duniho wrote on Wed, Nov 29, 2023 04:52 PM UTC:

I have fixed this so that setting the group changes the available sets like it does in Game Courier, using JavaScript without any need to reload the page.


Kevin Pacey wrote on Sat, Jan 20, 2024 03:37 AM UTC in reply to Fergus Duniho from Fri Mar 11 2016 04:04 PM:

Here's a post with a bit of history. In case there was doubt, it wasn't my imagination that I/other(s) had been allowed since long ago to use drawdiagram.php to display individual pieces in submissions:

Fergus wrote (on 11 Mar 2016):

"Since some contributors have been using drawdiagram.php to display individual pieces, I have made a couple changes.

  1. When drawdiagram.php is used to display a single piece image, it will not display coordinate labels.

  2. The Diagram Designer now includes code you can cut and paste for displaying the piece images used in your diagram. This code places piece images within FIGURE.piece tags with a caption, and I have added CSS to the global css files for formatting the piece class for FIGURE..."

[edit: Where did I more recently get the idea I was no longer allowed to display individual pieces my old way?:

Fergus wrote on Tue, Jan 16 04:28 PM EST (in a Comment to my Waffle Chess rules page): "I used shortcodes to display the Waffle piece image, as drawdiagram.php is meant for diagrams, not for displaying individual pieces..."]

edit2: to be fair, displaying an individual piece with shortcodes these days (don't think it was always an available option) is fairly easy (once I saw Fergus' example on my rules page), I hadn't noticed that method. Displaying individual pieces with the showpiece.php script (or whatever Fergus' old way was, if different), on the other hand, is a process I never understood, and it seemed lengthy however it is done.


🕸💡📝Fergus Duniho wrote on Sat, Jan 20, 2024 01:20 PM UTC in reply to Kevin Pacey from 03:37 AM:

The showpiece.php script is not the old way. It is newer than even shortcodes. Both are described on this page in a details section that you have to click on to open. Unlike this script, which draws a piece on a colored space surrounded by a colored border, showpiece.php will draw nothing but the piece, and it will be against a transparent background. While displaying individual pieces with showpiece.php is preferable to using drawdiagram.php, it is mainly intended for use with Game Courier or Interactive Diagrams, and shortcodes remain the best thing to use for illustrating member-submitted rules pages.


Kevin Pacey wrote on Sat, Jan 20, 2024 03:19 PM UTC in reply to Fergus Duniho from 01:20 PM:

Last night I did open links on the details section on Diagram Designer Page, but I still could not quite get my head around what the showpiece.php script was all about. It looked like something a Diagram Designer really ought to be able to generate by putting a piece into the diagram somehow, but I was afraid it's something you have to type in character by character somewhere, and then cut and paste somewhere. Maybe there was technical stuff a user should know about (e.g. HTML knowledge assumed).

Whatever the old way of generating an individual piece was, I could not get my head around that either, and technical stuff is not always easy to explain to someone unfamiliar with modern computers/software, unless a ready example or two is available. I was quite happy when I realized I could put an individual piece on a 1x1 'board' (i.e. single square) using the drawdiagram.php. The method is quick and easy, if not 'brilliant', though it produces an image of the sort you seem to no longer be quite satisfied with, after second thoughts (maybe years later[?]). Too bad drawdiagram.php does not work if a 0x0 board were specified, to leave out the image of a single 'square'.


Em Nil wrote on Mon, Oct 14, 2024 09:52 PM UTC:

Seems that turning on upside down makes the coordinate labels super messed up.


8 comments displayed

EarliestEarlier Reverse Order Later

Permalink to the exact comments currently displayed.