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

    (@tw2113)

    The BenchPresser

    They’re going to need to be running a do_action on wp_login for it to work with our plugin, because that’s the hook we rely on to confirm that achievement step.

    Thread Starter Deathsin321

    (@deathsin321)

    Do You know code which calls wp_login function?

    Thread Starter Deathsin321

    (@deathsin321)

    I also try to do something like:

    “if player don’t have badge” > “give login badge”

    or

    “check if user have badge” if no “give login badge”

    But still i can’t solve code for this. When I do this user get multiple badges of same achievement

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    You’d need to check the 3rd party plugin’s codebase to see if they execute that hook at all. I don’t know which one you’re using so I can’t check myself.

    Thread Starter Deathsin321

    (@deathsin321)

    I’m using pie register.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm. At least the version on WordPress.org here does indeed call that action, so that’s good. Doesn’t explain why it’s not triggering for you though.

    What settings do you have for the achievement you’re testing this with?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Login Award Achievement’ is closed to new replies.