Achievements for WordPress
[resolved] Sorry to be a bother again (6 posts)

  1. kiwi_pearlsnz
    Posted 1 year ago #

    How do we get the points totals in the buddypress profile, like this:


    I can't find any shortcode that displays that.

    Also, would love to put under their status, the latest badge they received.

    Also think the last badge received might be informational on the leaderboard page too and pretty it up a little. I guess it would be the same thing I did for adding the featured image thumb to the template and making it smaller. I'll keep fiddling. That seems to be working for now.

    Kind Regards


  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    You'll need to put this somewhere in the BuddyPress profile template: <?php dpa_achievement_points(); ?>

    I don't think I have a built-in function that returns the most recent unlocked achievement for a user.

  3. kiwi_pearlsnz
    Posted 1 year ago #

    Cool bananas.


    I propose that to be a feature request then ;p - display users recent unlocked achievement under their latest status in the buddypress profile header thingy.

    Really love this this addon. Am starting to already see more interaction my site with my members. We are a gaming site, so will be using this for ingame events too ie treasure hunts and once they find it they go to website to redeem a code and win ingame gold etc.

    Hate spending so much time making a good guild website and have no members use it.

  4. kiwi_pearlsnz
    Posted 1 year ago #

    Hi, put that code on my member_header.php in my buddypress theme.

    The achievement total is 0 - so it is not connecting with something to get the karma/achievement points.

  5. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Oh, I think I did a bad. Try:

    dpa_user_points( bp_displayed_user_id() );

  6. kiwi_pearlsnz
    Posted 1 year ago #

    thankyou again, yes that one worked..

    cheers ty.

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


No tags yet.