Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
I would like to change the question box color for questions posted by admins. Is this possible? Thanks.

1 Answer

0 votes
edited by
EDIT: oops

anything's possible :)

Just use:

if ($userlevel >=QA_USER_LEVEL_ADMIN) {}

in your qa-theme.php file whereever you need it.  You will need to understand php though, and get $userlevel via the post's userid.  This entails writing a function to get the author's level via their userid.  I don't think such a function exists in Q2A, but if you are using a standalone install, it's as simple as querying the ^users table.  If you're using wordpress integration, check out the functions in qa-external-users-wp.php