diff options
author | alyx <alyx@aleteoryx.me> | 2024-06-01 12:23:50 -0400 |
---|---|---|
committer | alyx <alyx@aleteoryx.me> | 2024-06-01 12:23:50 -0400 |
commit | 8b044f0f1cb2205e62aad18cf0b8fd8ff85328ef (patch) | |
tree | 807aa8e48e086586f9273bc3e447da77e210d348 | |
parent | 083daccecbc2c4b60f8726d39c337e38836e15a7 (diff) | |
download | visitors_dot_php-8b044f0f1cb2205e62aad18cf0b8fd8ff85328ef.tar.gz visitors_dot_php-8b044f0f1cb2205e62aad18cf0b8fd8ff85328ef.tar.bz2 visitors_dot_php-8b044f0f1cb2205e62aad18cf0b8fd8ff85328ef.zip |
moderation details in readme
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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. |