Notice messages for complete/incomplete lesson not showing
-
I recently noticed a problem on the front-end of a local website running LifterLMS: the notices for completed and incomplete lesson no longer show up.
However, all other notices on the front end show up. I have done several tests to confirm this.
This problem became noticeable recently, when I was testing GamiPress’ LifterLMS integration with my local install of LifterLMS. But I have feeling the problem happened long ago since I can’t remember the last time I saw the green box with “Congratulations! You have completed (lesson title)…”
I thought perhaps another plugin was interfering, but disabling all plugins except LifterLMS delivers the same result: no complete/incomplete lesson messages. Likewise, changing the theme, deleting the cache, etc.
From my understanding, the messages shown when a lesson is marked complete/incomplete are related to two templates:
1) plugins\lifterlms\includes\controllers\class.llms.controller.lesson.progression.php
2) plugins\lifterlms\includes\class.llms.frontend.forms.phpBut when I took a look at the LifterLMS directory after updating it, I noticed that class.llms.frontend.forms.php no longer has the code parts related to complete/incomplete messages returned to the user. And, in class.llms.controller.lesson.progression.php I saw a commented out line:
// llms_add_notice( sprintf( __( 'Congratulations! You have completed %s', 'lifterlms' ), get_the_title( $lesson_id ) ) );
I am not very experienced with PHP, but I do know a what I need to get along fine. However, I’ve explored here and there in the LifterLMS plugin file and still can’t figure out why the notice messages for complete/incomplete lesson do not show up, but all other notices do. I’ve also looked through the LifterLMS github repository (new ground for me) and could only figure out that there has been a change to the template files. It made me wonder if the update intentionally removed these notices, but I don’t think that is the reason.
It might end up being a very simple reason and I’ll feel foolish for not realizing, but – oh well. Experience is a great teacher.
So,
- Is anyone else having this issue (where notice messages for complete/incomplete lesson do not show up, but all other notices do) since updating LifterLMS?
- If yes, has anyone figured out a solution?
- If no, can anyone recommend further troubleshooting options besides deactivating all other plugins, changing the theme, deleting the cache?
- The topic ‘Notice messages for complete/incomplete lesson not showing’ is closed to new replies.