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

Is this still the best way to get a user's points?

+2 votes

Is there a better way to get a user's points than the answer below?

I can't find any relevant functions; qa_get_logged_in_user_field only appears to get fields from the users table, which does not contain the points.

related to an answer for: How to display notice for new users?
asked May 16, 2011 in Q2A Core by DisgruntledGoat

1 Answer

+2 votes
 
Best answer

From the 1.4 developer version onwards, you can use qa_get_logged_in_user_points() which is defined in qa-app-users.php.

answered May 17, 2011 by gidgreen