Check out Glinski's Hexagonal Chess, our featured variant for May, 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]
Greg Strong wrote on Fri, Oct 21, 2022 10:44 PM EDT in reply to Diceroller is Fire from 07:56 PM:

I believe this is possible. It would be helpful if you posted the link to the page you want reverted.


A. M. DeWitt wrote on Tue, Oct 25, 2022 10:53 AM EDT in reply to Diceroller is Fire from Fri Oct 21 07:56 PM:

That's what the Revisions page is for (in the top menu, Edit -> N revisions). Click the revision you want to select, press Ctrl-U to view the source code. You can then copy the relevant HTML sections into the editors in the Edit Page form.


Kevin Pacey wrote on Sun, Oct 30, 2022 07:23 PM EDT:

@ Fergus:

The preset won't let me resign in the following log (says to use Back Button on page of code) - earlier I had 2 similar problems resigning in recent games with Carlos with the Sac Chess preset, so something may have changed when we moved to a new server, perhaps:

https://www.chessvariants.com/play/pbm/play.php?game=Capablanca%2520Chess&log=panther-cvgameroom-2022-298-187&userid=panther


Kevin Pacey wrote on Wed, Nov 2, 2022 02:19 AM EDT:

From my previous post in this thread:

@ Fergus:

The preset won't let me resign in the following log (says to use Back Button on page of code) - earlier I had 2 similar problems resigning in recent games with Carlos with the Sac Chess preset, so something may have changed when we moved to a new server, perhaps:

https://www.chessvariants.com/play/pbm/play.php?game=Capablanca%2520Chess&log=panther-cvgameroom-2022-298-187&userid=panther

I've since emailed Fergus (he'd not visited CVP site for some days), and he told me the problem with my log above is fixed (I did indeed resign successfully).

Anyone else having trouble resigning from a game due to their log's preset acting up (apparently) may now be able to successfully resign if they wish.


Diceroller is Fire wrote on Sat, Nov 12, 2022 02:58 PM EST:Good ★★★★

Can you watch Fluidity please, I can’t add new variants but I have 5+ of them in keeping ready.

So how can I add my piece to Piececlopedia?! If I can;)))


Nik Kot wrote on Sun, Nov 13, 2022 12:41 PM EST:

Email verification not working (I have checked the spam folder).


Máté Csarmasz wrote on Thu, Nov 17, 2022 12:16 AM EST in reply to Nik Kot from Sun Nov 13 12:41 PM:

Same here. I tried to get this working in the spring. One of the guys (moderators) even tried to fix it manually for me. It just doesn't work. And it'd be very helpful if it did cause I would get notified when my opponents move.

By the way, I believe I did get the verification emails, they just didn't work.


Ben Reiniger wrote on Thu, Nov 17, 2022 03:53 PM EST:

The diffs between page revisions don't seem to work anymore, possibly due to the server move. I get a short part of the introduction and no other text, and generally no highlighted diffs.


🕸📝Fergus Duniho wrote on Thu, Nov 17, 2022 05:04 PM EST in reply to Ben Reiniger from 03:53 PM:

The differences between page revisions was handled by code I copied from another website. Fortunately, with the help of the PHP error log, I was able to fix it.


A. M. DeWitt wrote on Tue, Jan 3, 2023 11:31 AM EST:

For some reason, when using an image for the board in Game Courier, the file labels are positioned higher than they should be. Here's an example from Chu Shogi.


🕸📝Fergus Duniho wrote on Fri, Jan 6, 2023 09:44 PM EST in reply to A. M. DeWitt from Tue Jan 3 11:31 AM:

For some reason, when using an image for the board in Game Courier, the file labels are positioned higher than they should be.

This is now fixed. In Chu Shogi, which you gave as an example, the file labels are now positioned at the right level.


Ben Reiniger wrote on Sat, Jan 21, 2023 05:58 PM EST:

