Comments/Ratings for a Single Item
It was working before I added it to the database. After that, there was a conflict with a variable name set in the header. I have now fixed that by changing the name of the variable used by this script to $programmer.
Yup, fixed now. Thanks! Now I can find all my lost presets, containing all my questionable ideas ...
I'm not sure if this works now. I thought I just successfully saved a (experimental/test) settings file called "3D Chess War", but it's not showing up as a settings file of mine.
I've just tried to edit a number of presets that were not authored by me. Nowadays (at least) it seems I'm never provided with a field to enter my own password when attempting such an editing task, and that may explain why in each case when I attempted (again) to save something called '3D Chess War', I was told that I was not the author of the preset.
Has something been changed?
I see that other people have recently successfully produced editor-approved presets, but it's not apparent that the settings file for such was made recently.
I'm not acquainted with how to make a settings file from absolute scratch, if that's even possible.
I've discovered I cannot even edit my own settings files, if in an editing session I merely alter the name of the original preset without any further editing (e.g. change, in an edit, 4*Chess to read 3D Chess War). I can edit just 4*Chess itself successfully if I don't change its name, however.
Note that I still am never provided a password field to enter my password, during an editing session. I'm wondering if it's something affecting just me that may depend on my current contributor status.
Game Courier does not check contributor status.
Something's a bit strange, unless there's some work in progress by our webmaster... I can find my '3D Chess War: default' settings file listed on the (linked) public CVP php page 'Game Courier Settings Files', after having finally thought to try looking there out of some hope (yet 3D Chess War's not currently listed on my own personal Game Courier Settings Files page, and it as yet never was, afaik). I don't know how it got saved to that extent, even. Good to see it though.
I've just successfully saved a settings file called 'Waffle Chess:default'. It's saved both under my own personal GC Settings Files page, and under the public GC Settings Files page. That's in spite of not ever being presented with a password field, if that's supposed to still happen within an editing session, as per the GC user documentation.
Most of the difficulties I've had must have been caused when I simply kept trying to save a settings file to called 3D Chess War:default, when unknown/unsure to me a file (of mine) of that name had already been saved under the public GC Settings Files page (that page only, for some reason, as I alluded to in my previous post). I kept being told I was not the author, and assumed it was because there was no password field ever presented for me to use. It seems that instead that I was being told this because a settings file of that name already existed, regardless of who was the author (unbeknowst to me). It thus seems it could have been helpful if GC could somehow have told me that such a settings file of that name already existed, at least (whether or not I was editing the original file of that name, perhaps).
3d_chess_war/default.php has its author recorded as the empty string. That isn't supposed to happen.
Maybe for some reason it mattered if I didn't bother to retype my ID ('panther') at the end of the editing session, before I hit 'Save'? (cannot recall if that's what I did that day)
I changed the condition with isset($author) to !empty($author), which should now allow you to write to a pre-existing settings file whose author has been set to the empty string. Since the login() function can still return a true value when an empty string is passed to it as the userid, I added some lines of code to set $userid to the value of this function if it was previously empty. That should prevent anyone from saving a settings file with an empty $author string.
Thank you, Fergus. I've edited 3D Chess War:default and it is now showing up on my personal GC Settings Files page, besides the public GC Settings Files page.
I wonder if there is a way to delete old presets? If so, I would like the presets listed below deleted (TLDR - All of the presets listed here that redirect to something). All of them are mine, so you do not need someone else's permission to delete them.
- All of my presets for Chess on a 10x10 Board
- All of my presets for Decimal Chess
- My alfaerie preset for Dragon Chess
- My preset for Futaskikana Shogi
- My alfaerie preset for Hectochess
- My alfaerie preset for Ryugi
- My preset for Single-Capture Suzumu Shogi
- My promotest preset for Suzumu Shogi
- The alfaerie, blackabstract, blackalfaerie, whiteabstract, and whitealfaerie presets for Yangsi
- All of my presets for Yangsi (Black)
- All of my presets for Yangsi (White)
I deleted most of them, because there were no games using them. But some were used for existing games, and deleting them would break those games. So, I didn't delete them.
- My alfaerie preset for Hectochess
This one has one or more games played with it.
The alfaerie, blackabstract, blackalfaerie, whiteabstract, and whitealfaerie presets for Yangsi
The three abstract settings files were used for games. I deleted the three alfaerie ones.
I would like the presets listed below deleted. All of them are mine, so you do not need someone else's permission to delete them.
The default preset for Hanten Shogi
The default preset for Gyaku-sama Shogi
In case you are wondering why I want them deleted, I have decided to delete their related articles from the Chess Variant Pages, as I have lost interest in them.
I would like the presets listed below deleted.
Okay, they're deleted.
How to delete a Game Courier Setting file on our own page? I would like to delete "Zanzibar-S1" that I've made and I don't know how. Thanks
I would like to delete Zanzibar-S-prov as well
Adam DeWitt wrote on 2020-11-02 GMT I would like the presets listed below deleted. All of them are mine, so you >do not need someone else's permission to delete them.
The default preset for Hanten Shogi
The default preset for Gyaku-sama Shogi
In case you are wondering why I want them deleted, I have decided to delete >their related articles from the Chess Variant Pages, as I have lost interest >in them.
It's quite unfortunate that you deleted those articles. Just because you lost interest, doesn't mean everyone else has as well. I was intrigued when I found those variants, because very few large variants have Micro-Shogi-style promotion/demotion on capture, and I was planning to spend some time with them at some point.
I suppose that if the original author has lost interest, there is nothing that forbid you to re-invent them, maybe altering them to your taste.
I've detected a small error in the preset of Terachess II that I wrote. I corrected it but when I save, it fails: Failed to write to the file /home/chessvariants/public_html/play/pbmsettings/terachess_ii/Default-Alternate.php. Could you help me?
I would like to delete several entries on my page of Game Courier Setting File:
Zanzibar-S1
Zanzibar-S-prov
Jetan-of-Barsoom
Chess
How can I do that? Thank you
No answer to my question, that I had already asked 5 months ago. There is no possibility? Too bad, I just wanted to clean that page. Thanks.
25 comments displayed
Permalink to the exact comments currently displayed.