WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. kiwi_pearlsnz
    Member
    Posted 6 months ago #

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

    http://teensummerchallenge.org/members/ace564/achievements/

    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
    Kiwi

    https://wordpress.org/plugins/achievements/

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 6 months 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
    Member
    Posted 6 months ago #

    Cool bananas.

    Thank-you.

    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
    Member
    Posted 6 months 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 6 months ago #

    Oh, I think I did a bad. Try:

    dpa_user_points( bp_displayed_user_id() );

  6. kiwi_pearlsnz
    Member
    Posted 6 months ago #

    thankyou again, yes that one worked..

    cheers ty.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.