WordPress.org

Ready to get started?Download WordPress

Forums

BadgeOS
[resolved] Show message when deblocking badges (8 posts)

  1. yvesf3
    Member
    Posted 1 year ago #

    Hello,

    I have a question on this plugin, i have made a test with the plugin and create a community badge which is deblocked when commenting 1 post.

    So i have created a post comment to see what's append.

    I expected to have a message somewhere that tells me that the badge is unlocked, but nothing... Is it normal or have forgotten something in the configuration ???

    When i list all the badges, i see the badge is unlocked.

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

  2. Martin
    Member
    Posted 1 year ago #

    Yeah, I was looking at the other WP plugin called Achievements which has a great pop-up with social sharing options - pity it had far less triggers.

    That said, BadgeOS preently has no such instant alert and pizzazz but they're supposedly thinking about ways.

  3. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    I do believe everyone a part of the development is trying to come up with a plan on how to best accomplish a notification system. I don't disagree that something should be shown. Hopefully soon.

  4. yvesf3
    Member
    Posted 1 year ago #

    Hi, i have also take a look at achievements plugins, both are great and i am looking which one are the best to start with for my project.

    Great to hear that you are thinking about notification.

    Other question : is it possible to implement easily a leaderboard of members with badgeOS?

  5. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    yvesf3, which criteria were you looking at for your leaderboard? overall points or various achievement types?

  6. yvesf3
    Member
    Posted 1 year ago #

    Hello Michael,

    I look for something like that.
    A widget where you can insert, where you want, on a right bar, the top members and they overall points.
    I think it is the best because the overall points are based on what the user has achieved.
    Maybe have also a link on the members to redirect to his member profile to see all the achievements he has earn.

  7. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    Well since you're going based on user points, that'll make a lot of it easier. I won't be able to help you with code examples at the moment, but I can with some logic flow.

    There is a user meta field named "_badgeos_points" that should hold each user's total points at any given time. You can do a query on all of the users and grab that meta key/value and then you'll need to sort the results in descending order.

    I'd recommend finding a way to store and update a transient to hold the results. Then in a shortcode or so, you can fetch the transient and display however which way you want.

  8. Brad Williams
    Member
    Plugin Author

    Posted 1 year ago #

    BadgeOS v1.1 includes earned achievement message on an achievement single page. See the changelog here:
    https://github.com/opencredit/badgeos/blob/master/readme.txt#L177

    More info and beta download:
    http://wordpress.org/support/topic/badgeos-11-beta?replies=1

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic