Viewing 7 replies - 1 through 7 (of 7 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    It may be a bit of a stretch, but could you check the output for the page and see which of these classes is getting added to the lists and whatnot? Just hit view-source and use ctrl/cmd + F

    "user-has-earned" and "user-has-not-earned"

    The first one is the one used to provide the css strike-through for earned achievements.

    Thread Starter matt5834

    (@matt5834)

    Hi Michael-
    Both of these classes are being added to the page though incorrectly. For example “user-has-not-earned” is added to an admin awarded quest that I did indeed award.
    (see below)
    Feel free to log in as this user if you’d like.
    user: 21ninag
    pw: welcome
    page: https://www.yciw.net/badges/score-preparation/

    <section class=”article-body-wrap”>
    <div class=”body-text clearfix”>
    <div class=”achievement-wrap earned”><div class=”badgeos-achievement-earned”><p>You have earned this achievement!</p></div><div class=”badgeos-achievement-congratulations”><p>Great work!</p>
    </div><div class=”alignleft badgeos-item-image”><img width=”100″ height=”100″ src=”https://612142837.r.lightningbase-cdn.com/wp-content/uploads/2013/10/scorePrep-100×100.png&#8221; class=”badgeos-item-thumbnail wp-post-image” alt=”scorePrep” /></div><div class=”badgeos-item-points”>5000 Points</div><p>An extremely important job of every composer is to prepare their musical score so that it clearly and artistically communicates their ideas to the musicians. In earning this badge you will fulfill a number of quests to prepare your score.</p>
    <h4>5 Required Steps</h4><ul class=”badgeos-required-achievements”><li class=”user-has-not-earned”>Dynamics Quiz Review<li class=”user-has-earned”>Add Dynamics<li class=”user-has-earned”>Articulations Quiz Review<li class=”user-has-not-earned”>Add Articulations<li class=”user-has-not-earned”>Score Clean Up<!– .badgeos-required-achievements –></div><!– .achievement-wrap –> <div class=”link-pages”></div>
    </div>

    <div class=”tags-link-wrap clearfix”>
    <div class=”comments-likes”>
    <div class=”love-it-wrapper”><i class=”icon-heart”></i> <span class=”love-count”>0</span></div>
    </div>
    </div>

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Well, I see that:

    Add Dynamics
    Articulations Quiz Review

    have the strike through css applied and

    Dynamics Quiz Review
    Add Articulations
    Score Clean Up

    do not. Which of the steps have been properly achieved/awarded somehow or by someone?

    I’m close to cracking open the code for this, but want to make sure I understand the behavior going on with it.

    Thread Starter matt5834

    (@matt5834)

    The Add Articulations and Score Clean Up have both been properly awarded by me (Awarded by Admin).

    Thank you Michael!

    Matt

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    HI Matt, sorry for the delay. Curious how you’re verifying that the user has earned the award. Is it via what you’re seeing in say the User Profile area for the user? or are you checking through the database and the _badgeos_achievements user meta key?

    Thread Starter matt5834

    (@matt5834)

    Hi Michael-
    It is based on what I’m seeing in the User Profile area. (I’m not familiar with the database and the badges_achievments)

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sorry for kind of dropping off the radar with this Matt. I hope things worked themselves out somehow, or you found a different way to handle what you needed. Let me know if you still need me to check on anything.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Quests not being crossed out’ is closed to new replies.