[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
I have replaced the listcomments.php script with a new script. This new script uses PDO methods instead of mysql functions, and it changes how it pages through the comments. The old script used the offset method, which grew more expensive with each page of links further away from the origin. The new script uses the first and last keywords to indicate a specific starting point from which to count ahead or count down additional comments. This works just as quickly for any point in the Comment table, and it provides links that will identify the same set of comments even when additional comments are added.
The default is now to list comments in ascending order instead of descending order, and order=DESC must be set to list comments in descending order. This is to make it explicit when comments are being listed in descending order. The new script uses the sort keyword instead of the sortbydate keyword, and it can take different column names for values. It defaults to CommentID. But until I change the links, it will change the order value to DESC, so that old links can still function as they used to. The link on the home page has already been corrected, since it did not include any parameters. For further details on parameters, click on the Help link, or add the help parameter to the URL.