Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
472 views
in Q2A Core by
reshown by

I want to hide the Extra privileges: box, how do I do that?

Q2A version: 1.8.4

1 Answer

+1 vote
by
selected by
 
Best answer

Add this to your qa-theme.php:

public function initialize()
{
    if($this->template === 'user'){
    unset($this->content['form_profile']['fields']['permits']);
    }
}
by
in the qa-theme dir?
by
qa-theme/SnowFlat/qa-theme.php
by
ok thank you
by
it broke my site
by
I got it working, thank you!
...