• Resolved briar21

    (@briar21)


    When commenting under a Buddypress activity, the points are being awarded to the member who’s activity steam is being commented, not the member who is making the comment. So, if User2 comments on an activity under User1’s activity stream, then User1 gets assigned the points, not User2. I have confirmed this by looking at the MySQL database. Also, the assignment of points appears in User1’s activity stream (Example of what appears: User1 has been assigned 5 points. 14 minutes ago).

    (Still having the issue of no points appearing under any user profile, however. See my other post.)

    I am using the latest versions of WordPress, Buddypress, bbPress, and Badgearoo.

    By the way, just want to mention that I think the plugin has a lot of potential. Hence testing it so much before my site goes fully live. Thank you for writing it and the support you are giving it. 🙂

    https://wordpress.org/plugins/badgearoo/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dpowney

    (@dpowney)

    Hi there,

    Nice pick up.

    Could you please test changing line 240 in buddypress.php file under badgearoo/includes/integrations/ from:
    $user_id = $activity->user_id;
    to:
    $user_id = $r['user_id'];

    And let me know if this fixes the problem?

    Thanks,
    Daniel

    Thread Starter briar21

    (@briar21)

    I made the change in code and tested. I can confirm that the points no longer award to user1 but are credited to user2.

    However, the pop-up box announcing that points have been awarded does not appear until I navigate away from the activity stream (it doesn’t matter where, just that a new page is loaded). Is this expected behavior?

    Plugin Author dpowney

    (@dpowney)

    I’ve updated the plugin.

    It was designed this way. Improvements to the user experience to show a popup without a page refresh would be a feature request.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Buddypress Activity Steam Point Awarding Problem’ is closed to new replies.