Comments/Ratings for a Single Item


I just uploaded the updated userid.php for Game Courier, and it is working well. I made moves in my games with this account, which uses the new password format, and I made a move in a game against myself with a userid using the old format.
Things are mainly working now. There is one mystery bug I haven't figured out. At the end of the OpenID registration process, I provide a signin form. No matter whether the action is specified as cvplogin.php or with a full URL, clicking the submit button goes to signup.php, the page the form was on.

I've added the ability to display comments posted with an OpenID, but I haven't yet added the ability to post with an OpenID. The ability to display them had to be done first. Otherwise, it would be hard to test when I added the ability to post them.
I have now forged this message to appear as though it is coming from one of my OpenIDs. I'm using a generic OpenID icon right now, but I may include site-specific icons for OpenIDs from the major providers listed on the Login page.

Yes, I've answered a question about that too. The problem is that URLs in the database have been changed. I forwarded my answer to David Howe in the hopes that he has a backup of the database that could be used to restore the values, but he hasn't responded. I am waiting to find out if David can do something about it before I try a more iffy solution, which would involve comparing database entries to filenames and seeing what the best fit is.
Joe, David has reported that all the affected pages are member-submitted pages, and for these, the URL field isn't necessary. And I have confirmed this by looking at the database. So the problem is with the PHP code, not with the database.
Testing if I can post HTML
Editing file to test new code in usereditcomment.php
Joe and David, I have found a solution to the missing links problem, but it might not solve everything long term. As a test, I deleted the URL from one page whose link was not showing up, and after I did that, its link showed up in the index. So, if I deleted the URLs from items whose URL fields don't point to the actual URL of the page, that should put the links back on the index pages. But before I do this, I wonder if putting fake URLs in the URL field is serving any purpose and if there is code somewhere that will continue to put fake URLs in the URL field.
Okay, I have fixed the missing links problem. It came down to finding the function that creates the link url and changing an if to an elseif.
Unfortunately, the fix is not yet complete; here is the Link to Archabbot Chess from the Alphabetical Index section "Ar": http://play.chessvariants.org/index/msdisplay.php?itemid=MParchabbottches and it now returns a 404 (instead of the home page of the pbm system). After some hacking, I found the true link which works: http://www.chessvariants.org/index/msdisplay.php?itemid=MParchabbottches -- replacing "play" with "www" fixes the link.
That one was easier to fix, since I already knew where to go. I fixed it by changing the relative link to an absolute link. But I'm surprised by the behavior of the program, because the page the link was on was in the www.chessvariants.org domain.
The Wargames category is "Wargames and Hierarchical Games." What are hierarchical games?
In game theory Hierarchical Games model conflict systems with a structure of control levels ranked in a certain order. Thus in a wargame there might be an overall commander, several sub-commanders, and many unit commanders, per side. Troop movements and performance would depend upon the placement and movement of these commanders.
Are these team games? In a two-player game, the idea of different control levels doesn't make sense, because each player has complete control over his pieces. In the menu, I have "Wargames" instead of "Wargames and Hierarchical Games." Is anything lost by just saying "Wargames"?
They need not be team games. The command/control structure may be used to determine movement of non-command units/pieces. Have a look at Joe Joyce's Chieftain Chess for an example of an hierarchical game. Whether or not the term "wargame" is sufficient by itself is debatable. In the context of CVs it probably is.
Fergus, Hierarchical Games in the context of the index heading are games like Stratego or The Jungle Game where there is a capturing heirarchy (A can capture all pieces, B can capture all pieces but A, C can capture all pieces but A or B, etc.). There aren't a lot of these games in the system, but we do at least a couple.
I have a suggestion: To add a regular expression search of link description to the "mainquery.php", possibly called "regexplinkdesc". I would find this useful; others who use the advanced search (Tony Quintanilla, perhaps?) might also find it useful. (I already find "regexplinktext" useful, but this would be useful too.)
Also, there is no icon for the "Shop" type (which claims to be an unknown type, although queries for such type work OK); this should be looked at too.
O, one more thing: Link descriptions should be allow to changed in member submission edit index information form.
25 comments displayed
Permalink to the exact comments currently displayed.