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

1 Answer

+1 vote
by
selected by
 
Best answer

add this method (if it's not exists) in qa-theme.php or in a layer plugin:

public function initialize()
{
 if ($this->template === 'user' && qa_get_logged_in_level() < QA_USER_LEVEL_SUPER){
 $this->content = qa_content_prepare();
 $this->content['error'] = qa_lang_html('users/no_permission');
 }
 qa_html_theme_base::initialize();
 }
by
Thank you....
...