Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
1.2k views
in Q2A Core by
Please, how can I disable this feature for users? I don't like that they have the possibility to change the username... Thanks in advance!

1 Answer

+4 votes
by
 
Best answer

In qa-page-account.php, change:

$inhandle=qa_post_text('handle');

... to ...
 
$inhandle=$useraccount['handle'];
 
And also:
 
'handle' => array(
...
),
 
... to ...
 
'handle' => array(
'type' => 'static',
...
),
 
This is a good idea and I'll look into adding it as an option in the next release.
by
It worked... thank you very much! Glad to know that you want to implement this new option in the new release.

I'm exploring the script and it is written in a excellent way: I hope in future I can help you by posting some cool plugins! :-)
by
2nd part worked:
 
'handle' => array(
...
),
 
... to ...
 
'handle' => array(
'type' => 'static',
...
),
by
edited by
Just found out that the users how registered/logged in via Facebook Login can still change their username.
...