aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2024-06-01 12:23:50 -0400
committeralyx <alyx@aleteoryx.me>2024-06-01 12:23:50 -0400
commit8b044f0f1cb2205e62aad18cf0b8fd8ff85328ef (patch)
tree807aa8e48e086586f9273bc3e447da77e210d348
parent083daccecbc2c4b60f8726d39c337e38836e15a7 (diff)
downloadvisitors_dot_php-8b044f0f1cb2205e62aad18cf0b8fd8ff85328ef.tar.gz
visitors_dot_php-8b044f0f1cb2205e62aad18cf0b8fd8ff85328ef.tar.bz2
visitors_dot_php-8b044f0f1cb2205e62aad18cf0b8fd8ff85328ef.zip
moderation details in readme
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 37f19ee..2b7c91b 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,23 @@ Additionally, your webserver must have write access to the database, otherwise t
There are no security risks to your database file being publically accessible, as it only contains the same info the page will display.
This may change in a future release.
+## Moderation
+
+There is currently no in-built way to delete guestbook entries, however, it is trivial with most database formats.
+I do plan to add moderation tools in a future update.
+
+In CSV or JSONL, open the database file in a text editor, and delete the line containing the given message.
+The file is stored in the same order that the entries are shown on the page, so for the 3rd entry, delete line 3.
+
+In JSON, delete the JSON array entry which corresponds to the entry's index on the page.
+If you are unfamilliar with the syntax of JSON, [here's an explainer](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON).
+
+In sqlite3, you will need to use a tool for inspecting the database.
+There are a number of GUI and CLI tools for doing this, but the methodology is much the same as above once you have access to the database contents.
+
+Currently the builtin captcha is the only form of spam deterrant.
+An IP-based cooldown timer is planned.
+
## Contact Me
I can be reached at [`alyx@aleteoryx.me`](mailto:alyx@aleteoryx.me) via e-mail, and [`@admin@mk.aleteoryx.me`](https://mk.aleteoryx.me/@admin) on the fediverse.