Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+5 votes
in Q2A Core by
Hello, I would like to ask if it is possible to create users internally and prohibit random visitors to register. I would like to create site where only selected people will have access to Q2A sections. Is this possible through the system or I need to adjust the code somehow?
Q2A version: 1.7.4

1 Answer

+3 votes

Yes, that should be possible with some customisation. You could make a page plugin that's accessible only to Admin users, which has a form you can fill in their details.

Or a simpler way would be a plain PHP script you write yourself using the code from this docs page. You'd need to use the 'qa_create_new_user' function from qa-include/app/users-edit.php. See also here for more useful functions you can call.