0

Points for Best Answer doesn´t works fine

Hello Maverick

I have a little problem with my plugin for Jomsocial (user points) because all the points doesn´t go to the user that give the best answer, actually the points goes right know to the user (administrator in this case) that chose the best answer, and not the user that answer the question.

This is an example:

[list]
User 1: Make a Question
User 2: Answer that Question
Admin: Chose the Best Answer
[/list]
And guess what? The points goes to the admin, and not to the User 2, how can i solve this?

Hope you can help me :) and thank you very much!

Gabriel


Category: Technical Questions

Like it on Facebook, Tweet it or share this question on other bookmarking websites.

126

Line 490 of components/com_communityanswers/helpers/helper.php (awardPoints function)
CuserPoints::assignPoint(A_JSP_ACCEPTED_ANSWER);

Change this to
CuserPoints::assignPoint(A_JSP_ACCEPTED_ANSWER, $userid);
Answered


107

Thank you for reporting the bug. It is fixed in v1.8.8.
Answered


112

Hi Maverick... as you know, my problem now is that i don´t need to change or update my component because i made a lot of changes on it, specially in the design or templates. There is any way to modify manually this issue? Just let me know the steps and i personally made it please :)

Thank you very much for your help as allways!

Gabriel
Answered


117

Thank you very much Maverick... I already made this change and now is working fine! Thanks a lot!

Gabriel Serna
Answered


113

Hi, when is 1.8.8 gonna be released? thanks
Answered


Please register/login to answer this question.  Click here to login