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

    (@tw2113)

    The BenchPresser

    The progress bars in the screenshot aren’t going to be something I can share, as those were done for a specific client.

    We haven’t forgotten about the idea of a progress bar display, it just hasn’t been done yet.

    Thread Starter bigkahunaburger

    (@bigkahunaburger)

    I don’t new the css etc. All I need is the php that can display the number of steps completed by the logged in user as a percentage of the total steps.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Essentially you need to grab two things. The necessary steps for a given achievement, and the user’s current achievements.

    You then need to compare what’s achieved vs what’s needed, and get the step counts from there.

    $achievements   = badgeos_get_required_achievements_for_achievement( $achievement_id );
    $user_steps     = badgeos_get_user_achievements(
    	array(
    		'user_id' => $user_id,
    		'achievement_type' => 'step'
    	)
    );

    It looks like users are able to create their own learning paths. How is that done? Could you point me in the right direction?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Badge Progress Bar?’ is closed to new replies.