Forum Replies Created

Viewing 9 replies - 106 through 114 (of 114 total)
  • Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @typisch-mann,

    I understand that you are talking about the Checkout redirect of your course access plan options.

    Are you planning on redirecting to the same page for all your 100+ courses? If so, first, please make sure that the Checkout redirect of each access plan in your 100+ courses is left at the default value, which is (Default) Return to Course.

    Now, to avoid having to setup redirects 100+ times for your 100+ course, please use the third-party Redirection plugin available here at www.ads-software.com. Once installed and activated and setup, please go to WordPress Dashboard > Tools > Redirection to create your redirect rule. When creating your redirect rule, set the Source URL to this regular expression ^/course/.*/\?order-complete=.*

    This regular expression will match a path like /course/170/?order-complete=order-6491c8f5bab5c which is what your course will redirect to when you leave the setting Checkout redirect to its default value of (Default) Return to Course.

    Please also add the Regex tag to the Source URL. Please also don’t forget to set a value for the Target URL. This Target URL could be your one thank you page, for example.

    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @somegirlmia,

    Could you please clarify what you mean by front-end course creation? Do you mean the ability to create your courses outside of <span style=”text-decoration: underline;”>WordPress Dashboard > Courses > Add New</span>? Or is it something else?

    Note that your courses and lessons are all editable in the Gutenberg editor as shown here www.ads-software.com/gutenberg. You can also use page builder plugins like Elementor or Divi Builder to edit your courses or lessons.

    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @simeonmeder,

    You can change the string You must enroll in this course to access course content to something else by editing your course on the back-end and then going to Course Options > Restrictions > Content Restricted Message

    Since you can directly modify that string, you do not need to use Loco Translate to translate that. You can just change the actual string in Course Options > Restrictions > Content Restricted Message Note that you have to do this for all old courses that are already created (regardless of the publish status).

    When you try to override the default value for Course Options > Restrictions > Content Restricted Message using Loco Translate, you will only see you change for new courses you create after the translation (not before the translation). The deafult value you need to search for is You must enroll in this course to access course content That string is located in the following PHP files:

    • wp-content/plugins/lifterlms/includes/admin/post-types/meta-boxes/class.llms.meta.box.course.options.php
    • wp-content/plugins/lifterlms/libraries/lifterlms-rest/includes/server/class-llms-rest-courses-controller.php
    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @richiecvz

    Courses and lessons are stored as custom post types. If you access a lesson, you can get the parent course by looking for the “_llms_parent_course” meta key.

    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @montseel,

    The custom location that Loco Translate uses is wp-content/languages/loco/plugins/lifterlms-es_ES.mo.

    On the other hand, if you look at the file at wp-content/plugins/lifterlms/includes/functions/llms-functions-l10n.php you will notice that custom location that LifterLMS recognizes is wp-content/languages/lifterlms/lifterlms-en_US.mo.

    Once you are done translating the strings from within the Loco Translate admin area, you can move the file wp-content/languages/loco/plugins/lifterlms-es_ES.mo to wp-content/languages/lifterlms/lifterlms-en_US.mo. This should fix the translation problems.

    If you want to avoid this manual work of moving .mo files, you can also try using the llms_l10n_safe_directory hook in wp-content/plugins/lifterlms/includes/functions/llms-functions-l10n.php. Using that hook, you would want to replace WP_LANG_DIR . '/lifterlms' with WP_LANG_DIR . '/loco/plugins'.

    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @murtaza131 ,

    The link you sent is malformed, so it doesn’t link to any page. I visited your site but I wasn’t able to find any courses that I can test purchase so I can see the checkout page. Can you provide a link to any purchasable course so we can have a look? Alternatively, you can also upload a screenshot.

    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @jlessa,

    I can see from the screenshot you sent that the two pages have the same layout setting, but they appear to have different widths. One has a fixed width, and the other has full width.

    It’s possible that there are plugins conflicts. If you are also using Elementor, does the issue disappear when you try to temporarily deactivate Elementor? How about when you deactivate all other plugins except LifterLMS?

    Plugin Support Nick Mariano

    (@reddotinmotion)

    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @hibans ,

    Apologies for the late update. Unfortunately, the use case you are describing is not possible.

    This is due to the following reasons:

    • LifterLMS paid lessons, quizzes, and certificates are excluded from the sitemap. Your WordPress sitemap is a just list of all the public URLs on your WordPress website. You can view your sitemap <your-domain>/sitemap.xml.
    • When Google crawls your course page, it sees your course syllabus first. In this course syllabus, the title of free courses have a link attached to them. Google can then follow this link to index the contents of the free course lesson. On the other hand, on your course syllabus the titles of the paid lessons do not have a linked attached to them. So Google has no link to follow.

      Furthermore, even if Google sees the link to paid lessons, the crawler will be redirected back to the course syllabus page. This is because the contents of your paid lessons can only be revealed to enrolled users. If a program (e.g., a crawler) can access those course contents by bypassing the same security mechanism that allows only enrolled students to see the paid lesson content, then others would be able to copy your course content and possibly re-upload it somewhere else.
Viewing 9 replies - 106 through 114 (of 114 total)