WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Daniel Lemes
    Member
    Posted 11 months 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"

    http://challengebeta.mypcls.org/members/pmcvicker/

    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.

    http://wordpress.org/extend/plugins/achievements/

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 11 months ago #

    Hi Daniel,

    Are you using BuddyPress with this, or not?

  3. Daniel Lemes
    Member
    Posted 11 months 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
    Member
    Posted 11 months ago #

    @daniel_iceman Try this:
    dpa_get_user_points( bp_displayed_user_id() )

  5. Daniel Lemes
    Member
    Posted 11 months ago #

    THANKS, pmcvicker, perfect!

Reply

You must log in to post.

About this Plugin

About this Topic