Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
862 views
in Q2A Core by
Q2A version: Softaculous version
by
What do you want the results? You will have to explain "Remove" more specifically.

Case-1) Hide all items related to user points on all page?
Case-2) Reset points of all users to 0 (zero) always?
Other ...

1 Answer

+2 votes
by

In qa-theme.php i use :

// Adapt post metas
function post_meta_who($post, $class) {
if (isset($post['who']['points'])) 
unset($post['who']['points']);
parent::post_meta_who($post, $class);
}

In qa-styles.css i use :

.qa-top-users-score {display:none;}

 

You probably need more in the qa-styles.css, just use 'display:none' for any point-displaying elements. It should be possible to do everything in qa-theme.php, but this works good.

by
where exactly do I make the qa-theme.php changes? Add above or replace with other?
by
you can add the function in between the class tags :



class qa_html_theme extends qa_html_theme_base {

    <add the code here>

}
...