From 6ddfe7a27bc3cad94294642716ef58c158cad3e5 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 10 May 2025 21:27:08 +0500 Subject: feat: private profiles --- public/account/index.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'public/account/index.php') diff --git a/public/account/index.php b/public/account/index.php index e5a609b..2b3e820 100644 --- a/public/account/index.php +++ b/public/account/index.php @@ -202,16 +202,17 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
- - prepare("SELECT hide_actions FROM user_preferences WHERE id = ?"); - $stmt->execute([$_SESSION["user_id"]]); - if (intval($stmt->fetch()[0]) == 1) { - echo 'checked'; - } - ?>> - - + prepare("SELECT private_profile FROM user_preferences WHERE id = ?"); + $stmt->execute([$_SESSION["user_id"]]); + if (intval($stmt->fetch()[0]) == 1) { + echo 'checked'; + } + ?>> + +

Enabling this feature will hide your authorship of uploaded emotes and + actions.

+
-- cgit v1.2.3