Check out Symmetric Chess, our featured variant for March, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

LatestLater Reverse Order Earlier
The new editcomment.php script[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Thu, Jul 9, 2020 04:27 PM UTC:

I enabled this script to work with Kibbitz comments yesterday. I also noticed that the kibbitzinc.php script was not appearing in the footer, which led to no one posting Kibbitz comments for a long time. So, I fixed that. After posting this, I will try to update it immediately.

And now to update it with a new line.

Attempting again.


🕸Fergus Duniho wrote on Thu, Jul 9, 2020 04:21 PM UTC:

I enabled this script to work with Kibbitz comments yesterday. I also noticed that the kibbitzinc.php script was not appearing in the footer, which led to no one posting Kibbitz comments for a long time. So, I fixed that. After posting this, I will try to update it immediately.

And now to update it with a new line.


🕸Fergus Duniho wrote on Thu, Jul 9, 2020 04:20 PM UTC:

I enabled this script to work with Kibbitz comments yesterday. I also noticed that the kibbitzinc.php script was no appearing in the footer, which led to no one posting Kibbitz comments for a long time. So, I fixed that. After posting this, I will try to update it immediately.


🕸Fergus Duniho wrote on Tue, Jul 7, 2020 08:28 PM UTC:

I have switched the script back to using INSERT and UPDATE. I wanted to make sure that the replace_row() function would work properly, and it does. Semantically, INSERT and UPDATE make more sense, especially given that the script uses them under different conditions anyway. You don't have to be signed in to INSERT a new comment, but you do have to be signed in to UPDATE a previously posted comment. The replace_row() function is useful in code that may be used for either inserting or updating a row.


🕸Fergus Duniho wrote on Tue, Jul 7, 2020 08:27 PM UTC:

I have switched the script back to using INSERT and UPDATE. I wanted to make sure that the replace_row() function would work properly, and it does. Semantically, INSERT and UPDATE make more sense, especially given that the script uses them under different conditions anyway. You don't have to be signed in to INSERT a new comment, but you do have to be signed in to UPDATE a previously posted comment. The replace_row() function is useful in code that may be used for either inserting or updating a row.

Modified with new paragraph.


🕸Fergus Duniho wrote on Tue, Jul 7, 2020 07:44 PM UTC:

I have switched the script back to using INSERT and UPDATE. I wanted to make sure that the replace_row() function would work properly, and it does. Semantically, INSERT and UPDATE make more sense, especially given that the script uses them under different conditions anyway. You don't have to be signed in to INSERT a new comment, but you do have to be signed in to UPDATE a previously posted comment. The replace_row() function is useful in code that may be used for either inserting or updating a row.


🕸Fergus Duniho wrote on Tue, Jul 7, 2020 06:22 PM UTC:

Insertion of new subject comment using REPLACE instead of INSERT. Updating.


🕸Fergus Duniho wrote on Mon, Jul 6, 2020 02:26 AM UTC:

Update of test comment, using REPLACE instead of UPDATE. This time for real.


🕸Fergus Duniho wrote on Fri, Jul 3, 2020 09:38 PM UTC:

I am running a test of a new script for editing comments. It is a single script that will handle comments on pages and subjects. It is intended to replace createcomment.php, previewcomment.php, addcomment.php, createsubject.php, previewsubject.php, addsubject.php, usereditcomment.php, userpreviewcomment.php, and usermodifycomment.php.

I have written a new function for database-funcs.php called insert_row(). This script uses it to insert new comments.

As a test, I am updating it with this third paragraph.


9 comments displayed

LatestLater Reverse Order Earlier

Permalink to the exact comments currently displayed.