Achievements for WordPress
[resolved] Show total points on profile page (5 posts)

  1. Daniel Lemes
    Posted 3 years ago #

    Hi, i'm discovering and trying things before put this great plugin in "real" action.

    I need some direction to something (maybe) simple to do: show the total Karma points on profile pages, along with recent activities, etc. Just like this on "X points earned"


    Basically what i did: copied member-header.php to my child-theme folder and tried this:

    dpa_get_user_points( $this_user->ID )

    Works, but shows points of logged user in all profiles.
    Hope i've been clear enough.


  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 3 years ago #

    Hi Daniel,

    Are you using BuddyPress with this, or not?

  3. Daniel Lemes
    Posted 3 years ago #

    Yes, Paul. Kit WP + BPress + BBPress, and i did some slight modifications like this http://wordpress.org/support/topic/how-to-create-a-leaderboard

    Maybe not relevant to say but it's running on a local server (Wamp)

  4. pmcvicker
    Posted 3 years ago #

    @daniel_iceman Try this:
    dpa_get_user_points( bp_displayed_user_id() )

  5. Daniel Lemes
    Posted 3 years ago #

    THANKS, pmcvicker, perfect!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Achievements for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic