• Resolved jon.brantingham

    (@jonbrantingham)


    I really appreciate the effort that went into this plugin.

    Is there a way to stop the plugin from tracking when a student goes to the main course page?

    When a student is on a lesson, and then navigates back to the main course page, it replaces the resume link with the course link. However, that defeats the purpose of the resume button, as you would want to resume the last lesson or topic you were on.

    https://www.ads-software.com/plugins/uncanny-learndash-toolkit/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Uncanny Owl

    (@uncannyowl)

    Hi Jon,

    You’re correct, the Toolkit tracks all visits to LearnDash post types and there is no way to have it ignore courses. This change is something we’ll consider, but not something we would change universally. On one client site, for example, we use the course post types as an easy way to issue certificates (lessons are hidden) and people spend most of their time on the course page; I know for that site bookmarking at the course level is important. That example is obviously atypical, but there are cases where we do want course captured.

    I do see value in adding an option to exclude courses but I can’t confirm when or if we’ll make the change. If something immediate is needed, your best bet is custom development.

    Thread Starter jon.brantingham

    (@jonbrantingham)

    Thanks for the response. I was actually able to figure it out. For anyone wanting to tinker with the code a little.

    In the file src/classes/learn-dash-resume.php:
    Line 120. If you comment out: ‘sfwd-courses’, it won’t track. I am testing right now, to make sure there are no other issues, but it is working for me right now.

    Once again, thanks for the great plugin.

    Plugin Author Uncanny Owl

    (@uncannyowl)

    Thanks John! Normally we try to discourage updates to the plugin itself, as any changes will be lost when the plugin is updated. This certainly works as a quick fix though.

    We will still keep in mind a toggle for a future update; thanks again for the suggestion.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stop resume button from tracking navigation back to course page’ is closed to new replies.