Coment

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #262001
    corelantu
    Spectator
    Hi! It does not allow me to enable the "Allow comments" option. When I activate it and update the course, it disappears and is not activated. what's going on? 1 - https://drive.google.com/file/d/144r2_QIvgr0MEPgo1hejOKgyR41YMqNR/view?usp=sharing 2 - https://drive.google.com/file/d/1ynBBLjHCpqy7ysOqNgp1cdNDxk6NAIai/view?usp=sharing
    #262002
    corelantu
    Spectator
    This reply has been marked as private.
    #262003
    corelantu
    Spectator
    This is the course https://academiasimple.com/course/bolsa-para-principiantes/
    #262004
    corelantu
    Spectator
    This reply has been marked as private.
    #262594
    Jackson
    Blocked

    mate,

    Please paste this snippets in your wp-admin >> plugins >> editor >> wplms-customizer plugin >> wplms-customizer.php 

    Or in

    Please add this code in your wplms-customizer.php file in wplms customizer plugin by using your FTP/SFTP/cpanel:

    add_action('wplms_after_course_description',function(){

      global $post;

      $post->comment_status="open";

    });

    add_action('bp_before_course_body',function(){

      global $post;

      $post->comment_status="open";

    });

     add_action('wplms_before_start_course',function(){

      $course_id = 0;

      if(isset($_POST) && isset($_POST['course_id'])){

        $course_id = $_POST['course_id'];

      }

      if(empty($course_id ) && !empty($_COOKIE['course_id'])){

        $course_id = $_COOKIE['course_id'];

      }

      if(!empty($course_id)){

        wp_update_post(array('ID'=>$course_id,'comment_status' => 'open'));

       }

    });

    #262651
    corelantu
    Spectator
    Excelent!
    #262654
    corelantu
    Spectator
    New Question about this. Is there a way to automatically connect LMS reviews to Woocommmerce?
    #262880
    Veronica
    Moderator
    please confirm LMS Review means course review and where you want to show them?
    #262914
    corelantu
    Spectator
    Yes. The first solution, work perfectly. The comments showed. And now, I want to show reviews the LMS in Woocommerce, automatically. I want to the people comment in the LMS and the automatically publish your comment in the Woocommerce review. it is understood?
    #263257
    Veronica
    Moderator

    not available right now

    but you can create feature request for this.

    on the basis of up votes we will concern it under fast development.

    here: https://wplms.io/support/forums/forum/general/feature-request/

    #263365
    corelantu
    Spectator
    Thanks.
    #263590
    Veronica
    Moderator
    for now closing this topic.
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Coment’ is closed to new replies.