Giter Site home page Giter Site logo

learnpress / learnpress Goto Github PK

View Code? Open in Web Editor NEW
234.0 234.0 135.0 48.03 MB

LearnPress WordPress LMS Plugin by ThimPress

Home Page: https://thimpress.com/learnpress

JavaScript 12.79% CSS 0.01% PHP 79.71% Shell 0.11% Hack 0.20% SCSS 7.17% HTML 0.02%
elearning learnpress learnpress-lms-plugin lms lms-wordpress-plugin wordpress-plugin

learnpress's Introduction

LearnPress Travis GitHub issues GitHub forks GitHub stars

LearnPress is a comprehensive WordPress LMS Plugin for WordPress. This is one of the best WordPress LMS Plugins which can be used to easily create & sell courses online. You can create a course curriculum with lessons & quizzes included which is managed with an easy-to-use interface for users. Having this WordPress LMS Plugin, now you have a chance to quickly and easily create education websites; online school websites; online-course websites for sale or free with no coding knowledge required.

LearnPress Features

LearnPress LMS Plugin works with your WordPress Theme

We create LearnPress LMS Plugin to work with any WordPress Themes.

Create Course

LearnPress LMS Plugin has an excellent user interface for you to create a course with many options fit your needs. You can find it easy to create a full curriculum layout as well as edit and maintain it. You can export course and import to other website which also using LearnPress. We will release the feature which allows you to import course from other WordPress LMS plugins soon.

Manage Course

With the course you've created, you can share, manage, watch statistic about number of students, etc.

Sell Course

LearnPress is free but it still allows you to sell your courses with many payment methods are supported such as PayPal, WooCommerce, Stripe.

Communicate with your Students

By supporting BuddyPess, LearnPress will help you to communicate with your student or instructor via WordPress forum. Learning is not only on your own. Study, make friends and have fun.

LearnPress provide a bunch of Add-ons

Add-ons are used to provide extra features for LearnPress and you can also write it.

LearnPress is free and always will be

Education should be free and we want you to bring it to as many people as you can. Therefore, we created LearnPress as a free tool for you to create course and share it. We'll continue developing it as long as we can and make it better and better.

LearnPress is actively developed

We are developing and improving LearnPress day by day and bringing new features to you because we want LearnPress to become the best WordPress plugin in LMS.

LearnPress Support WordPress Multi-Sites And Multi-Language

LearnPress Add-ons

Free Add-ons for LearnPress WordPress LMS Plugin:

Premium Add-ons for LearnPress WordPress LMS Plugin:

LearnPress Mobile App

LearnPress Mobile App is an LMS Mobile App for iOS & Android built with React Native Technology. If you have Online Education & LMS websites using WordPress Themes or LearnPress Plugin, LearnPress Mobile App supports you to convert your current websites to LMS Mobile App easily. Your LMS Mobile App will be on both App Store and Google Play Store. All courses will be synced immediately between your Online Education & LMS Website and your LMS Mobile App.This LMS Mobile App brings to your students a new learning experience when they can manage and track their courses as well as instructors.

LearnPress ROADMAP

  • Payment Method support (first priority):
    • Google Checkout.
    • Amazon Payments.
    • Dwolla.
    • Braintree.
    • Samurai by FeeFighters.
    • WePay.
  • Share Grade.
  • BadgeOS.
  • Create quiz from randoms questions in question bank.
  • Attach restriction for lesson.
  • Presentation support (maybe support SlideShare).
  • Show enrolled users.
  • Student ranks.
  • Report/feedback about a question/quiz/lesson.
  • Commission for payment method.
  • Instructor's note.
  • Private message from Admin to teacher.
  • Group payment.

Any suggestions for this WordPress LMS Plugin? Send us here.

Install

From your WordPress dashboard

  1. Visit 'Plugins > Add new'.
  2. Search for 'LearnPress'.
  3. Activate LearnPress from your Plugins page.

From WordPress.org

  1. Search, select and download LearnPress.
  2. Activate the plugin through the 'Plugins' menu in WordPress Dashboard.

Frequently Asked Questions

What is LearnPress ? LearnPress is a plugin to create a LMS website, to spread out course, or sell course.

