Check out Atomic Chess, our featured variant for November, 2024.


[ 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 ]

Single Comment

Home page of The Chess Variant Pages. Homepage of The Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Fri, Jan 26 07:14 PM UTC in reply to Fergus Duniho from Wed Jan 24 05:15 PM:

Since IsHidden is stored as a small integer, the simplest way to handle three states of visibility instead of just two is to give it a value of 2 for works-in-progress. This would keep these pages out of search results without any need to modify queryinc.php, because it is already using 0 for public pages and 1 for non-public pages that members may see. A value of 2 would mean it is even more private than a value of 1. I would mainly have to modify forms to allow it multiple values instead of just two, and when displaying hidden pages, I would have to make a distinction between IsHidden values of 1 and 2.