wplms24
Forum Replies Created
-
Forum: Plugins
In reply to: [WPComplete] Using your plugins as checkboxesI was wondering about the exact same thing! Thanks for sharing this. I can’t wait to try it.
But I have follow up questions which I feel are suitable to this thread. (If not, let me know and I’ll post a new support thread).
If this technique were used in a simple course scenario:
1) Can a lesson have a checkbox wpcomplete link on both the course page list of lessons and inside the lesson itself?
2) Would that button be synchronized (checked/unchecked in both places) from one click?
I’m having the same issue, too. Everything was working fine just two hours ago, and it was working fine for years since I began using Post SMTP… so I can’t figure out what caused this error to come now.
I tried localizing translation files using Loco, but every time LifterLMS was updated I would lose the local translation. I was not sure if that was the expected outcome of local translations when an update comes out or not, and I was in the midst of a group project with other people relying on me to “fix” this, so I looked for an alternative method, too.
I found a function to put in our theme which allows for the replacement of words without the use of external plugins. For example, you could tell it to replace every instance of “course” with “module”, or – in the case described by @chriscodedesigns, you could replace “State” with “County”. This function will affect both front and backend.
This was a long while back, and ig I’m not mistaken I used a technique learned from here: https://ronangelo.com/change-or-translate-text-on-a-wordpress-theme/
The result was fantastic and you can use the code innyour functions.php file (to avoid creating or using another plugin).
Until this becomes an inbuilt feature in LifterLMS, you can achieve this using another plugin (for example, Download monitor). It has an option to restrict a download to Members only.
And another thing, do be careful: if you upload media using the normal WordPress method (instead of FTP), an attachment page is created for the media files you upload. I have noticed that this attachment page can be found using search engines even if the content is protected when embedded on a members-only page. To avoid this – if it is a concern – you may want to override the core WordPress attachment template with one of your own. You can search more about this issue online and will find tutorials on how to get it done.
Same here, but my problem seems to have started with version 3.29.0.
I thought version 3.29.2 would correct it, but clicking on Enroll continued to refresh the page.
I rolled back to version 3.28.3 and every thing is working fine now.
Not sure if the upgrades to LifterLMS since my last post here helped or not, because I found a way to resolve this soon after posting. ?? The solution also took care of the issue with the missing (Mark Lesson as Complete) button and Lesson Navigation mentioned here.
And, it also automatically took care of the issue you mentioned with leftover block code, so I didn’t have to go to each lesson and manually delete each remnant of code. Perhaps the filter to disable Gutenberg took care of it automatically? I cannot say for sure…
Anyway, I’ve outlined the steps I took in the other thread and will link to them here to avoid repetition.
Sorry for the late reply.
I cannot say for sure if the upgrades since my last post helped or not, because after writing my previous post I actually found a way to resolve the issue.
This is the path I followed, but do keep in mind there may be a simpler solution that I missed:
1. With the Classic editor plugin still activated on my WP site, I enabled the Switch editor option in the settings.
2. I manually edited each lesson and clicked on the Switch to Classic Editor option from the right side list.
3. Previewing the lesson confirmed that the missing buttons and lesson navigation returned.
4. After applying the previous steps to all lessons, I then disabled and deleted the Classic Editor plugin.
5. I also added the following filter to the functions.php file to disable Gutenberg once and for all:(I need time to get used to it and much prefer the simplicity of the Classic editor anyway).
// Disable Gutenberg editor add_filter('use_block_editor_for_post', '__return_false');
Note: These same steps also resolved another issue I was having where the Course Information appeared twice and many random lessons. There is already thread in the support forum for that issue, so I will put a reply there linking to this post instead of repeating the answer.
So, that’s that. Hopefully I didn’t miss mentioning any important steps. Next time an issue comes up I will make an effort to post immediately after resolving it, God willing.
I’m experiencing the same problem and a random occurrence, but I am not using the Astra theme.
I am using the Classic editor plugin, though, but deactivating it does not resolve the issue.
Opening the affected lesson, switching from and back again to Block editor and then updating the lesson gets everything back to the normal state. Not an ideal solution for anyone with a lot of lessons, but a temporary fix if you’re short on time.
These items also keep randomly disappearing from my website, but I’m not using any of those plugins mentioned in the post above or the member comments – so I am not sure what causes it.
Actually, now that I think of it, it’s been happening for a long while on and off since the WP5 update.
However, I am able to resolve the issue in a strange way. I first open the lesson in Block Editor mode. Then, I click Switch to Classic Editor from the menu on the right. Following that I click the Update button (without actually making any changes).
After this, the missing buttons and lesson navigation returns.
It’s very annoying, and so very very random because it affects older lessons that haven’t even been touched in awhile.
I’m not really sure if it’s related to WP5, LifterLMS or the Classic editor plugin. And yes, the solution that works for me is not ideal if you have a lot of lessons already published and if your website is public (not a development one), but I figured sharing my experience may help someone.
Thank you for clarifying this. I had assumed the inline notification was not removed because it was still working on the demo site at lifterlms.com. I figured since it was there, there must be something within my website or code that made it stop working.
The inline notifications are preferable to me because the popup ones are a bit annoying on a tablet or mobile phone. So the inline ones are “safer” and more accessible, too.
One more thing, please. In addition to the above, what do I add in order to get a notification for a lesson that was marked as incomplete or a course that has been completed?
Forum: Plugins
In reply to: [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Slug translatedThere is a way to work this out without using another plugin (in case anyone else is searching for a similar solution).
The first post by @thomasplevy on this thread and his following code on github helped me work this out on an Arabic install of WordPress that uses LifterLMS.
I am not an expert at PHP, but I think what this does is just forces LifterLMS to use ‘course’ and ‘lesson’ as slugs regardless of the default website language in the settings of your install. So it could work for any language.
You can add the following code to your child theme’s functions.php, site specific plugin, or LifterLMS customizations plugin:
// Replace Arabic slug translation for 'course' function my_llms_course_reg( $args ) { $args['rewrite']['slug'] = _x( 'course', 'slug', 'my-text-domain' ); return $args; } add_filter( 'lifterlms_register_post_type_course', 'my_llms_course_reg' ); // Replace Arabic slug translation for 'lesson' function my_llms_lesson_reg( $args ) { $args['rewrite']['slug'] = _x( 'lesson', 'slug', 'my-text-domain' ); return $args; } add_filter( 'lifterlms_register_post_type_lesson', 'my_llms_lesson_reg' );
Thanks for your reply, Barry.
I just realized that you are still using version 3.16.11 of LifterLMS.
I am using 3.17.5 (the most recent version at the time of this post) but despite that there still seens to be an issue of showing the course completion status on the student dashboard.
Furthermore, I recently tried the GamiPress plugin alongside LifterLMS. The core plugin works well, but the integration they have with LifterLMS is not registering lessons, sections, or courses as “completed”. I’m not sure if this is an issue with Gamipress LifterLMS integration or if it’s related to LifterLMS’ lesson/course completion functions.
@jstead Thank you so much for sharing this! It is really useful and helpful. You made my day as well ??
@marianomartene Thanks for posting this question here and helping people like myself find a solution to a shared problem.
@thomasplevy Thanks for creating LifterLMS and continuing to update it for us all. You’re doing great work by creating this tool that helps people learn and share knowledge. So even though you don’t have the capacity to fulfill every feature request, you have still done so much for the online community. Please continue to keep up the great work.
- This reply was modified 6 years, 7 months ago by wplms24.
I am experiencing the same issue as well, in addition to the problem I mentioned in a post on lesson complete/incomplete messages not showing.
I wonder if the two issues are related.
Are your lessons displaying the “Congratulations! You have completed …” messages after you mark lessons as complete? What about when you mark them as incomplete?
- This reply was modified 6 years, 7 months ago by wplms24.