diff --git a/settings/2fa_update.php b/settings/2fa_update.php new file mode 100644 index 0000000..261271f --- /dev/null +++ b/settings/2fa_update.php @@ -0,0 +1,27 @@ + diff --git a/settings/canvas_design.php b/settings/canvas_design.php new file mode 100644 index 0000000..4970afd --- /dev/null +++ b/settings/canvas_design.php @@ -0,0 +1,16 @@ + diff --git a/settings/change_email.php b/settings/change_email.php new file mode 100644 index 0000000..8cac1b3 --- /dev/null +++ b/settings/change_email.php @@ -0,0 +1,16 @@ + diff --git a/settings/change_password.php b/settings/change_password.php new file mode 100644 index 0000000..a9e0b35 --- /dev/null +++ b/settings/change_password.php @@ -0,0 +1,34 @@ + diff --git a/settings/change_theme.php b/settings/change_theme.php new file mode 100644 index 0000000..59ce345 --- /dev/null +++ b/settings/change_theme.php @@ -0,0 +1,27 @@ + diff --git a/settings/change_username.php b/settings/change_username.php new file mode 100644 index 0000000..3a75e36 --- /dev/null +++ b/settings/change_username.php @@ -0,0 +1,60 @@ + 0) { + header("location: /throw_error"); + exit(); + } + // If current password is correct + // hash the password + $password_hashed = hash("sha256",$u_username.$current_pass); + $new_password_hashed = hash("sha256",$new_uname.$current_pass); + if($password_hashed == $u_password) { + if($u_namechange == 'no') { + mysqli_query($conx, "UPDATE accounts SET username='$new_uname' WHERE uid='$u_uid'"); + mysqli_query($conx, "UPDATE accounts SET password='$new_password_hashed' WHERE uid='$u_uid'"); + mysqli_query($conx, "UPDATE accounts SET uname_change='yes' WHERE uid='$u_uid'"); + if($u_csplown == 'yes') { + mysqli_query($conx, "UPDATE user_theme_colors SET csplit1_name='$new_uname' WHERE uid='$u_uid' && theme_id='1'"); + mysqli_query($conx, "UPDATE user_theme_colors SET csplit2_name='' WHERE uid='$u_uid' && theme_id='1'"); + mysqli_query($conx, "UPDATE user_theme_colors SET csplit3_name='' WHERE uid='$u_uid' && theme_id='1'"); + + mysqli_query($conx, "UPDATE user_theme_colors SET csplit1_name='$new_uname' WHERE uid='$u_uid' && theme_id='2'"); + mysqli_query($conx, "UPDATE user_theme_colors SET csplit2_name='' WHERE uid='$u_uid' && theme_id='2'"); + mysqli_query($conx, "UPDATE user_theme_colors SET csplit3_name='' WHERE uid='$u_uid' && theme_id='2'"); + + mysqli_query($conx, "UPDATE user_theme_colors SET csplit1_name='$new_uname' WHERE uid='$u_uid' && theme_id='3'"); + mysqli_query($conx, "UPDATE user_theme_colors SET csplit2_name='' WHERE uid='$u_uid' && theme_id='3'"); + mysqli_query($conx, "UPDATE user_theme_colors SET csplit3_name='' WHERE uid='$u_uid' && theme_id='3'"); + } + } + else { + header("location: /throw_error"); + } + } + else { + header("location: /throw_error"); + } +} +else { + header("location: /throw_error"); +} +?> diff --git a/settings/chat-dark.php b/settings/chat-dark.php new file mode 100644 index 0000000..1a82558 --- /dev/null +++ b/settings/chat-dark.php @@ -0,0 +1,24 @@ + diff --git a/settings/cust_arrange.php b/settings/cust_arrange.php new file mode 100644 index 0000000..4419d5a --- /dev/null +++ b/settings/cust_arrange.php @@ -0,0 +1,20 @@ + diff --git a/settings/cust_update.php b/settings/cust_update.php new file mode 100644 index 0000000..0334918 --- /dev/null +++ b/settings/cust_update.php @@ -0,0 +1,414 @@ + diff --git a/settings/custom_emoji.php b/settings/custom_emoji.php new file mode 100644 index 0000000..3ff2dcf --- /dev/null +++ b/settings/custom_emoji.php @@ -0,0 +1,8 @@ + Your emoji is currently a custom set from another app."; } +?> diff --git a/settings/customize.php b/settings/customize.php new file mode 100644 index 0000000..0531c48 --- /dev/null +++ b/settings/customize.php @@ -0,0 +1,493 @@ + +
| + + Emoji + + | +
| + + You can change the way you view emoji on the site here. + Your emoji is currently a custom set from another app."; } ?> + + | +
+ >
+
+
+
+
+
+
+
+
+ |
+
+ >
+
+
+
+
+
+
+
+
+ |
+
+ >
+
+
+
+
+
+
+
+
+ |
+
| + + Chat: Force Dark Mode + + | +
|
+
+ Toggle whether or not Chat should be forced to use Dark Mode. + You must have Dark Mode purchased for the Chat to change this. + If you don't already have Dark Mode- buy it in Chat by clicking the "+" + + + |
+
| + > + on + | +
|
+ >
+ off + |
+
| + + Sticker + + | +
| + + You can change your site sticker here. Tap a sticker below or tap here to set your sticker to nothing. + + | +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
| + + Floating Header + + | +
| + + Enabling this will cause the Misdew header to stay at the top of the page as you scroll. Action bars do not float- they will go away as you scroll. Refresh or visit another page for the change to reflect. + + | +
| + > + enabled + | +
|
+ >
+ disabled + |
+
| + + Canvas Design + + | +
|
+
+ Tap here to erase all of your Canvas CSS. + Tap here to erase everything from your Canvas Design Editor. + + |
+
| + + Apps + + | +
| + + You can re-arrange, hide, and toggle alerts for your owned apps here. + + | +
| + + | +
| + + Change Username + + | ++ + You can change your username here. You can only do this once. + + | + +
| + + | +
|
+ change |
+
| You have already changed your username once. | +
| + + Change Email + + | ++ + You can remove the email address linked to your account here. You will be taken to a page to enter and verify a new email address. + + | + +
|
+ unlink email |
+
| + + Telegram Bot / ID Link + + | +
| + + You can link your Telegram ID to your Misdew account here. This will allow you to enable special features from @Misdew_Bot on Telegram. To get started, send the /link command to the bot on Telegram. + + | +
|
+ + |
+
|
+ link |
+
| + + Data Saver + + | +
| + + This option will prevent most images and videos from being loaded automatically. Instead, a link to the content will be displayed. + + | +
| + > on + | +
| + > off + | +
| + | +
| + + Straight to Hub + + | +
| + + This will automatically redirect you to the Hub from the main page [misdew.com]. + + | +
| + > on + | +
| + > off + | +
| + | +
| + + iSE-MD Link [coming never] + + | +
|
+
+ This will link your Misdew.com account and data with iSEclipse.com + Your username and all account information will be linked. + This process cannot be undone and costs 100 MDF. + + |
+
| + + | +
| + + Change Password + + | +
| + + You can change your password here. + + | +
|
+ + + + |
+
|
+ change |
+
| + + Destroy Sessions + + | +
| + + This will require you to login again on any device you may currently be signed in to. Including this one. + + | +
|
+ destroy |
+
| + + 1 Two-Factor Authentication: App + + | +
|
+
+
+ This method is highly recommended. + You can only use one authentication method: app or email. Enabling one disables the other. + + Toggle two-factor authentication via an app of your choice for your Misdew account here. This will require you to enter a 6-digit code generated by your device. Currently, a code will not be required to login if you forgot your password and are logged in that way. + + |
+
|
+ manage |
+
| + + 2 Two-Factor Authentication: Email + + | +
|
+
+
+ Only use this option if you cannot use an app authenticator. + You can only use one authentication method: email or app. Enabling one disables the other. + + Toggle two-factor authentication via email for your Misdew account here. This will require you to enter a code sent to your linked email after successfully logging in. Currently, a code will not be required to login if you forgot your password and are logged in that way. 2FA requires a few extra steps to actually login since linked emails are encrypted; but it is more secure than only using a password to login. + + |
+
| + > enabled + | +
| + > disabled + | +
| + + Blocking + + | +
| + + Accounts that you have previously blocked are listed below. You can unblock them here. + + | +
|
+ $blka_username [ unblock ] "; + } + ?> + |
+