Check out Chess with Different Armies, our featured variant for July, 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 ]

Comments/Ratings for a Single Item

EarliestEarlier Reverse Order LaterLatest
Home page of The Chess Variant Pages. Homepage of The Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 01:24 PM UTC:
Yes, the problems described cropped up after the database suddenly changed its name. I'll look into this in time.

🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 01:50 PM UTC:
Under the Edit column in the comment listings, the Edit link will now show up only for comments you have posted. If you are not signed in, no Edit links should show up.

🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 05:54 PM UTC:
The code for displaying comments at the bottom of a user-generated page called a function that didn't seem to be defined anywhere. So I wrote the function, and then it started working properly.

(zzo38) A. Black wrote on Fri, Apr 6, 2012 06:06 PM UTC:

Sometimes I have used Edit on other comment to view the source codes of the comment; removing is not too bad since the browser view-source function can be used instead; but still, that was convenient.

Also, you should fix it (if not done already) so that everywhere the PHP code fills textareas from data in the database, it should use htmlspecialchars.


🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 07:12 PM UTC:
For this test I will select 'Attempt to format paragraphs for non-HTML comments'. Let's see what happens. I will type further and further and further until the line wraps around.

Now I will enter a second paragraph. Let's make it longer. Longer. Let's make it even longer. This one wrapped to the second line after Let's.


🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 07:50 PM UTC:
Here's another test. I just modified addcomment.php to not change the value is useshtml based on the content of the message.

Here's a second paragraph.

🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 08:00 PM UTC:
The previewcomment.php script previously converted "double quotes" into 'single quotes.' I changed it to convert all characters with html entities into the html entities. I also turned off double_encode, so that I can include html entities. Here's a warning sign: âš . Here's an ampersand: &.

🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 08:03 PM UTC:

Now I have selected 'Using HTML tags in the comment' and I will see what effect it has.

This should be red


🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 08:24 PM UTC:

Here's an image of the logo:


🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 09:04 PM UTC:
Let's include some JavaScript:

🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 09:06 PM UTC:
Good. The JavaScript got stripped out. Now let's include some with HTML entities.

🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 09:17 PM UTC:

Let's try entering JavaScript again, using HTML entities again.

If it doesn't show up, it is because I converted all entities to characters first, stripped out scripts, then converted characters to html entities again.

Let's enter some HTMl entities: 8 < 9. "blue"


🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 10:25 PM UTC:

Let's try entering JavaScript again, using HTML entities again.

If it doesn't show up, it is because I converted all entities to characters first, stripped out scripts, then converted characters to html entities again.

Let's enter some HTMl entities: 8 < 9. "blue"


🕸📝Fergus Duniho wrote on Fri, Apr 6, 2012 10:27 PM UTC:

🕸📝Fergus Duniho wrote on Wed, Apr 11, 2012 12:36 AM UTC:

I have made a new index page at http://www.chessvariants.org/index.php. It's in PHP, because it includes the interactive collage I mentioned previously. As you hover over any exposed part of a board, that board will come to the front, and you will be able to click a link to the page. I have created an array of boards for the page, but I made only enough to get the page working. I would like to add more boards and make a collage out of a random selection of them. That's where you can help. If you can provide the data I need in a form I can cut and paste into this page, it will help me add more boards to the collage, and the collage will become more representative of interests besides just mine. Each set of data should be in the form of a constructor for the cv class. Here is what I've done so far:

The constructor has three main parts. First is the game's name, then the game's URL, then one or more images. When there is more than one image, one will be chosen randomly when the page loads. To post your own constructors for other games, put them in a TEXTAREA, as I have done. The HTML code should look something like this, but without a space in the closing tag:

One more thing, keep the images thumbnail size. Full size diagram would be too big. The whole collage fits into about a 600x600 area, and this is subdivided into 9 zones to minimize overlapping.


🕸📝Fergus Duniho wrote on Wed, Apr 11, 2012 03:11 AM UTC:
In case you see the new index page now, I am doing something a little different than what I earlier described. I still need more image data, but what I'm doing now is making a background collage over the whole screen. I plan to center the text and make the link images appear over the logo.

(zzo38) A. Black wrote on Wed, Apr 11, 2012 07:40 AM UTC:
I suggest still keeping the current Gindex.html and/or Chess Variants Query as well; they are still useful

🕸📝Fergus Duniho wrote on Wed, Apr 11, 2012 12:45 PM UTC:
I'm not looking to decrease any functionality of the website, and the index.php page is not intended as a replacement for either of those pages. It is intended as a replacement for index.html.

Ben Reiniger wrote on Wed, Apr 11, 2012 08:30 PM UTC:

I don't have a lot of time to scrounge up links, but some things I'd like to see:
1) some small variants, in particular I like flip shogi and Philosopher's chess;
2) a 3d variant--maybe Raumschach, but anything that has a relatively nice image would be good;
3) a triangular/pentagonal/other strange geometry board (tetrahedral would be a bonus).
The above are especially nice for visually different games. Less "different" but more common games should also appear, such as some Grandmaster variant. Probably Omega chess is worth displaying.

I'll come back with links and all, but feel free to comment on the above ideas in the meantime.


🕸📝Fergus Duniho wrote on Thu, Apr 12, 2012 12:23 AM UTC:
It's looking better now. I have it laid out in 12 zones to minimize overlapping. There are two columns of three games on each side of the logo and text. Depending on your screen size, they may appear bunched up or spread apart. I've added some more games, and it displays the first 12 of a shuffled array.

Hubert wrote on Thu, Apr 12, 2012 01:51 AM UTC:
Looks to me the boards displayed are disproportional to games of Fergus Duniho?

🕸📝Fergus Duniho wrote on Thu, Apr 12, 2012 02:24 AM UTC:
If you want to change that, you know what to do.

Ben Reiniger wrote on Thu, Apr 12, 2012 03:43 AM UTC:

The layout looked great (if a bit sparse of variants still) earlier today, but now it seems like the variants are stuck above the main text, and the right side of the page is blank. Also, the links in the text display the pictures on top of the text, which is rather distracting.

It looks like some of my proposed variants are already there. But here are some others:


🕸📝Fergus Duniho wrote on Thu, Apr 12, 2012 11:31 AM UTC:
Ben, I'm not seeing what you describe. If you could take a screenshot and tell me what browser and computer you're using, that may help. Thanks for the code. I've added Philosopher's Chess, but the image for Tetradedral Chess is too large.

🕸📝Fergus Duniho wrote on Thu, Apr 12, 2012 04:05 PM UTC:

Ben Reiniger wrote:

Also, the links in the text display the pictures on top of the text, which is rather distracting.

That's been fixed. Some of the images have been replaced with the randomly selected game board image for the game, and hovering over its link will bring it to full opacity, which is the same effect you get when hovering over the board itself. For this to work, selected games mentioned in the text are always included in the background collage. Other images have been positioned above the link, sometimes covering text, but not any of the text for the link.


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.