Where can I find LearnPress documentation and user guides? If you want to use LearnPress to build a Learning Management Website, please refer to our user guides in LearnPress official site. And if you want to extending or theming LearnPress, see our Wiki.

Where can I get support or talk to other users? If you get troubles when using LearnPress you can ask for help on the LearnPres Support Forum.

For help with premium add-ons, use our helpdesk.

Where can I ask for new features or suggest ideas or themes for LearnPress? You can send us your ideas through form here.

Where can I report bugs or contribute to the project? You can also report bugs on LearnPress Support Forum or LearnPress Github Repository.

Where can I find the REST API documentation? You can find the REST API documentation here.

LearnPress is great, can I contribute to it? Yes, you can and we appreciate it. Join in our Github Repository.

LearnPress Translation project https://www.transifex.com/projects/p/learnpress/

Other note Documentation is available in ThimPress site.

For Developer.

  1. git clone https://github.com/LearnPress/learnpress.git

  2. npm install Install required packages.

  3. npm run dev Watch changes to compile js/scss when developing.

  4. npm run build Build and compress js files.

  5. npm run dev-build Build for all js, css files.

  6. composer install Install autoload and required library.

  7. gulp watch For listener change file scss.

learnpress's People

Contributors

anhnn78 avatar chinhtm avatar danhnguyen030298 avatar daonham avatar dongocphuc avatar getmanzooronline avatar haihld avatar haihld58 avatar halink0803 avatar hungkieu190 avatar huy-ngo avatar khanhbdphyscode avatar minh2615 avatar minhhoang2505 avatar minhlucvan avatar pedro-mendonca avatar phamngoclong0126 avatar phamtungpth avatar phonglq avatar rubenmartins avatar taibeo1905 avatar thongta avatar tuanta88 avatar tungnxt89 avatar tunn1234 avatar tunnhn avatar tutv avatar vanquyen27 avatar vanquyen2703 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learnpress's Issues

Want to change text

How do I change text (e.g. "Lecture") to something else (e.g. "Workshop")?

Is there any ways to overload template functions from a theme ?

I saw your code have this condition like this before any template function:

if( ! function_exists( 'learn_press_course_content_next_prev_lesson' ) ){
// function code
}

But when i copied that function to file my theme/functions.php it not work.

The problem come form this method of LearnPress class

public function __construct() {

            // Define the url and path of plugin
            $this->plugin_file = __FILE__;
            $this->plugin_url  = untrailingslashit( plugins_url( '/', __FILE__ ) );
            $this->plugin_path = untrailingslashit( plugin_dir_path( __FILE__ ) );

            // defines const
            $this->define_const();

            // hooks
            $this->init_hooks();

            // includes
            $this->includes();

            // load core add ons
            //$this->load_core_add_ons();

            // load payment gateways
            LPR_Gateways::instance()->get_available_payment_gateways();

            // let third parties know that we're ready
            do_action( 'learn_press_loaded' );
            do_action( 'learn_press_register_add_ons' );
        }

You must move $this->includes(); to hooks method, example:

 /**
         * Initial common hooks
         */
        function init_hooks() {

            // your code
                        // addition code
                        add_action('init', array( $this, 'hooks' ));
        }

Also before load files in method includes you should check is there any learnpress.php file in theme folder like Woocommerce did.
Code example :

function includes() { 
/*
check if exists  TEMPLATE_PATHT/learnpress.php file  or TEMPLATE_PATHT/learnpress/learnpress.php
 Then include that file
*/


// Load your lib code


}

Sorry for my bad English.

Correct Answers and Retakes

Having an issue with quizes. First issue is that if a user trys to retake the quiz it acts funny, sometimes will not let the user choose answers. Second is at the end of the quiz they do not see what questions they missed, i have chosen it to do so. Please help!

'wp-content' hardcoded all over the plugin

Please be aware that many WordPress installations do not use wp-content folder for themes and plugins.
The way you hardcode this is very amateurish. There are many ways to get the path/url of the plugin like plugin_dir_path( dirname( FILE ) ) and plugin_dir_url( FILE )

You should consider doing it that way.

xAPI, SCORM content integration

I have a question regarding xAPI and SCORM content integration and support.
Does LearnPress support content made by third party tools, which are xAPI and SCORM compliant ?

Retake Quiz issue 2.0.9

