The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Here is a code to change the username of a user via mysql and php.
Code:
$vbulletin->db->query_read("update " . TABLE_PREFIX . "user set `username`='".addslashes($new_username)."', `$pointfield`=$points-$amount where userid='$userid'");
|
![]() |
|
|