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

    (@tw2113)

    The BenchPresser

    Could you please provide what shortcode attributes you are using? Also is this a case of pages with their own page refresh? or perhaps just clicking tabs along a spot that show/hide content dynamically? The reason I ask that last part is because with how the shortcode works and the ajax involved, it’s only able to have one instance per pageload.

    Thread Starter jscott87

    (@jscott87)

    Shortcode we are using: [badgeos_achievements_list]

    Here’s a bit of background…

    We are using LearnDash LMS and have the BadgeOS plugin that integrates with it. Whenever the Students(specific user role) earn the badges, they pop up on lesson completion and show up on their profile dashboard just fine. However, if we place the same exact code on the dashboard of Teachers(another specific user role) then we get the text that says “No steps to display at this time.” instead of the list of badges on the Teacher profile dashboard.

    And, no we do not have the shortcode listed twice on one page. The Student and Teacher profile dashboard pages are two different pages. Don’t think we should have a page load problem.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm. I have to believe it’s an issue with the user being queried for for display. Student user vs teacher user.

    Without specifying anything, like you’re showing above, it’s going to ultimately fall back on the current user ID, regardless of where the shortcode is being used.

    Whose achievements are intended to be seen within the teacher area? Individual students? It’d be possible to amend template files for this, if each student has their own “page” and you’d be able to access a displayed student user ID.

    Hey Michael, I’m working with Jeremy on this too.

    We have a student dashboard specifically for role=student and we have a teacher dashboard where role=instructor (new add-on for LearnDash).

    We want the teachers to be able to take quizzes and see badges too, just like the students. The [badgeos_achievements_list] is the shortcode we’re using on both pages.

    Does this help?

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    To a certain degree, I’m still left curious what the resulting queries are for the shortcode. It’s not going to take user roles into account, just user IDs.

    That said, are teachers supposed to have achievements awarded to them as well? As is, it sounds like they don’t have any, which is why the shortcode is not listing any. So I’m still confused as to what or whose achievements the shortcode on the teacher dashboard is intended to show.

    Michael, can you help me understand and how to find “the resulting queries for the shortcode”? What exactly do you mean by that?

    If you’re familiar with the LearnDash and BadgeOS integration, when someone enrolls in a course and starts taking quizzes, they can be awarded badges.

    The teacher should be getting badges for the quizzes that THEY have completed. In this way they can act like a student and take the quizzes too.

    Does this help?

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Getting those isn’t going to necessarily be straightforward, sadly. I know of plugins that help, but at the same time it takes having some experience with them to understand the data and whatnot.

    Not sure if you’d be able to give me a temporary account at all to use and expedite things.

    Regardless, whatever settings are being set for the teacher user queries, it’s not finding achievements for them at the moment.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Badge achievements list not loading on multiple pages’ is closed to new replies.