Hi

When a user fails a quiz and clicks retake it refreshes the page and says "Your quiz grade failed. Quiz requirement 100%" not giving the user the opportunity to reanswer the questions.

Any ideas?

Thanks

Learnpress plugin version control

Unclear whether version 0.9.19 is correct version of Learnpress to be using or 1.0. Our Wordpress install was upgraded to 1.0 but our other plugins are all older:
LearnPress bbPress Integration Version 0.9.3
LearnPress BuddyPress Integration Version 0.9.3
LearnPress Export/Import Courses Version 0.9.2

Also we are doing a fair amount of custom development of the templates and the underlying file structure between LearnPress 0.9.19 and 1.0 is significantly different so we aren't sure of which file structure to be developing on.

Appologies if this is wrong support channel to post to but had trouble creating account at https://thimpress.com/wp-login.php?action=register (no purchase code available for LearnPress)

Error in jquery..

Hi,

Im using learnpress with ultimate-member and has error in jquery..

Have some way to fixed that?

Can we make translations?

We would like to change some wordings for example 'Course' to 'Program'. Is there a way to do this easiliy that would survive an update?

Thanks

Certificates unable to download or print

We purchased the Certificates addon for our LearnPress plugin and are having some difficulty getting it to work. Once a course is completed and the user clicks the “View Certificate” button on the course page it opens the Certificate Preview window and when you try to click either of the image links to download it does nothing. When they try to print it opens the print window however it does not show the Certificate alone it shows part of the certificate along with the background showing the website behind it.

Running JS Debug with Chrome states that AJAX URL not defined in certificates.js.

This file has not been modified in any way after setup so I am unsure as to why it is saying that. I added a function to the learnpress-certificates.php file to fix this but now am getting this error:

cert_url is not defined on line 145 of certificates.js

I see that this appears to be defined in cert-preview.php but am unsure why it is not working.

I have no idea why it will not print, the only thing I can figure is that the canvas is not converting to am image prior to printing during the preview process.

Our LearnPress install is set to go live any day as we are adding content as we speak and I need to get this resolved ASAP if you could help out, thanks.

Also trying to right click and copy or save the image results in a black image being saved or pasted with no certificate. Thanks

Can only create question as True/False

When I try to create a new question from the Question screen, I can only create a True/False. If I try to change the question type the screen is greyed out and I'm asked if I really want to change the question type. There is no response box and I can only return to the previous screen.

WP version 4.5.2

capture

No cart seems to be present

Not sure how this plugin should work but after installing the plugin and creating a course, the only thing I see on the frontend is the course and a button to enroll. Clicking enroll, shows a login screen.

I expected the course to be added to a cart/checkout to gather student information and payment.

Cannot assign Quiz to Course

Hello, I have troubles with assigning Quizes to Course. It's working very strange.

Maybe I'm doing something wrong but I really don't know what to do.

How I do it:

  1. I create a Quiz with a Questions
  2. Then I what to assign it to Course
  3. I cannot find my Quiz :-/

Video: http://d.pr/v/JKN0

Can you help me?

PS: We have deadline untill this week with a website and we cannot make it work :-/ If you can help us ASAP I would really appreciate it.

404 Page not found

I have installed the plugin and create a course with lessons. But everytime I try to access the course it says page not found.
The courses has a base page which i can access. That page list all the available courses. When clicking on one it gives me the page not found. If I try to access directly from the url on the configuration page of the course I get the same error. What I am doing wrong?

learn_press_get_current_url() not working for non standard wp installations

