Nick Mariano
Forum Replies Created
-
That’s a problem, indeed, if LifterLMS Lab’s action manager is not working as it should. Could you confirm if you went to
WordPress Dashboard > LifterLMS > Labs > Action Manager > Configure > Single Course Actionsand checked the following?- Meta Information Opening Wrapper
- Meta Information Closing Wrapper
- Meta Information: Author
I’ve tested this in WordPress 6.4.3 using Elementor 3.19.2 and LifterLMS 7.5.3 while the active theme is Astra 4.6.5. The settings above were able to remove the duplicate “Course Information” and duplicate “Course Instructor” elements from the page. Could you confirm if you are using those exact version of the software I mentioned?
If this still does not work on your end, you can also hide those duplicate elements using CSS.
As for the sidebars, these are all controlled by your current Astra theme. If you open the course on the backed (and not in Elementor), there is an Astra icon called “Astra Settings” on the top right corner of the backend of the course. Please click on that, and on the settings panel that appears go to Astra Settings > Sidebar and select either Left Sidebar or Right Sidebar. Then click on Update to save your layout changes. To add widgets to this sidebar, go to WordPress Dashboard > Appearance > Widgets > Course Sidebar. All this worked for me on my test site.Have you also tried manually creating several student accounts in WordPress Dashboard > Users > Add New User and use that new user to test-enroll on the courses? You can test using a free access plan and also by manually enrolling the student to the course by following lifterlms.com/docs/manual-membership-management.
Out of curiosity, you mentioned that this WordPress site is your project. Is this a recent project doesn’t have a lot of content? If this project is just starting up (and does not a lot of pages, posts, or actual students yet), would it be okay if you experiment by resetting your WordPress site?
If it is safe to erase your site and start with a new one, you can use the WP Reset plugin.
Alternatively, if resetting the site is not acceptable, could you try test-migrating your site to a different host and see if the problem replicates on a different host? Currently, enrollments are working fine on our test sites so this has be an issue with the environment.Hi @tpk411,
We have created this help document at lifterlms.com/docs/css-structure to help users write their own CSS code to customize the front-end of CSS as much as they want. Please also checkout lifterlms.com/docs/add-custom-css.
We also recommend that you try to rule out for potential caching issues if the style problems vary from course to course or if your style changes do not reflect consistently on the front-end. In particular, you may want to make sure that you are not using server-side page caching. You can contact your webhost to confirm this. Please also rule out CDN caching by disabling CDN caching for you site (if you are using any).For the “course assets doubling up” issue, we recommend that you install the free LifterLMS Labs plugin. You can then select which elements should not be automatically added by LifterLMS to a course by going to
WordPress Dashboard > LifterLMS > Labs > Action Manager > Enable. Once theAction Manageris enabled, go toWordPress Dashboard > LifterLMS > Labs > Action Manager > Configure > Single Course Actionsand check the checkbox for the elements that you do not want to be automatically added to a course. You can learn more about this in lifterlms.com/docs/lab-action-manager.Hi @sergiovirtus,
To check if the most recent update in LifterLMS is the cause of the regular-student login problem, you can use the free WP Rollback plugin to install older versions of LifterLMS.It’s also good that you already tried to rule out potential plugin conflicts and potential theme conflicts. Since you did not find any such conflicts (aside from Yoast SEO), have you considered manually resetting the password for the “regular student” in the backend before attempting to login-in again?
If after manually resetting the password (so that you choose / create the new password yourself for the regular student), you are still not able to login as that student, you need to rule out potential caching issues on your live site. Please consult this help document at our website at lifterlms.com/docs/caching-issues-faqs to learn how to do that. In particular you may need to consider servers-side caching or CDN-side caching, or both since you have tried this on different computers (or browsers) and still didn’t work.Please also note that we are aware of this hard-to-replicate issue. What usually works for us when this happens on our testing sites (on rare occasions) is to clear the browser cache (including all the cookies) or to use different browsers in incognito mode.
Hi Francesco,
You can use the JetPack plugin to enable LaTex support on your WordPress site. Once enabled, you can use use [latex]\frac{1}{2}[/latex] to beautifully display a fraction 1/2 on your content area. You can try if this would also work in your title area. If it doesn’t work, you can try other LaTex plugins in WordPress.
Hi @kubalonek84,
Thanks for confirming that the code partially works. We sometimes give custom code to users specially when we intend to add those snippets to our snippet library at github.com/gocodebox/snippets.
Kindly note that providing customizations is outside the scope of our existing support policy. As a result, if you are actively working with or developing a theme or child theme, we recommend that you hire a WordPress developer for customizations like this.
Another quick (and free) alternative to hiring a developer is to use AI tools like ChatGPT for general WordPress questions, since you can test out the code recommendations on your test site in real time as they are generated.Hi @artisanweb,
We’re unable to replicate this exact issue at the moment with LifterLMS Memberships. You are correct that LifterLMS memberships are not required in order to enroll to a course — as long as you add access plans directly to the courses in question.
If we understand your correctly, in your previous (non-working) setup:- The individual courses do not have an access plan.
- These course are added to a membership in WordPress Dashboard > Memberships through that memberships Membership Settings > Auto Enrollment > Add Courses.
- The membership has an access plan (free or paid).
- Most importantly, the courses are added to the membership before the students enroll on them.
Note that in point 4 above, if I add a new course to a membership that already has existing enrollments, those students will not be automatically enrolled to that new course. You’ll need to manually enroll the students by clicking on the Enroll All Members button from Membership Settings > Auto Enrollment.
On the other hand, if your previous non-working setup is the not setup described above, we’ll need more information to replicate the issue you are having. In particular, we’ll need some step by step instructions on how to replicate your previous non-working this on a fresh install of WordPress and fresh install of LifterLMS (if that previous setup is not the standard setup we describe above).
Hi @x9design,
I was able to replicate the issue on a fresh install of WordPress and fresh install of LifterLMS. As a result, I created this bug report on our GitHub page.Please note that for known bugs and feature requests, even if our developers start working the problem, we won’t be able to give you an estimated timeline on when these will be fully fixed/implemented, tested, and released. But you are free to check our bug report from time to time to see the latest developments on that specific issue.
Hi @kubalonek84,
You can use the PHP code below to hide some courses (by course ID) from the LifterLMS student dashboard page based on the specific WordPress user roles. In the code below, just replace
$roles_to_excludewith the array of WordPress user roles that you want. This array can have one or more items in it. You also need to replace$posts_to_excludewith the array of course IDs.function exclude_posts_for_roles($query) { // Check if it is the main query and the user is logged in if (is_admin() || !$query->is_main_query() || !is_user_logged_in()) { return; } // Replace the array with your actual roles $roles_to_exclude = array( 'student', 'editor' ); // Replace the array with your actual post IDs to exclude $posts_to_exclude = array( 98, 109 ); // Check if the user has any of the specified roles $user_has_excluded_role = false; foreach ($roles_to_exclude as $role) { if (current_user_can($role)) { $user_has_excluded_role = true; break; } } // If the user has any of the specified roles, exclude the specific posts if ($user_has_excluded_role) { $query->set('post__not_in', $posts_to_exclude); } } add_action('pre_get_posts', 'exclude_posts_for_roles');Hi @kubalonek84,
Thanks for reaching out. We need to clarify what you mean so we can better assist you. Could you please clarify what you mean by “what process makes the less is available for membership”?
If you also need to check the debug logs, please enable debug mode and debug logging on your WordPress site. You can enable debug mode and debug logging by following this resource on WordPress.org site at wordpress.org/documentation/article/debugging-in-wordpress. When you enable debug mode and debug logging, please do not forget to turn off debug display by addingdefine( 'WP_DEBUG_DISPLAY', false );to yourwp-config.phpfile.
Once debug logging is enabled, you can go to WordPress Dashbaord > LifterLMS > Status > Logs to view your debug logs.Hi @traceyweb,
When this issue happens, is the user also automatically logged in to the site after making the purchase (assuming this is a first time student on your site)?
Since the issue persists on your staging website even after you switched to a default theme (e.g., Twenty Twenty Four) and deactivated all plugins (except LifterLMS and LifterLMS Labs), then further troubleshooting needs to be done. For example, can you verify that your student dashboard page, checkout page, and course/lesson pages are excluded from the CDN cache (if you or your host is using a CDN)?
We also recommend that you enable debug mode and debug logging and try again. You can then investigate the debug logs and see if there is any useful log there that can point to what is causing the autoenrollment to fail. Please also check if the issue happens on brand new courses and brand new memberships that you create on your staging site, and if the issue happens in multiple different browsers in incognito mode / private mode. For example, it’s possible to experience this issue in one browser but not the other.
It’s also advisable to investigate potential server related problems by contacting your hosting provider. They should readily have access to tools that would help them further diagnose this issue for you.If I understand your concern correctly, were you trying to create a form in
WordPress Dashboard > LifterLMS > Forms? Let me see how we can help you here.
We tested this onLifterLMS 7.5.0by editing any of the built-in forms (i.e.,Billing Information,Register,Edit Account Information). We were not able to reproduce the JavaScript error by editing these forms.
To add a new form using theAdd New Formbutton, I installed and activated theLifterLMS Custom Fieldsadd-on on my test site. Creating a new form this way by clicking on theWordPress Dashboard > LifterLMS > Forms> Add New Form button also didn’t reproduce the same issue.
As a result, in addition to deactivating all plugins exceptLifterLMS 7.5.0and theLifterLMS Custom Fieldsadd-on, could you also switch to a default theme (e.g., theTwenty Twenty Fourtheme), and make sure that there are no custom codes running? We also recommend that you delete then reinstallLifterLMS 7.5.0(and also theLifterLMS Custom Fieldsadd-on if you are using it).
We’ll look out for your response, and let us know if you have any other questionsAt the moment, LifterLMS does not have such a direct integration with StreamYard so that:
- LifterLMS can associate a stream from StreamYard to a course in LifterLMS, before that stream is created.
- Receive data from StreamYard at a specific time before the stream starts, so that users enrolled in a course that is associated with a specific stream will get notified.
If you need this custom integration, this will require some custom development work. For custom development work, we recommend that you hire a WordPress developer. In particular, if StreamYard supports using webhooks, then it might be possible (but not guaranteed) for your developer to build the custom integration you are describing.
Forum: Plugins
In reply to: [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Quiz CourseHi @vinode,
I understand that you would like to create courses whose sole purpose is to contain quizzes. Let me see how we can help you here.
Creating a course that contains only quizzes.
If you are talking about embedding quizzes not built with LifterLMS by using hyperlinks, you can do that with a LifterLMS course page since a LifterLMS course page behaves just like a regular page that you can edit or design using the Gutenberg editor in WordPress.
On the other hand, if you are taking about embedding quizzes built with LifterLMS then what you can do is to just create lessons with a short introduction to what the quiz is about. Then, in that lesson, you can add a LifterLMS quiz. To add a quiz to your lessons, open the course in the
Course Builder. Click on the lesson you want to add a quiz to, and then under theQuiztab, click on theCreate New Quizbutton.Advance reporting options and other features.
At the moment, the following features are not available in both the free
LifterLMSplugin or the paidLifterLMS Advanced Quizzesadd-on:- Students must be able to report the wrong question to admin for correction.
- Student must be able to download their solved quizzes.
- Admin must be able to download the results of all students of particular quizzes or all results of whole course.
Instead of being able to download all results for individual students and individual questions, you can go to
WordPress Dashboard > LifterLMS > Reporting > Quizzesand click on the number in theTotal Attemptscolumn to see how many attempts (and who are the students) who made those attempts.To view the quizzes a specific student took, you can go to
WordPress Dashboard > LifterLMS > Reporting > Studentsand click on the link under theNamecolumn. Then, on the page that loads, you can click on theCoursestab then click on the specific course that you would like to look at. On the page that loads after that, you can find the quiz and results for that quiz in theQuizandGradecolumn.For the features not present in the LifterLMS plugin, we recommend you file a feature request by going to our official website and filing a feature request at lifterlms.com/feature-request.
Please let us know how our suggestions work for you, or if you need further assistance. We’ll look out for your response, and let us know if you have any other questions!
Hi @jlunas16,
I understand that you would like to override the
get_current_strengthmethod of theLLMS.PasswordStrengthobject. Let me see how we can help you here.To override the
get_current_strengthmethod, I first installed and activated the free Code Snippets plugin. Then I went to WordPressDashboard > Snippets > Add Newto create a new snippet. After adding the appropriate snippet title, I pasted the code below. It appears to have worked since I get the"get_current_strength overwritten."message in the logs when I try create a password while trying to register as a new user in the/dashboard/page. Could you check to see if this approach works for you, too?add_action( "wp_footer", "custom_update_llms_password_strength_logic", PHP_INT_MAX ); function custom_update_llms_password_strength_logic() { ?> <script> (function($){ $.extend(LLMS.PasswordStrength, { get_current_strength: function( format ) { console.log("get_current_strength overwritten.") /* Write your custom logic below.*/ } }) })(jQuery); </script> <?php }