• Resolved cbreezy

    (@cbreezy)


    The short code [gamipress_user_points] should be able to show points from the displayed user but I am only able to show points for the current user no matter which user I am viewing. Per the documentation I have assigned the current_user attribute to “no”.

    $userid = bbp_get_displayed_user_field(‘ID’);

    echo $userid;

    echo do_shortcode (‘[gamipress_user_points user_id = “‘. $userid .'” current_user =”no”]’);

    Can anyone explain why this is not working? The first echo is returning the correct user ID which is why I believe the problem is within the shortcode.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[gamipress_user_points] displayed user’ is closed to new replies.