Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Database info not upating - Account settings help needed (Solved)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="thilen03" data-source="post: 421068" data-attributes="member: 78042"><p>Hello so i have this problem where i cant change my password in account settings on my habbo retro. im not sure if it cause the passwords are encrypted but anyways i need help.</p><p><img src="https://imgur.com/7yPkQNW.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p>Settings.php</p><p>[PHP]<?php include('/inc/header.php'); ?></p><p> <div class="col col-2"></p><p> <span class="hl blue">Account settings</span></p><p> <form action="" method="post"></p><p> <table border="0" width="100%" style="margin: 10px;"></p><p> <?php if(isset($template->form->error)) { echo '<div id="message">'.$template->form->error.'</div>'; } ?></p><p> <tr></p><p> <td width="50%"><strong>E-mail</strong></td></p><p> <td><input id="email" name="acc_email" class="textfield" type="text" value="{email}" /></td></p><p> </tr></p><p> <tr></p><p> <td width="45%"><strong>Mission</strong></td></p><p> <td><label for="motto"></label></p><p> <input id="motto" name="acc_motto" class="textfield" type="text" value="{motto}" /></p><p> </td></p><p> </tr></p><p> <tr></p><p> <td colspan="2"><i><small>Only if you want to change your password!</small></i></td></p><p> </tr></p><p> <tr></p><p> <td width="50%"><strong>Current password</strong></td></p><p> <td><input id="password" name="acc_old_password" class="textfield" type="password" /></td></p><p> </tr></p><p> <tr></p><p> <td width="50%"><strong>New password</strong></td></p><p> <td><input id="confirm_password" name="acc_new_password" class="textfield" type="password" /></td></p><p> </tr></p><p> <tr></p><p> <td width="50%">&nbsp;</td></p><p> <td><input id="button" name="account" type="submit" value="Update informations" /></td></p><p> </tr></p><p> </table></p><p> </form></p><p> </div></p><p> <div class="col col-2"></p><p> <span class="hl blue">Other account settings</span></p><p> <?php</p><p> if(isset($_POST['acc'])) {</p><p> $block_newfriends = clean($_POST['block_newfriends']);</p><p> $hide_inroom = clean($_POST['hide_inroom']);</p><p> $hide_online = clean($_POST['hide_online']);</p><p> if($block_newfriends != 'nul') {</p><p> $block_newfriends = 1;</p><p> } else {</p><p> $block_newfriends = 0;</p><p> }</p><p> if($hide_inroom != 0 && $hide_inroom != 1) {</p><p> echo"<b>Dit kan niet</b>";</p><p> } else if($hide_online != 0 && $hide_online != 1) {</p><p> echo"<b>Dit kan niet</b>";</p><p> } else {</p><p> echo"<b>Succesvol aangepast</b>";</p><p> mysql_query("UPDATE `users` SET `block_newfriends`='$block_newfriends',`hide_inroom`='$hide_inroom',`hide_online`='$hide_online' WHERE `id`='$user->id'");</p><p> $user = mysql_fetch_object(mysql_query("SELECT * FROM `users` WHERE `id`='$userid'"));</p><p> }</p><p> }</p><p> ?></p><p> <form method="post"></p><p> <table width="100%"></p><p> <tr></p><p> <td><strong><font size="2px">Friend requests</font></strong></td></p><p> <td></td></p><p> </tr></p><p> <tr></p><p> <td><i>Allow friends requests?</i></td></p><p> <td><input <?php if($user->block_newfriends == 0) { ?> checked="checked" <?php } ?> name="block_newfriends" type="checkbox" value="nul"></td></p><p> </tr></p><p> <tr></p><p> <td colstan="2"><strong><font size="2px">Follow</font></strong></p><p> <br><i>Choose who is allowed to follow you in {hotelname}:</i></td></p><p> </tr></p><p> <tr></p><p> <td>No one</td></p><p> <td><input name="hide_inroom" type="radio" <?php if($user->hide_inroom == 1) { ?> checked="checked" <?php } ?> value="1"></td></p><p> </tr></p><p> <tr></p><p> <td>My friends</td></p><p> <td><input name="hide_inroom" type="radio" <?php if($user->hide_inroom == 0) { ?> checked="checked" <?php } ?> value="0"></td></p><p> </tr></p><p> <tr></p><p> <td colstan="2"><strong><font size="2px">Online status</font></strong></p><p> <br><i>Who can see that you are online:</i></td></p><p> </tr></p><p> <tr></p><p> <td>No one<br></td></p><p> <td><input name="hide_online" type="radio" <?php if($user->hide_online == 1) { ?> checked="checked" <?php } ?> value="1"></td></p><p> </tr></p><p> <tr></p><p> <td>My friends</td></p><p> <td><input name="hide_online" type="radio" <?php if($user->hide_online == 0) { ?> checked="checked" <?php } ?> value="0"></td></p><p> </tr></p><p> <tr></p><p> <td><input id="button" name="acc" type="submit" value="Update informations"></td></p><p> <td></td></p><p> </tr></p><p> </table></p><p> </form></p><p> </div></p><p><?php include('/inc/footer.php'); ?>[/PHP]</p></blockquote><p></p>
[QUOTE="thilen03, post: 421068, member: 78042"] Hello so i have this problem where i cant change my password in account settings on my habbo retro. im not sure if it cause the passwords are encrypted but anyways i need help. [IMG]https://imgur.com/7yPkQNW.png[/IMG] Settings.php [PHP]<?php include('/inc/header.php'); ?> <div class="col col-2"> <span class="hl blue">Account settings</span> <form action="" method="post"> <table border="0" width="100%" style="margin: 10px;"> <?php if(isset($template->form->error)) { echo '<div id="message">'.$template->form->error.'</div>'; } ?> <tr> <td width="50%"><strong>E-mail</strong></td> <td><input id="email" name="acc_email" class="textfield" type="text" value="{email}" /></td> </tr> <tr> <td width="45%"><strong>Mission</strong></td> <td><label for="motto"></label> <input id="motto" name="acc_motto" class="textfield" type="text" value="{motto}" /> </td> </tr> <tr> <td colspan="2"><i><small>Only if you want to change your password!</small></i></td> </tr> <tr> <td width="50%"><strong>Current password</strong></td> <td><input id="password" name="acc_old_password" class="textfield" type="password" /></td> </tr> <tr> <td width="50%"><strong>New password</strong></td> <td><input id="confirm_password" name="acc_new_password" class="textfield" type="password" /></td> </tr> <tr> <td width="50%"> </td> <td><input id="button" name="account" type="submit" value="Update informations" /></td> </tr> </table> </form> </div> <div class="col col-2"> <span class="hl blue">Other account settings</span> <?php if(isset($_POST['acc'])) { $block_newfriends = clean($_POST['block_newfriends']); $hide_inroom = clean($_POST['hide_inroom']); $hide_online = clean($_POST['hide_online']); if($block_newfriends != 'nul') { $block_newfriends = 1; } else { $block_newfriends = 0; } if($hide_inroom != 0 && $hide_inroom != 1) { echo"<b>Dit kan niet</b>"; } else if($hide_online != 0 && $hide_online != 1) { echo"<b>Dit kan niet</b>"; } else { echo"<b>Succesvol aangepast</b>"; mysql_query("UPDATE `users` SET `block_newfriends`='$block_newfriends',`hide_inroom`='$hide_inroom',`hide_online`='$hide_online' WHERE `id`='$user->id'"); $user = mysql_fetch_object(mysql_query("SELECT * FROM `users` WHERE `id`='$userid'")); } } ?> <form method="post"> <table width="100%"> <tr> <td><strong><font size="2px">Friend requests</font></strong></td> <td></td> </tr> <tr> <td><i>Allow friends requests?</i></td> <td><input <?php if($user->block_newfriends == 0) { ?> checked="checked" <?php } ?> name="block_newfriends" type="checkbox" value="nul"></td> </tr> <tr> <td colstan="2"><strong><font size="2px">Follow</font></strong> <br><i>Choose who is allowed to follow you in {hotelname}:</i></td> </tr> <tr> <td>No one</td> <td><input name="hide_inroom" type="radio" <?php if($user->hide_inroom == 1) { ?> checked="checked" <?php } ?> value="1"></td> </tr> <tr> <td>My friends</td> <td><input name="hide_inroom" type="radio" <?php if($user->hide_inroom == 0) { ?> checked="checked" <?php } ?> value="0"></td> </tr> <tr> <td colstan="2"><strong><font size="2px">Online status</font></strong> <br><i>Who can see that you are online:</i></td> </tr> <tr> <td>No one<br></td> <td><input name="hide_online" type="radio" <?php if($user->hide_online == 1) { ?> checked="checked" <?php } ?> value="1"></td> </tr> <tr> <td>My friends</td> <td><input name="hide_online" type="radio" <?php if($user->hide_online == 0) { ?> checked="checked" <?php } ?> value="0"></td> </tr> <tr> <td><input id="button" name="acc" type="submit" value="Update informations"></td> <td></td> </tr> </table> </form> </div> <?php include('/inc/footer.php'); ?>[/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Database info not upating - Account settings help needed (Solved)
Top