Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

Can I disable points system?

0 votes
Hi, I was wondering if I can disable the points feature or atleast hide the points info so it doesn't show up after every username ?
asked Apr 19, 2011 in Q2A Core by demolit

1 Answer

0 votes

Yes, this is certainly possible. You will need an advanced theme.

You should override the post_meta_points function to be empty. That will hide all mention of points on the main site.

Points are also displayed in the user profiles. This is slightly more complex to hide since it's displayed using a generic form function. The easiest way I think is to copy the function form_fields and change these two lines:

foreach ($form['fields'] as $field)
    if (@$field['type']=='blank')

To this:

foreach ($form['fields'] as $key=>$field)
    if (@$field['type']=='blank' || $key=='points')

You will also want to hide the Users tab in the admin section so that the users don't get displayed. You may wish to change the points in the admin to 0 as well.

answered May 11, 2011 by DisgruntledGoat