• Resolved kmburk2

    (@kmburk2)


    Hi Paul,
    Awesome plugin and great work-

    I’m looking to show the badges/featured images for all achievements under a user on a BuddyPress page.

    I’ve tested this code I found from another support thread and it works for grabbing the most recent achievement’s image:

    <?php echo get_the_post_thumbnail( dpa_get_user_last_unlocked( bp_displayed_user_id()), array(75,75)); ?>

    Is there a function I can reference that will reference the achievement IDs for all achievements under a user, and thus their images?

    Thanks so much in advance!

    https://www.ads-software.com/plugins/achievements/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Where do you want this to appear? On which BP page?

    Thread Starter kmburk2

    (@kmburk2)

    Paul, I’d like it to appear on the BP profile page, but it’d be excellent if there was a function that could also be used with $userid to show in WordPress elements as well. Of course anything that will point me in the right direction is very appreciated.

    +1 for badges on member-header.php. I’d like to show Karma points as well.
    Can they be showed like custom profile fields?

    Like in the ‘myCred’ plugin, where acc. points show in the member profile.

    Thanks for a great plugin.

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    kmburk2 — this really sounds like a BuddyPress templating question. Once you find the BuddyPress template you need to override, you should be able to drop in any other code or call Achievements functions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting Multiple Achievement Images’ is closed to new replies.