Dmitry Merkushin (a11n)
Forum Replies Created
-
I think I found the issue: https://github.com/Automattic/sensei/blob/d8eaf50c4212c1d5e0fdc30c3ba2d2e786306fe3/includes/internal/emails/class-email-page-template.php#L127
I prepared a PR with the fix. Meanwhile, you can slightly change the condition there to the following:
if ( empty( $post_type ) || Email_Post_Type::POST_TYPE !== $post_type ) {
I hope that helps you to temporarily fix the issue until we release it.
- This reply was modified 11 months, 1 week ago by Dmitry Merkushin (a11n).
Forum: Plugins
In reply to: [Sensei LMS - Online Courses, Quizzes, & Learning] List of user coursesHi @albertoaye
We got a report about a similar issue, but couldn’t reproduce it.
Here is the issue in our GitHub: https://github.com/Automattic/sensei/issues/6944
Could you provide a step-by-step guide to reproduce the issue?
Meantime, have you considered the Course List block instead of the shortcode?
Forum: Plugins
In reply to: [Sensei LMS - Online Courses, Quizzes, & Learning] Features of Sensei LMSHi @healper
It would be nice to know if there is a dashboard that shows a group of peoples completion, along with helpful things like being able to sort by result percentages, failure rates, retry rates in one easy to view dashboard.
At the moment, Sensei doesn’t have a dashboard like that. Partially, this information is available in Reports, but doesn’t cover all the described metrics.
Please consider adding a feature request in our GitHub repository to reflect your interest in adding that feature.
Hi @chanart
One option is to use the lesson progress repository. We keep a copy of the instance in the public property, so you can do something like that:
$progress = Sensei()->lesson_progress_repository->get( $lesson_id, $user_id );
If the progress exists for the user in the lesson, you get a progress object.
The described approach is a work in progress.
Another option is to use the old way of getting lesson status:
\Sensei_Utils::sensei_check_for_activity( array( 'type' => 'sensei_lesson_status', 'user_id' => $user_id, 'post_id' => $lesson_id, ) );
Hi @sandersuvi !
Which strings are not showing up correctly translated?
Congratulations on completing this course!
Visit Results – button
Find More Courses – buttonThese strings are part of the Course Completed page, and could be translated in the process of the creation of pages during installation of the plugin in case translation exists. After installation, you can go directly to the page and update texts.
Unfortunately, I suppose those strings are not yet translated to Estonian.
- This reply was modified 1 year, 8 months ago by Dmitry Merkushin (a11n).
Hi @knguyen2011,
Looking at your screenshots I have an assumption that your system use different settings for CLI and FPM.
Do you have a chance to check
gd_info()
returns in the browser?For example, you could install Code Snippets plugin.
Add a new PHP snippet with the following content:
print_r(gd_info());exit;
Choose “Only run once”, then click “Save Changes and Execute Once”.