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

Hi, 

i try to find a solution to show extra privileges only available for Admin and moderator. i see this code, but hide extra privilege for all

thank you for you help

Claude

 

in file: qa-include / qa-page-user-profile.php

replace the following line (# 527):

if (count($showpermits))

with:

if (0)

Q2A version: 1.6.3

1 Answer

+4 votes
by
 
Best answer

Yep, i get it 

in file: qa-include / qa-page-user-profile.php

replace the following line (# 527):

if (count($showpermits))

to 

if (count($showpermits) && ($loginlevel>=QA_USER_LEVEL_MODERATOR))

 

 

...