Counting Created Courses, Dashboard Send Message, HTML Email

Home Forums Legacy Support Support queries Other issues Counting Created Courses, Dashboard Send Message, HTML Email

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #12582
    eggeno
    Spectator
    Hi, Is it possible to have a different count for instructor courses? There is an error 'Array' into dashboard->Send message widget. The mail that comes is not formatted. Please, take a look at the screenshot for details
    #12836
    Anshuman Sahu
    Keymaster
    This is an  issue and will be fixed in the next update of wplms . We will get it fixed in the next update of wplms dashboard plugin .
    #12844
    eggeno
    Spectator
    Thanks for reply. Regarding the first point (Counting Created Course - please looks screenshot) is there any workaround quick to apply? Can you tell me when it will be released the new plugins versions?
    #13062
    Anshuman Sahu
    Keymaster
    This will be fixed in the next update of the wplms dashboard plugin . Can you please clarify more on your count issue ? Some steps to replicate it and on which page you are facing this would be helpful to replicate this issue ?
    #13067
    eggeno
    Spectator
    Hi Alex, At the beginning of this discussion, I uploaded a screenshot. Please refer to the first part of the screenshot to see what I mean. I understand that the problem will be fixed with the new version of the plugin but my question is if you can give me an approximate date of when will be released the new version.
    #13233
    Anshuman Sahu
    Keymaster
    Okay as of now the tentative date for the release is "20th December " .YOu can track  the development of the wplms theme version 2.0 here : https://trello.com/b/C6sIO3Va/wplms-development About the count issue please note that in wplms as instructors can also pursue the courses .This courses count shows actually the my courses (the courses which  instructor has taken )
    #13236
    eggeno
    Spectator
    OK Alex, thanks for reply. I know that instructors can also buy the courses. But as instructor, it would not be more correct, count the number of courses created rather than those purchased? Is there a quick way to do this in php? For example, something like: if (current_user_can ('instructor')) { count ('courses created'); }
    #13397
    Anshuman Sahu
    Keymaster
    YOu can add a instructor-courses menu tab in the buddypress tab item . Add this code int your wplms-customizer.php file in your wplms customizer plugin . add_action( 'bp_setup_nav', 'create_lesson_setup_nav'); function create_lesson_setup_nav(){ global $bp; if( current_user_can('edit_posts')){  bp_core_new_nav_item( array( 'name' => __('Instructing Courses', 'Vibe' ).'<span>'.bp_course_get_instructor_course_count_for_user( bp_loggedin_user_id() ) .'</span>', 'slug'            => 'course/'.BP_COURSE_INSTRUCTOR_SLUG, 'position' => 100, 'screen_function' => 'wplms_create_lesson_planner_redirect', 'show_for_displayed_user' => true ) );    }   } function wplms_create_lesson_planner_redirect(){ return 'course/'.BP_COURSE_INSTRUCTOR_SLUG; }    
    #13406
    eggeno
    Spectator
    Hi Alex, thank you very much! It's perfect. Just one last thing: how can I insert the class 'current selected' inside <li id="course/instructor-courses-personal-li">, when new item is clicked?
    #13579
    Anshuman Sahu
    Keymaster
    That would not be possible as of now .
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Counting Created Courses, Dashboard Send Message, HTML Email’ is closed to new replies.