Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
632 views
in Q2A Core by

I removed the 'handle' variable from around line 175 in qa-page-account.php to hide the function from each user's "My Account" page. But when I go to edit a user, it's not possible to change their username.

Can't get my head around qa-page-user.php... What do I need to change to add this in?

1 Answer

+1 vote
by

I'm afraid there's no simple change to qa-page-user.php that would allow the admin to change the username of a user via that user's page.

But the good news is that Q2A 1.4 will include an option to prevent users changing their usernames, once they have at least one post.

Apart from that, you're safe to directly manipulate the username in the qa_users table in the database - nothing needs to be recalculated.

...