Anyone using WPLMS 1.9x should wait and not update to 2.0x yet.
Not all bugs are fixed and I see many users having problems, just by reading the support forums and the comments over on Envato.
I have a vanilla test environment of WPLMS 1.9x on my testserver and i had no problems until 2.0 came along.
The last customtypes plugin update today killed the setup completely. Many of the old child themes break or have parts broken. Fresh sample data is not working either. Sadly some of my customers already did an update themselves …. perfect ! Will be a long weekend.
I am doing a complete reset of my test environment and waiting for the next update :)
Rant: This theme / plugin is getting too bloated in many areas. Two many unknown variables, due to the huge amount of dependencies …
In the past 2 years, the e-Learning market has been exploding. Online Learning Management Systems (LMS) have become very popular, to build e-learning platforms.
They not only offer text based content, quizzes, assignment management, course evaluation, social features, but also allow the integration of video, audio and other linked content. Many support SCORM (Sharable Content Object Reference Model), allowing the exchange of learning content and results.
Over the past few years, I have been helping clients to build or transform their e-learning platforms. Sometimes its better to build a customized LMS solution from scratch :), than tweak or customize an offered solution. It all depends on the features you want to see integrated and on the budget available ;)
In this article I want to share current solutions offered for WordPress.
I will divide them into themes and plugins for now. In the future I plan do some feature comparison as well :
These are standalone plugins, that provide LMS functionality and integrate into your WordPress themes. Ease of integration and options differ.
These themes mostly dependent on one of the plugins above or offer only a simple subset of LMS functionality.
Integrated solutions, that are supposed to offer a tight integration of WordPress, theme and its own plugins.
I am currently working on a WPLMS enhancement for a customer, that allows to simplify the payout of instructor commissions. The whole system runs on the MyCred Points System and students pay for courses with Points. The problem is how to easily payout the instructor commissions via PayPal.
There is currently no addon for MyCred available that does that magic, so I build one myself.
At the moment the payment process via PayPal is completely manual, due to budget constraints. I am basically generating a custom „Send Money“ link that prefills the PayPal email and amount to send.
The interface itself handles the payout sessions, tracks the instructor balance, paid and unpaid points.
Here some images to illustrate the admin dashboard:
This list the instructors and their point balance and allows to start the payment process.
Payout sessions make sure, that only one session can be started per instructor, as the instructor could earn new points during the process. The points converted can be changed, allowing you to payout a fixed amount of points.
Its a 3 step process. Login at PayPal. Open the „Send money“ dialog and send money to instructor. Confirm that you manually send the money and than register the payment and payout points in the system.
The session can be cancelled at any point. You can also leave the session open and continue at a later point.
On the frontend I added an interface to the BuddyPress Profile, that allows the instructor to track his payouts and balance.
The whole setup could be updated using PayPal Adaptive Payments, to make the whole process completely automated. Something to consider for the future :) Pretty happy with the manual process so far and it will be a great help for my customer to keep track of the commission payouts.
The whole setup is currently targeted for WPLMS, but can easily be adapted to other setups using the MyCred Points System.
I am working on an Addon for WPLMS to automate some of the manual tasks. Will extend the list, as things progress.
WPLMS is a Learning Management System for WordPress. Translation files in WPLMS are located in
These language files will be overwritten with new files on every update, destroying any custom translation changes.
Move your theme into a child theme and translate your theme there (/wp-content/themes/your-child-theme/languages/).
Make sure that language files are loaded from your child theme. Add the following action to your functions.php and use „vibe“ as the domain, not the actual theme name.
1 2 3 4 5 |
add_action( 'after_setup_theme', 'my_child_theme_setup' ); function my_child_theme_setup() { load_child_theme_textdomain( 'vibe', get_stylesheet_directory() . "/languages" ); } |
Use the global language folder for the WPLMS plugin translations. The WPLMS plugin loader checks, if a global language file actually exists :)
1 2 3 4 5 |
if ( file_exists( $mofile_global ) ) { load_textdomain( 'vibe', $mofile_global ); } else { load_textdomain( 'vibe', $mofile_local ); } |
I suggest using Poedit, as it allows you to do the translation on the Desktop. It also offers options to update your file with an updated WPLMS language file, allowing you to add new translation strings if needed :)
A. Create the structure for the update and download new PO files from WPLMS
B. The target structure / your current language files
C. Open your current .PO file from target structure
D. Update with new and matching .PO file from A. (Catalog -> Update from POT file)
This will check for new or obsolete strings and update your language file.
E. New strings added
F. Obsolete strings removed
G. Save and upload updated .PO + .MO files from target structure to server.
Again, make sure to use the global language folder and the child theme languages folder !
Panic time after updates is over :)
The files author-course.php and author.php can not be overwritten in a WPLMS child theme directly. The only way is to override the filter in the child theme functions.php:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
add_filter( 'template_include', 'override_check_instructing_courses_endpoint',99); function override_check_instructing_courses_endpoint($template){ if(!is_author()) return $template; global $wp_query; $instructing_courses=apply_filters('wplms_instructing_courses_endpoint','instructing-courses'); if ( !isset( $wp_query->query_vars[$instructing_courses] ) ){ $wp_query->set( 'post_type', array('post') ); return get_stylesheet_directory().'author.php'; }else{ $wp_query->set( 'post_type', array('course') ); return get_stylesheet_directory().'author-course.php'; } } |
„WPLMS is a Learning Management System for WordPress. It is an e-learning WordPress theme for course management, instructor and student management using which you can create and sell your courses online. „