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

Hello All,

How i can hide this info (extra privileges) from admin profile page:

Extra privileges:

Recategorizing any question
Editing any question
Editing any answer
Editing any comment
Editing posts silently
Closing any question
Selecting answer for any question
Viewing IPs of anonymous posts
Viewing who voted or flagged posts
Approving or rejecting posts
Hiding or showing any post
Deleting hidden posts
 
?
 
Thanks.

2 Answers

+2 votes
by
edited by

In your css files of your theme add this lines - 

 

.qa-part-form-profile tr#permits {

display : none ;

}

or open your theme file qa-themes.php

add the below lines 

function doctype() {
      if ($this->template == 'user' 
               && !empty($qa_content['form_profile']['fields']['permits'])) {
                                    unset($qa_content['form_profile']['fields']['permits']);
      }
     qa_html_theme_base::doctype();
}
if the doc type is already exists then add only the if(){} part into that . 
Hope this solved the issues . 
by
this work but again this exsist in source code ?

Thanks.
by
I have updated the answer . You can avoid the contents from the theme files modifications . Thanks
by
I try but nothing happend :S
...