What I did was:
- added at line 85 of signup.php:
$user->firstname = $user->username;
$user->lastname = $user->username; - commented out lines 63-72 of signup_form.php
Result:
the name fields do not appear at signup, but the signup procedure cannot be completed because the page complains that there are still required fields to be filled in.
What else should be modified? Is there a better way to do this instead of tinkering with the code? (Unfortunately I'm not really familiar with php, I just edit the code and hope for the best.)