Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
295 views
in Q2A Core by
how to unable users from changing their user names because they can change it from their accounts?

1 Answer

0 votes
by
Remove or comment out the following in qa-page-account.php:

if (!isset($errors['handle']))
    qa_db_user_set($qa_db, $qa_login_userid, 'handle', $inhandle);

... and later on ...

'handle' => array(
    'label' => qa_lang_html('users/handle_label'),
    'tags' => ' NAME="handle" ',
    'value' => qa_html(isset($inhandle) ? $inhandle : $useraccount['handle']),
    'error' => qa_html(@$errors['handle']),
),
...