When WordPress Address (URL) and Site Address (URL) in Settings/General are not the same and this happens when WordPress is installed in a separate folder (we are using Bedrock https://github.com/roots/bedrock) learn_press_get_current_url function is not returning the proper url and that causes your plugin to make too many redirects error. This happens when opening a quiz in a separate page.
You are using get_site_url() in lp-core-functions.php line 174. You should consider using get_home_url() instead because that one returns the url that is used on front.

[feature request] override question mark in quiz

Hi, I am testing learnpress and found the marks are defined in individual questions. Does it possible to override this mark in quiz? Then same question can have different marks in different quizzes.

Certificates Does Not Appear in Learnpress Menu

Hi:

I successfully installed and network activated (we have a multisite setup) Learnpress Certificates, but the Certificates item does not appear on the Learnpress menu. When I go to Learnpress -> Add-ons, it shows the Learnpress Certificates under Installed and its button reads Disable Now. If I click this button (with the intention of re-enabling the plug-in to see if that will change anything), I get the circular progress icon, but then it just goes back to Disable Now.

Any ideas?

Create new sample data

The course "How to use LearnPress" as sample data seems old and becomes buggy for the current LearnPress version.

Issue with Page Builder and SiteOrigin

sin titulo
Hi, got a problem with LearnPress. After the last update, Page Builder doesn't work anymore, and i get the visual editor only, causing my homepage stop loading.
If i deactivate LearnPress from the plugins, everything goes back to normal.
anyone with a similar issue?

Saving certificate on server (custom code)

Dear developers,

I'm having a problem creating custom code within the Learnpress Certificates plugin. I want to save the certificate automatically on the server, since I want the certificate to be send along with the "Passed course" mail.

I found the certificate created in the javascript file:
/wp-content/plugins/learnpress-certificates/assets/js/frontend-certificate.js
The canvas is there transformed to an base64 url, which I want to send using a POST to a custom made PHP file. This PHP file then saves the file on the server, so I can attach it to the mail later in class.lpr-email.php.

Here is the code that I'm having now:
frontend-certificate.js
`;(function($){
window.certificates = [];
function loadImage( src, callback ){
var img = new Image();
img.src = src;
img.onload = function(){
$.isFunction( callback ) && callback({width: this.width, height: this.height});
}
}

function download(url, name){
    // make the link. set the href and download. emulate dom click
    $('<a>').attr({
        href:url,
        download:name
    })[0].click();
}
function downloadPNG(canvas, name){
    //  convert the canvas to a data url and download it.
    download(canvas.toDataURL(), name+'.png');
}
function downloadSVG(canvas, name) {
    var data = canvas.toSVG();

    var locfile = new Blob([data], {type: "image/svg+xml;charset=utf-8"});
    var locfilesrc = URL.createObjectURL(locfile);
    download(locfilesrc, name + '.svg');
}

 function saveImage(canvas){

var url = "saveImage.php"
var dataURL = canvas.toDataURL("image/png");

   $.ajax({
        type: "POST",
        url: url,
        data: {img: dataURL}
    }).done(function(o) {
        alert("Succes...");

});
}

window.showCert = showCert = function( $cert, certificate ){
alert("0");
$(document.body).block_ui({position: 'fixed', 'z-index': 99999, backgroundColor: '#000'});///append('

');
$cert.appendTo($(document.body)).css({top: $(document.body).scrollTop()+50}).fadeIn();
$('.close', $cert).click(function(evt){
evt.preventDefault();
$(document.body).unblock_ui();
$(this).closest('.user-certificate').fadeOut();
});

    var $certificate = new fabric.Canvas( $('canvas', $cert).get(0) );
    window.certificates.push($certificate);
    var frame = {
        width: $cert.width()
    };
       saveImage($certificate);

loadImage( certificate.url, function( dimensions ){

        frame.ratio = frame.width / dimensions.width;
        frame.height = dimensions.height * frame.ratio;
        $certificate.selection = false;
        $certificate.setWidth( frame.width ); 
        $certificate.setHeight( frame.height );
        $certificate.calcOffset();
        fabric.Image.fromURL( certificate.url, function(img) {
            $certificate.backgroundImage = img;
            $certificate.backgroundImage.width = frame.width;
            $certificate.backgroundImage.height = frame.height;
        });

        $.each(certificate.layers, function(){
            var args = this;
            if( ! args.type ) return;

            $.each(['fontSize', 'top', 'left'], function(){
                args[this] = args[this] * frame.ratio;
            });
            var layer = new fabric.Text(args.text, args);
            $certificate.add(layer);
            layer.lockMovementX = layer.lockMovementY = true;
            layer.lockScalingX = lockScalingY = true;
            layer.lockRotation = true;
            layer.hasBorders = false;
            layer.hasControls = false;
            layer.setControlsVisibility({
                mt: false,
                mb: false,
                ml: false,
                mr: false,
                tl: false,
                tr: false,
                bl: false,
                br: false,
                mtr: false
            });

        }, this);
        setTimeout(function() {
            $certificate.renderAll();
        }, 150);

      $('.cert-download-png', $cert).unbind('click').click(function(e){
            e.preventDefault();
            downloadPNG( $certificate, $(this).data('name') );

saveImage($certificate);
});

        $('.cert-download-svg', $cert).unbind('click').click(function(e){
            e.preventDefault();
            downloadSVG( $certificate, $(this).data('name') );
        });
    });
}

})(jQuery);`

And the custom PHP file:
saveImage.php

`<?php
//Get the base-64 string from data
$filteredData=substr($_POST['img'], strpos($_POST['img'], ",")+1);

//Decode the string
$unencodedData=base64_decode($filteredData);

//Save the image
file_put_contents('img.png', $unencodedData);
?>`

Both files are situated in:
wp-content/plugins/learnpress-certificates/assets/js

saveImage(canvas) is the function that is ought to be invoking the PHP script.
However that is not happening. I can't seem to find the problem.
The PHP script is working fine, when called from the link in the browser (with a hardcoded base64).

Hope you guys can find a solution. Thanks in advance.

Enroll fatal error

PHP Fatal error: Call to a member function enroll() on a non-object in /var/www/html/vseed/wp-content/plugins/learnpress/inc/class-lp-ajax.php on line 104

Widgets are not showing after latest update

"Featured Course" widget and other default LearnPress widgets are no longer present under the "Widgets" tab after the latest update.

Installed a fresh LearnPress install on two sites with the same result. The previous areas of my site containing said widgets are now blank.

EDIT: After further research, it looks as if this was intentional. Reintroduced functionality on my end.

Courses with images don't open

Hi,

I have a problem with images in my courses. When a lesson has images it is not loading, only the waiting circle is turning. How can I solve this problem.

Thanks in advance

Guy

Theme support

Making LearnPress supports with all WordPress themes like WooCommerce did.

AJAX call on Load Lesson return 505 on HTTPS

I have tried to open on https a lesson of a course but it does return 505.

If i register or login with an account, I am constantly using http and that is fine.

Is this only my problem on https or did anybody else encounter such thing?

WordPress database error

I received that message:

WordPress database error: [Table 'rebeccadev.wp_users' doesn't exist] SELECT um.* FROM wp_users u INNER JOIN wp_usermeta um ON um.user_id = u.ID AND um.meta_key = 'wp_capabilities' WHERE um.meta_value LIKE '%\"lpr_teacher\"%' LIMIT 0, 1

Version: 1.0 & 0.9.19
Wordpress: 4.4.1

screenshot from 2016-02-01 11 32 28

Single Course Permalink Issue

Hi, there

Thanks for developing such high quality of plugin and solve lots of issues for LMS in WordPress.

I just found an issue in recent update. The version of LearnPress is v2.1.2.

I found when I create a new lesson, the permalink becomes to the relative link, not like before, it's fixed link (begin with http://domainname.com). When this change happened, I just can't assign these lessons to courses anymore.

Can you check this issue and let me know whether it's something wrong specifically for my site or just plugin itself's issue?

Thank you very much and hope you have a good weekend.

Kind Regards,
Dandy

Course Preview Loading Error

Hello,

I created a sample course and then added dummy lesson which is visible to everyone. On the front end, when visitor clicks on Course Curriculum, and then press Preview button, nothing happens and if you click on the lesson, it opens new page which shows continues loading circle which does not goes away.

Please click on the link below then select the Course and then click on any lesson to see the error. Further, any options in that screen like ” < ” on top left corner or view “Full screen” icon does not works and I am unable to back to the previous screen even if I press back icon in the browser.

http://learning.creative-edevelopers.com/lp-course/

I would appreciate if you can point out the error and how to resolve it.

Regards

Muhammad IMRAN

Unable to edit a Course created by another user

Hi.

I've been using LP about 2 months and this is the bug: If i create a course with an user, i can not edit it with other.

Please, take a look in this screenshot.

There is no quiz or lesson options!

Thank you for your attention.

screencapture-aerotd-br-rally-aereo-wp-admin-post-php-1487956930192

Please consider updating to support big courses 200 lessons +

I had a problem yesterday with in a course with 172 lessons, I could not save one more lesson. I've figured out it was PHP limiting the number of input variables to 1000. Changing max_input_vars in php.ini make it worked.

But today another error, when I try to add more lessons to this "big" course with the "Select Lesson" button, it does not load lessons. Inspecting the call, I see the server returns

- - [20/Dec/2016:16:29:25 +0000] mysite.com.br "-" 400 0 "-" "-"

So, I think the problem is the URL size, in this call is more than 5600 chars...

https://mysite.com.br/wp-admin/admin-ajax.php?action=learnpress_modal_search_items&type=lp_lesson&term=&exclude%5B%5D=8870&exclude%5B%5D=8872&exclude%5B%5D=8912&exclude%5B%5D=8910&exclude%5B%5D=9118&exclude%5B%5D=8904&exclude%5B%5D=8903&exclude%5B%5D=8905&exclude%5B%5D=8902&exclude%5B%5D=8907&exclude%5B%5D=8911&exclude%5B%5D=8901&exclude%5B%5D=8909&exclude%5B%5D=8908&exclude%5B%5D=8906&exclude%5B%5D=9115&exclude%5B%5D=9048&exclude%5B%5D=9049&exclude%5B%5D=9050&exclude%5B%5D=9051&exclude%5B%5D=9062&exclude%5B%5D=9060&exclude%5B%5D=9061&exclude%5B%5D=9054&exclude%5B%5D=9052&exclude%5B%5D=9053&exclude%5B%5D=9058&exclude%5B%5D=9057&exclude%5B%5D=9055&exclude%5B%5D=9056&exclude%5B%5D=9059&exclude%5B%5D=9334&exclude%5B%5D=9330&exclude%5B%5D=9345&exclude%5B%5D=9332&exclude%5B%5D=9340&exclude%5B%5D=9344&exclude%5B%5D=9339&exclude%5B%5D=9362&exclude%5B%5D=9337&exclude%5B%5D=9331&exclude%5B%5D=9342&exclude%5B%5D=9335&exclude%5B%5D=9336&exclude%5B%5D=9333&exclude%5B%5D=9338&exclude%5B%5D=9343&exclude%5B%5D=9341&exclude%5B%5D=10103&exclude%5B%5D=10113&exclude%5B%5D=10114&exclude%5B%5D=10156&exclude%5B%5D=10107&exclude%5B%5D=10112&exclude%5B%5D=10110&exclude%5B%5D=10104&exclude%5B%5D=10115&exclude%5B%5D=10105&exclude%5B%5D=10111&exclude%5B%5D=10106&exclude%5B%5D=10108&exclude%5B%5D=10109&exclude%5B%5D=10164&exclude%5B%5D=9904&exclude%5B%5D=9759&exclude%5B%5D=9760&exclude%5B%5D=9762&exclude%5B%5D=9763&exclude%5B%5D=9764&exclude%5B%5D=9765&exclude%5B%5D=9766&exclude%5B%5D=9767&exclude%5B%5D=9768&exclude%5B%5D=9769&exclude%5B%5D=9770&exclude%5B%5D=9771&exclude%5B%5D=9772&exclude%5B%5D=9773&exclude%5B%5D=9779&exclude%5B%5D=9783&exclude%5B%5D=9774&exclude%5B%5D=10016&exclude%5B%5D=9780&exclude%5B%5D=9784&exclude%5B%5D=9775&exclude%5B%5D=9776&exclude%5B%5D=9777&exclude%5B%5D=9778&exclude%5B%5D=9782&exclude%5B%5D=9785&exclude%5B%5D=9815&exclude%5B%5D=10513&exclude%5B%5D=10519&exclude%5B%5D=10526&exclude%5B%5D=10517&exclude%5B%5D=10514&exclude%5B%5D=10523&exclude%5B%5D=10520&exclude%5B%5D=10516&exclude%5B%5D=10521&exclude%5B%5D=10524&exclude%5B%5D=10515&exclude%5B%5D=10525&exclude%5B%5D=10518&exclude%5B%5D=10464&exclude%5B%5D=10463&exclude%5B%5D=10461&exclude%5B%5D=10457&exclude%5B%5D=10455&exclude%5B%5D=10459&exclude%5B%5D=10462&exclude%5B%5D=10460&exclude%5B%5D=10466&exclude%5B%5D=10456&exclude%5B%5D=10465&exclude%5B%5D=10458&exclude%5B%5D=10308&exclude%5B%5D=10309&exclude%5B%5D=10310&exclude%5B%5D=10311&exclude%5B%5D=10320&exclude%5B%5D=10313&exclude%5B%5D=10315&exclude%5B%5D=10316&exclude%5B%5D=10319&exclude%5B%5D=10321&exclude%5B%5D=10314&exclude%5B%5D=10318&exclude%5B%5D=10509&exclude%5B%5D=10322&exclude%5B%5D=10312&exclude%5B%5D=11114&exclude%5B%5D=11185&exclude%5B%5D=11186&exclude%5B%5D=11187&exclude%5B%5D=11188&exclude%5B%5D=11189&exclude%5B%5D=11190&exclude%5B%5D=11191&exclude%5B%5D=11192&exclude%5B%5D=11193&exclude%5B%5D=11194&exclude%5B%5D=11195&exclude%5B%5D=11196&exclude%5B%5D=11197&exclude%5B%5D=11198&exclude%5B%5D=11199&exclude%5B%5D=11200&exclude%5B%5D=11213&exclude%5B%5D=11201&exclude%5B%5D=11202&exclude%5B%5D=11203&exclude%5B%5D=11215&exclude%5B%5D=11206&exclude%5B%5D=11212&exclude%5B%5D=11207&exclude%5B%5D=11205&exclude%5B%5D=11209&exclude%5B%5D=11204&exclude%5B%5D=11210&exclude%5B%5D=11208&exclude%5B%5D=11211&exclude%5B%5D=11214&exclude%5B%5D=11216&exclude%5B%5D=11217&exclude%5B%5D=11422&exclude%5B%5D=11441&exclude%5B%5D=11442&exclude%5B%5D=11440&exclude%5B%5D=11426&exclude%5B%5D=11418&exclude%5B%5D=11416&exclude%5B%5D=11417&exclude%5B%5D=11423&exclude%5B%5D=11421&exclude%5B%5D=11425&exclude%5B%5D=11430&exclude%5B%5D=11432&exclude%5B%5D=11431&exclude%5B%5D=11429&exclude%5B%5D=11434&exclude%5B%5D=11439&exclude%5B%5D=11419&exclude%5B%5D=11444&exclude%5B%5D=8262&exclude%5B%5D=11443&exclude%5B%5D=11433&exclude%5B%5D=11428&exclude%5B%5D=11420&exclude%5B%5D=11427&exclude%5B%5D=11413&exclude%5B%5D=11424&exclude%5B%5D=11438&exclude%5B%5D=11437&exclude%5B%5D=11436&exclude%5B%5D=11415&exclude%5B%5D=11414&exclude%5B%5D=11412&exclude%5B%5D=11676&exclude%5B%5D=11684&exclude%5B%5D=11696&exclude%5B%5D=11666&exclude%5B%5D=11701&exclude%5B%5D=11668&exclude%5B%5D=11691&exclude%5B%5D=11702&exclude%5B%5D=11683&exclude%5B%5D=11675&exclude%5B%5D=11680&exclude%5B%5D=11679&exclude%5B%5D=11672&exclude%5B%5D=11671&exclude%5B%5D=11698&exclude%5B%5D=11697&exclude%5B%5D=11667&exclude%5B%5D=11694&exclude%5B%5D=11688&exclude%5B%5D=11689&exclude%5B%5D=11669&exclude%5B%5D=11690&exclude%5B%5D=11692&exclude%5B%5D=11695&exclude%5B%5D=11700&exclude%5B%5D=11699&exclude%5B%5D=11693&exclude%5B%5D=11685&exclude%5B%5D=11687&exclude%5B%5D=11678&exclude%5B%5D=11677&exclude%5B%5D=11686&exclude%5B%5D=11670&exclude%5B%5D=11674&exclude%5B%5D=11673&exclude%5B%5D=11681&exclude%5B%5D=11682&exclude%5B%5D=11741&exclude%5B%5D=11750&exclude%5B%5D=11749&exclude%5B%5D=11753&exclude%5B%5D=11748&exclude%5B%5D=11752&exclude%5B%5D=11751&exclude%5B%5D=11744&exclude%5B%5D=11745&exclude%5B%5D=11742&exclude%5B%5D=11747&exclude%5B%5D=11746&exclude%5B%5D=11743&exclude%5B%5D=11754&exclude%5B%5D=11859&exclude%5B%5D=11860&exclude%5B%5D=11861&exclude%5B%5D=11862&exclude%5B%5D=11863&exclude%5B%5D=11865&exclude%5B%5D=11866&exclude%5B%5D=11867&exclude%5B%5D=11868&exclude%5B%5D=11869&exclude%5B%5D=11870&exclude%5B%5D=11871&exclude%5B%5D=11872&exclude%5B%5D=11873&exclude%5B%5D=11874&exclude%5B%5D=11875&exclude%5B%5D=11876&exclude%5B%5D=11877&exclude%5B%5D=11878&exclude%5B%5D=11879&exclude%5B%5D=11880&exclude%5B%5D=11881&exclude%5B%5D=11882&exclude%5B%5D=11883&exclude%5B%5D=11884&exclude%5B%5D=11886&exclude%5B%5D=11887&exclude%5B%5D=11885&exclude%5B%5D=11888&exclude%5B%5D=11889&context=course-items&context_id=8842

Now I'm trying to test increasing the Nginx url limit (not done yet).

But it would be nice to consider testing LearnPress with large courses (200+ lessons).

Thank you.

Lesson list(course content) is shown instead of lesson content

Hello,
I liked the plugin very much. It's amazing. Just I couldn't solve a problem.

When a user takes a course then the course content, lessons are listed.
After clicking a lesson in the list the page show the lesson list in the left frame and then in the right frame it shows the course content again. Then if you click again a lesson in the right frame it opens inside the same frame a new course content and so on.. The page doesnt show the selected lesson.

the url contains: mysite.com/lp-courses/category/coursename/lessons/lessonname
if I change this url to: mysite.com/lessons/lessonname it shows the lesson.

What should I do?
Thanks in advance.

Content Drip won't work if localized

Example:
Datepicker value in english: 10 Dec 2016
Datepicker value in portuguese: 10 Dez 2016

admin.js checks for NaN in the datepicker value, so "10 Dec 2016" returns false but "10 Dez 2016" returns true.

list-style:none too powerful within CSS cascade

The removal of default styling for bullets in list-item elements is a bit too powerful. Because of the numerous places there are "li { list-style: none; }" it's difficult to know, as a new user, where to even begin suggesting a safe pull request without destroying navigational styling concerns for LearnPress.

However, due to this, content created by users that take advantage of unordered or ordered lists will not show up with any type of bulleting for the line/list items.

File in question: /assets/css/learnpress.css

cant add lesson and quiz

dear team,

i had lms with learnpress 1.06 version.
facing problem cant add lesson into course.
we have add the lesson but after update there is no lesson in the course.

pls help

Post type hooks are not removeable.

All post type in folder: LearnPress/inc/custom-post-types/

The problems come from method __construct, example:

function __construct() {
            if ( self::$loaded ) return; // you must return self class not empty value

            add_action( 'init', array( $this, 'register_post_type' ) );  // use __CLASS__ instead $this

            add_action( 'admin_head', array( $this, 'enqueue_script' ) );
            add_action( 'admin_init', array( $this, 'add_meta_boxes' ), 0 );

            add_filter( 'manage_lpr_lesson_posts_columns', array( $this, 'columns_head' ) );
            add_action( 'manage_lpr_lesson_posts_custom_column', array( $this, 'columns_content' ), 10, 2 );
            add_action( 'save_post_lpr_lesson', array( $this, 'update_lesson_meta' ) );
            add_filter( 'posts_fields', array( $this, 'posts_fields' ) );
            add_filter( 'posts_join_paged', array( $this, 'posts_join_paged' ) );
            add_filter( 'posts_where_paged', array( $this, 'posts_where_paged' ) );
            add_filter( 'posts_orderby', array( $this, 'posts_orderby' ) );
            add_filter( 'manage_edit-lpr_lesson_sortable_columns', array( $this, 'columns_sortable' ) );

            self::$loaded = true;
        }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.