I'm not sure if this is due to the server move, but member-submission of External Link pages doesn't seem to be working. I started doing some debugging, and it seems to die in membersubmissions2.php when trying to execute the replaceitem query (but the error handling there doesn't trigger either), what is currently line 385.


🕸📝Fergus Duniho wrote on Sat, Jan 21, 2023 10:16 PM EST in reply to Ben Reiniger from 05:58 PM:

I'll look into it tomorrow.


🕸📝Fergus Duniho wrote on Sun, Jan 22, 2023 12:38 PM EST in reply to Ben Reiniger from Sat Jan 21 05:58 PM:

I'm not sure if this is due to the server move, but member-submission of External Link pages doesn't seem to be working.

As a preliminary test, I made a link page to PyChess, and it worked. So, I have not been able to repeat the problem you encountered. If you have any further problem with it, let me know the time and details do that I can check the error log.


Ben Reiniger wrote on Mon, Jan 23, 2023 09:05 AM EST in reply to Fergus Duniho from Sun Jan 22 12:38 PM:

I just tried again, 7:44am CST, itemid MLlichess. I had added MSlichess before realizing I had forgotten to switch to a link item, so that's likely the problem, but I removed the Item and IndexEntry entries (and the MemberSubmissions never got created), and any other locations shouldn't affect the Replace into Item query?

Also, as someone else reported recently: I can't edit another test entry (MLtestlink) to have empty content, but without empty content I cannot use the forms to delete it. Which of these protections do we want to keep?


🕸📝Fergus Duniho wrote on Mon, Jan 23, 2023 12:21 PM EST in reply to Ben Reiniger from 09:05 AM:

7:44 am CST would be 13:44 UTC, and I got this for that time:

[23-Jan-2023 13:44:07 UTC] PHP Fatal error:  Uncaught PDOException: SQLSTATE[22007]: 
Invalid datetime format: 1366 Incorrect integer value: '' for column
`chessvariants`.`Item`.`BoardRows` at row 1 in /home/chessvariants/public_html/index/membersubmission2.php:385
Stack trace:
#0 /home/chessvariants/public_html/index/membersubmission2.php(385): PDOStatement->execute()
#1 {main}
  thrown in /home/chessvariants/public_html/index/membersubmission2.php on line 385

Instead of using replace, I should probably use insert if the row doesn't exist and update if it does, as I have already fixed this problem for the update_row function. Since BoardRows is not even a datetime field, this is a weird message, but the underlying problem is that replace is getting an empty string instead of whatever it is expecting.


Ben Reiniger wrote on Mon, Jan 23, 2023 02:46 PM EST in reply to Fergus Duniho from 12:21 PM:

@Fergus, thanks! I had emptied boardrows in my submission.

I thought in the past I could put board rows/columns/levels/cells as empty and they'd populate as nulls. Either I'm wrong about that, or something has changed. I think being able to leave those fields blank for non-game pages is the most natural.

Should this script be calling update_row (or some other indexing func) instead of its ad hoc query?


🕸📝Fergus Duniho wrote on Mon, Jan 23, 2023 04:17 PM EST in reply to Ben Reiniger from 02:46 PM:

What I've done for now is provide an individual default for each parameter instead of giving them all an empty string as the default. I'll do some more work later.


🕸📝Fergus Duniho wrote on Mon, Jan 23, 2023 05:34 PM EST in reply to Ben Reiniger from 02:46 PM:

Should this script be calling update_row (or some other indexing func) instead of its ad hoc query?

Yes, these functions are more secure and error-proof than ad hoc code may be, and it's best to not reinvent the wheel each time we need to access the database. So, I have now rewritten the script to use update_row and replace_row. I have left the other code in comments in case I made a mistake and need to reference it.


Ben Reiniger wrote on Tue, Jan 24, 2023 11:29 PM EST in reply to Fergus Duniho from Mon Jan 23 04:17 PM:

I had to make a change to a column name in the script, and I still couldn't leave the board size fields blank, but I successfully made the submission. I again got a 401 inside the submission page, but this time it seems to have been because IsMemberSubmitted was 0; I modified the script to set that flag. There's another column IsLink which is set as zero (not being set in the script; both here and in another older ML page of mine, so it's been like this for some time), but doesn't appear to have an adverse effect.


Greg Strong wrote on Wed, Jan 25, 2023 09:41 AM EST:

modifyperson.php doesn't seem to work at all


🕸📝Fergus Duniho wrote on Wed, Jan 25, 2023 10:28 AM EST in reply to Greg Strong from 09:41 AM:

I have now modified it to use the update_row function, which should fix things.


Greg Strong wrote on Wed, Jan 25, 2023 10:57 AM EST in reply to Fergus Duniho from 10:28 AM:

No improvement. Now it just goes to an empty white page (without updating anything in the database)


🕸📝Fergus Duniho wrote on Wed, Jan 25, 2023 11:15 AM EST in reply to Greg Strong from 10:57 AM:

There was a syntax error, which I've now corrected. As a test, I updated your profile and changed it back.


Ben Reiniger wrote on Sat, Jan 28, 2023 09:05 PM EST:

I cannot use the item quick-edit script (as an editor) because the form does not have the new BoardRealms input (though perhaps the quick edit can be deprecated now that the author list population isn't so slow), and the database apparently won't allow it to be null. Again, I really think allowing nulls for non-game items would be best, and BoardRealms should be defaulted to 1 in any forms.


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.