Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

It works fine without checking the username for double entries. If the username exist the name will not be changed.
I think my way is very easy:

find in account-details.php



print("<tr><td>".T_("TITLE").": </td><td align='left'><input type='text' size='67' name='title' value="$user[title]" /></td></tr>n");

add before




print("<tr><td class=tableb>Username &auml;ndern</td><td colspan=2 class=tablea align=left><input type=text size=60 name=username value="" . htmlspecialchars($user[username]) . ""></tr>n");






find in account-modtask.php





if ($action == 'edituser')




add

$username = htmlentities($_POST["username"]);





find in account-modtask.php





SQL_Query_exec("UPDATE users SET email='$email', title=$title, downloaded='$downloaded', uploaded='$uploaded', signature=$signature, avatar=$avatar, ip=$ip, donated=$donated, forumbanned=$forumbanned, downloadbanned='$downloadbanned', warned=$warned, modcomment=$modcomment, enabled=$enabled, invites=$invites, seedbonus=$seedbonus WHERE id=$userid");





before email='$email',

add username='$username',
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728