If you look in file includes/class_dm_user.php around line 2363, there's a function update_username() that makes changes to a number of database tables in the event that a username is changed. It's also possible to use the user datamanager (i.e. call that funciton instead of copying the code), but unless your external code is including vbulletin's global.php, it's probably more trouble than it would be worth.
|