WordPress.org

Forums

Achievements for WordPress
[resolved] How to use shortcodes for showing users achievements (10 posts)

  1. saukgp
    Member
    Posted 2 years ago #

    hi, the new update is fantastic especially the Achievement Redemption, but i cant figure out how to display users achievement using shortcodes! or is thr any other way to show users achievement in their profile.

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

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 2 years ago #

    When you say "in their profile", please could you explain which profile you mean? A URL would be great, too.

  3. saukgp
    Member
    Posted 2 years ago #

    @djpaul thanks for replying. showing achievements in buddypress user's profile, so that other users can see his acheievents, comment on it etc http://eragenx.com/blogger/saurabh

  4. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 2 years ago #

    Ah, BuddyPress.

    Integration like what you want will come in a future release of Achievements (I haven't decided which yet). Right now, I could give you some shortcodes to load the page templates, but you'll still need to write custom code to add tabs/items to the BuddyPress menu.

  5. saukgp
    Member
    Posted 2 years ago #

    Thanks @djpaul I will be happy to get those shortcodes.

    The reason why I am excited to have achievements in buddypress users profile is:

    a) people likes being awarded only when he can project those achievements in his profile, shows his achievement count.

    b) a user will be happy and proud to share his profile link if thy can show thr achievements.

    Your plugin is great and solves almost all my purpose to enable game mechanism, in my site. looking forward for updates. Thanks Love your plugins.

  6. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 2 years ago #

    Here's the shortcode list for 3.1. No documentation exists yet for these, so put them on a Page and have a play:

    [dpa-achievements-index]
    [dpa-user-achievements-index]
    [dpa-single-achievement id="1"]
    [dpa-redeem-achievement-form]
    [dpa-breadcrumb]
    [dpa-unlock-notice]

  7. saukgp
    Member
    Posted 2 years ago #

    wow thanks @djpaul

  8. thientu83
    Member
    Posted 2 years ago #

    hey paul, is there any way you can give us the code to use on the template (php code)too...thanks paul

  9. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 2 years ago #

    thientu83, please make your own support topic. This one's been resolved.
    [Thumbed up by moderator]

  10. Vernon Fowler
    Member
    Posted 1 year ago #

    I couldn't find these shortcodes above in any of the documentation so thought I'd bump this resolved topic.

    In particular I found the [dpa-breadcrumb] shortcode useful in my child theme as the content-single-achievement had no link back to the Achievements Directory.

    Cheers,
    Vernon

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