Skip to content

Commit

Permalink
updated readme and version to 1.2.3 for next release.
Browse files Browse the repository at this point in the history
  • Loading branch information
therealmarknelson committed Mar 12, 2015
1 parent 92d1bcd commit fbd0b38
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 21 deletions.
21 changes: 20 additions & 1 deletion README.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h3>Shortcodes</h3>
</ul>


<h3>Debug: lms_log($message)</h3>
<h3>Debug: llms_log($message)</h3>

<p>*Logs message to wp-contents/debug.log</p>

Expand All @@ -24,6 +24,25 @@ <h4>Examples</h4>

<h1>CHANGELOG</h1>

<h2>v1.2.3 - 2015-03-12</h2>

<ul>
<li>Achievement design and functionality updates</li>
<li>Achievemnt shortcode added</li>
<li>Better searching added to engagement screen</li>
<li>Achievement bug fixes</li>
<li>On screen error reporting added to activation for trouble shooting</li>
<li>Custom engagement methods added to certificate, achievement and sections</li>
<li>Corrected new user registration engagement bug</li>
<li>LifterLMS access reduced from manage_options to edit_posts</li>
<li>Filters added to analytics to allow custom developement</li>
<li>Engagment bug fix: Section and Lesson bug select</li>
<li>Syllabus bug corrected: No longer displays lessons in section box if no sections exist.</li>
<li>Removed depreciated achievement template</li>
<li>Membership Bug fix: Membership restriction will now only display on single posts.</li>
</ul>


<h2>v1.2.2 - 2015-02-23</h2>

<ul>
Expand Down
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LIFTER LMS
**Accepts arguments: order, orderby and per_page


###Debug: lms_log($message)
###Debug: llms_log($message)
*Logs message to wp-contents/debug.log

####Examples
Expand All @@ -25,6 +25,23 @@ LIFTER LMS
CHANGELOG
=========

v1.2.3 - 2015-03-12
-------------------
+ Achievement design and functionality updates
+ Achievemnt shortcode added
+ Better searching added to engagement screen
+ Achievement bug fixes
+ On screen error reporting added to activation for trouble shooting
+ Custom engagement methods added to certificate, achievement and sections
+ Corrected new user registration engagement bug
+ LifterLMS access reduced from manage_options to edit_posts
+ Filters added to analytics to allow custom developement
+ Engagment bug fix: Section and Lesson bug select
+ Syllabus bug corrected: No longer displays lessons in section box if no sections exist.
+ Removed depreciated achievement template
+ Membership Bug fix: Membership restriction will now only display on single posts.


v1.2.2 - 2015-02-23
-------------------
+ Corrected drip content bug
Expand Down
1 change: 0 additions & 1 deletion includes/class.llms.ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public function __construct() {
* @return array
*/
public function get_all_posts(){
llms_log( $_REQUEST );

$post_type = llms_clean( $_REQUEST['post_type'] );

Expand Down
2 changes: 1 addition & 1 deletion includes/class.llms.emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function lesson_completed( $person_id, $email_id ) {
function custom_email_earned( $person_id, $email_id, $engagement_id ) {
if ( ! $person_id )
return;
llms_log('made it to the email method custom email earned');

$email = $this->emails['LLMS_Email_Engagement'];

$email->trigger( $person_id, $email_id );
Expand Down
7 changes: 3 additions & 4 deletions includes/class.llms.engagements.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ public function get_engagement_hooks($lesson_id) {
* @return void
*/
public function llms_user_register($user) {
llms_log('made it here');
llms_log( $user);

if ( ! $user )
return;

Expand All @@ -149,14 +148,14 @@ public function llms_user_register($user) {
$all_posts = get_posts($args);

if ($all_posts) {
llms_log( $all_posts);

foreach ( $all_posts as $key => $value ) {

$engagement_meta = get_post_meta($value->ID);
$achievement_id = $engagement_meta['_llms_engagement'][0];

if ($engagement_meta['_llms_engagement_type'][0] == 'email') {
llms_log( 'found email');

do_action( 'lifterlms_custom_engagement', $user, $achievement_id, $value->ID );
}

Expand Down
1 change: 0 additions & 1 deletion includes/functions/llms.functions.access.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ function llms_page_restricted($post_id) {
'is_restricted' => $restricted,
'reason' => $reason
);
llms_log( $results );

return apply_filters( 'llms_page_restricted', $results );

Expand Down
11 changes: 2 additions & 9 deletions includes/widgets/class.llms.widget.course.syllabus.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,8 @@ public function widget_contents() {

$course_syllabus = $course->get_syllabus();

//if ( LLMS_Course::check_enrollment( $course->id, get_current_user_id() ) ) {
// $syllabus = $course_syllabus;
//} else {
$syllabus = $course->get_student_progress();
//}


llms_log($syllabus);
//var_dump( $syllabus );
$syllabus = $course->get_student_progress();

$html = '<div class="llms-widget-syllabus">';
$html .= '<ul>';

Expand Down
4 changes: 2 additions & 2 deletions lifterlms.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: LifterLMS
* Plugin URI: http://lifterlms.com/
* Description: lifterLMS is the easiest way for anyone to create a Learning Management System on the Wordpress platform.
* Version: 1.2.2
* Version: 1.2.3
* Author: codeBOX
* Author URI: http://gocodebox.com
*
Expand All @@ -29,7 +29,7 @@
*/
final class LifterLMS {

public $version = '1.2.2';
public $version = '1.2.3';

protected static $_instance = null;

Expand Down
2 changes: 1 addition & 1 deletion templates/quiz/single-choice_ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@


if ( ( (int) $answer === (int) $key ) && $answer !== '' ) {
llms_log( 'this if statement triggered');

$checked = 'checked';
}

Expand Down

0 comments on commit fbd0b38

Please sign in to comment.