• Resolved peternepstad

    (@peternepstad)


    Any assistance you can provide is appreciated. The plug in does grant the badges appropriately, but not points. All of my courses end with a quiz of some kind. I have two choices, to grant the achievement on completion of the quiz, or to grant it on completion of the lesson. In both cases, the achievement badge is awarded, but the associated points are not. I am just about ready to launch the site and thinking about hiding the points for now, though my preference would be to leave them. If there is any troubleshooting advice you can give, much appreciated.

    Thanks much,

    — Peter Nepstad

    https://www.ads-software.com/plugins/badgeos-learndash-add-on/

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

    (@tw2113)

    The BenchPresser

    Checking on this one, sorry for the delay in reply to the original thread of yours, and thank you for your patience thus far. Hopefully we can determine a solution for you soon.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hey Peter, could you confirm if you’re on WordPress 3.9.x for us? The issue may not be a Learndash one, but more a BadgeOS core issue that is related to WordPress core itself.

    Thread Starter peternepstad

    (@peternepstad)

    Interesting! Thanks for taking a look at this. I am on 3.9.0. I have not yet updated to 3.9.1 because I have to do it manually and a bit of a hassle, but I can (and it sounds like I should?) do that now.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    No, it’s not a case of updating, it’d be a case of downgrading. We have a temp fix in BadgeOS that is only running for 3.8 or lower, because at the time we thought a core trac ticket would be committed to 3.9. However, it wasn’t, so we reversed our patch for the moment until it does get into core.

    It sounds like you’d be more than comfortable enough to edit a file yourself to get our undoing in place, until 1.4.0 gets released which will have the change as well.

    In the includes/rules-engine.php file in the core BadgeOS plugin, go to line 161, which should look like:

    $is_recursed_filter = ( 'badgeos_award_achievement' == current_filter() && version_compare( $wp_version, '3.9', '<' ) );

    and change it to:

    $is_recursed_filter = ( 'badgeos_award_achievement' == current_filter() );

    If you could do that and let us know if it fixes the problem, that’d be awesome and help out some other users as well, in the long run.

    Thread Starter peternepstad

    (@peternepstad)

    Fantastic! That did the trick. I’ve made the change and done a couple successful tests. I’ll test a bit more and let you know if there are any that don’t work, but it looks that fixed it. Thanks so much!

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Good to know. This edit likely won’t introduce new bugs, to be honest, because it just limited to only below 3.9. Any bugs you may find would have been there for a lot longer. So…if you find any, let us know so we can get them fixed ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Points still not awarded for LearnDash activities’ is closed to new replies.