Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If as admin i go and see what my users' answers are and i evaluate them, i get user's points. It also happens when i go to quiz results and click on submit of the form. Points are added to the user that performs the operation, not to the one that took the quiz.
thanks
Comments
Comment #1
Sivaji_Ganesh_Jojodae CreditAttribution: Sivaji_Ganesh_Jojodae commentedPlease check whether the patch below helps.
Essentially you need to set
uid
in$params
passed touserpoints_userpointsapi()
.Comment #2
falcon CreditAttribution: falcon commentedComment #3
falcon CreditAttribution: falcon commentedI commited sivajis code