05-03-2017, 01:39 PM
Awesome. Glad you're liking it so far.
In general, there's not really a performance benefit to deleting those columns. I don't think you'll run into issues as far as patching is concerned, though.
Basically, you'll want to do a find through the code and look for anything that calls $user->data()->fname and lname. I've programmed a lot of that out through the echouser function (so you can just set that to Username) in the admin dashboard. The only place I can think you might run into issues is on some of the email things and the user_settings page.
Anything you change that is a "core" userspice file should be done in usersc/
You'll have to change the path to the includes, etc, but the gist of it is that if you've modded a file (let's say login.php) if yours is in usersc/login.php it will ignore the core one and use yours, so the patches will not break your mods.
In general, there's not really a performance benefit to deleting those columns. I don't think you'll run into issues as far as patching is concerned, though.
Basically, you'll want to do a find through the code and look for anything that calls $user->data()->fname and lname. I've programmed a lot of that out through the echouser function (so you can just set that to Username) in the admin dashboard. The only place I can think you might run into issues is on some of the email things and the user_settings page.
Anything you change that is a "core" userspice file should be done in usersc/
You'll have to change the path to the includes, etc, but the gist of it is that if you've modded a file (let's say login.php) if yours is in usersc/login.php it will ignore the core one and use yours, so the patches will not break your mods.