Disable ratings and evaluations in product course

Home Forums Legacy Support Support queries Setup issues Disable ratings and evaluations in product course

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #38650
    vivienne
    Participant
    although i have set the options for ratings and evaluations on OFF, it still shows on course product. I don't want it to show on the course info and also not on the product info. How to get ride of it? I will attach pictures of my settings in private message in the next post
    #38651
    vivienne
    Participant
    Here are the pictures to show that i've disabled the auto evaluation and the first red buttons (already translated to Dutch) states: "add course rating from courses home" In addition: Where in the theme can I change the start date of the course settings to: dd-mm-yyyy ? Where I can hide the number of students attending the course?
    #38661
    vivienne
    Participant
    Aha, I was able to fix lot of the pages with your link i found searching in the forums ;-) https://wplms.io/support/knowledge-base/remove-star-ratings-reviews-instructor-students-from-course-page/ REMAINING TO FIX 1) Now the star ratings on Features Courses are still showing. How to disable this? 2) How to disable "number of students that have followed this course" And 3) Where in the theme can I change the start date of the course settings to: dd-mm-yyyy ?
    #38668
    vivienne
    Participant
    Regarding the date-issue see images: Although my date settings in the Theme are set on dd-mn-yyyy The startdate in the course creation panel is showing different And when showing the course on the website it is not showing either of them, it is just showing # of days ?
    #38680
    vivienne
    Participant
    I deleted this message as I added my question in my previous post here above
    #38881
    Anshuman Sahu
    Keymaster
    1. to remove students  and ratings in featured blocks please add the given css in your wp-admin ->appearance -> customize -> custom css : .star-rating {     display: none !important; span.fa.fa-users {     display: none; } .block.courseitem.course2 .star-rating+strong { display:none; } to remove students from course details please refer :  https://wplms.io/support/knowledge-base/remove-information-from-course-details-section/
    #38891
    vivienne
    Participant
    1) thanks I will look into your answer. 2) the link you gave me is not giving me the information how to delete the # of students that FOLLOWED this course 3) no answer yet I want to have a start date (dd-mm-yyyy) with the course buy button not in how many days it is starting
    #38897
    vivienne
    Participant
    1) i've added the code in the css but it is still showing stars and " 0 students" see image (all courses index)
    #39104
    Anshuman Sahu
    Keymaster
    Okay to hide the rating and students on all courses page and on single course page please remove previous css that i gave and add the given css for that : .item-meta strong.course-star-rating,#item-meta strong.course-star-rating {     display: none !important; }   #item-meta strong,.item-meta strong {     display: none !important; }   .students {     display: none !important;   } Well in you screenshots i was not able to find the start date . In your screenshot the number of days in course detail block is the duration of the course(http://prntscr.com/akyxrh) . Please add the given code in your wplms-customizer.php file at the end before " ?> " in wplms customizer plugin to show the start date instead of time remaining to start the course : add_action('init','remove_old_notice',900); function remove_old_notice(){   remove_filter('wplms_course_button_extra','vibe_course_button_time_extra',10,2);    remove_filter('wplms_course_details_widget','vibe_show_course_start_time_in_course_details');  }  add_filter('wplms_course_details_widget','custom_course_start_time_in_course_details');   function custom_course_start_time_in_course_details($course_details){      $course_id = get_the_ID();     if(function_exists('bp_course_get_start_date')){       $start_date = bp_course_get_start_date($course_id);     }else{       $start_date=get_post_meta($course_id,'vibe_start_date',true);       }          $timestamp = strtotime( $start_date );     if(isset($start_date) &&  $timestamp  > time()){          $time_remaining = date_i18n( get_option( 'date_format' ),$timestamp);         $extra=array('start_time' => '<li><i class="i_course_time">'.$time_remaining.'</i>'.__('STARTS ON ','vibe').'</li>');         print_r($course_details);         array_splice($course_details, 1, 0, $extra);     }     return $course_details;  }   add_filter('wplms_course_button_extra','custom_vibe_course_button_time_extra',10,2); function custom_vibe_course_button_time_extra($extra,$course_id){    $start_date=get_post_meta($course_id,'vibe_start_date',true);    $timestamp = strtotime(date_i18n( get_option( 'date_format' ), strtotime( $start_date )));    if(isset($start_date) && $timestamp > current_time('timestamp')){         $extra .= '<span>'.__('COURSE STARTS ON ','vibe').date_i18n( get_option( 'date_format' ), strtotime( $start_date )).'</span>';    }    return $extra; }   This will show in the date format that you will set in w-admin -> general settings  
    #39193
    vivienne
    Participant
    Thank you Alex, Regarding the startdate of the courses: As i have added a lot of codings due to other queries, I have no ">?" anymore so I added your complete code to it but it is not working. This is the coding I had before adding your code for the startdate: <!-- [if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--><!-- [if gte mso 9]><xml> <w:WordDocument> <w:Zoom>0</w:Zoom> <w:TrackMoves>false</w:TrackMoves> <w:TrackFormatting/> <w:HyphenationZone>21</w:HyphenationZone> <w:PunctuationKerning/> <w:DrawingGridHorizontalSpacing>18 pt</w:DrawingGridHorizontalSpacing> <w:DrawingGridVerticalSpacing>18 pt</w:DrawingGridVerticalSpacing> <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery> <w:DisplayVerticalDrawingGridEvery>0</w:DisplayVerticalDrawingGridEvery> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:DontGrowAutofit/> <w:DontAutofitConstrainedTables/> <w:DontVertAlignInTxbx/> </w:Compatibility> </w:WordDocument> </xml><![endif]--><!-- [if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="276"> </w:LatentStyles> </xml><![endif]--> <!-- [if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:Standaardtabel; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin;} </style> <![endif]--> <!--StartFragment--> <p class="MsoNormal">.home #content{padding:0!important;}</p> <p class="MsoNormal">.home #content+.stripe{margin-top:0;}.</p> <p class="MsoNormal">block.courseitem .block_content .star-rating{</p> <p class="MsoNormal">display:none;</p> <p class="MsoNormal">}</p> <p class="MsoNormal">.block.courseitem .block_content .instructor_course+strong{</p> <p class="MsoNormal">display:none;</p> <p class="MsoNormal">}</p> <p class="MsoNormal">.block.courseitem.course2 .block_content .star-rating{</p> <p class="MsoNormal">display:none;</p> <p class="MsoNormal">}</p> <p class="MsoNormal">.block.courseitem.course2 .block_content .star-rating+strong{</p> <p class="MsoNormal">display:none;</p> <p class="MsoNormal">}</p> <p class="MsoNormal">.directory.course #course-list li .item-meta strong {</p> <p class="MsoNormal">display: none;</p> <p class="MsoNormal">}</p> <p class="MsoNormal">.directory.course #course-list li .item-meta .students {</p> <p class="MsoNormal">display: none;</p> <p class="MsoNormal">}</p> <p class="MsoNormal">.directory.course #course-list li .item-meta {</p> <p class="MsoNormal">display: none;</p> <p class="MsoNormal">}</p> <p class="MsoNormal">.course_reviews{display:none;}</p> <p class="MsoNormal">#buddypress div#item-header div#item-meta, #course-list .item-meta .star-rating{</p> <p class="MsoNormal">display:none;</p> <p class="MsoNormal">}</p> <p class="MsoNormal">#buddypress div#item-header div#item-meta .students{</p> <p class="MsoNormal">display:none;</p> <p class="MsoNormal">}</p> <p class="MsoNormal">.students_undertaking{display:none;}.star-rating {</p> <p class="MsoNormal"></p> <p class="MsoNormal">    display: none !important;</p> <p class="MsoNormal"></p> <p class="MsoNormal">}</p> <p class="MsoNormal"></p> <p class="MsoNormal">span.fa.fa-users {</p> <p class="MsoNormal"></p> <p class="MsoNormal">    display: none;</p> <p class="MsoNormal"></p> <p class="MsoNormal">}</p> <p class="MsoNormal">.block.courseitem.course2 .star-rating+strong {</p> <p class="MsoNormal"></p> <p class="MsoNormal">display:none;</p> <p class="MsoNormal"></p> <p class="MsoNormal">}</p> <p class="MsoNormal">#footerbottom #footerlogo {</p> <p class="MsoNormal"></p> <p class="MsoNormal">    max-width: 150px;</p> <!--EndFragment--> <p class="MsoNormal">}</p> <p class="MsoNormal"></p> <p class="MsoNormal">What do i need to do to get the startdate with the courses?</p>
    #39194
    vivienne
    Participant
    Maybe this attached document is easier then the complete code in my previous reply (the codes I had in CSS customizer) before I added your coude
    #39298
    vivienne
    Participant
    Regarding 1) I've managed to get ride of all the stars and students except for when I click on Categories then in courses I can still see them. 3) see previous post; code didn't do the trick as I don't have the " ?> " no longer in the coding.
    #39372
    Anshuman Sahu
    Keymaster
    Alrighty then i will add the code in your site . Please share admin credentials and site url for this . Ps: mark reply as private while sharing credentials .
    #39382
    vivienne
    Participant
    Sure Alex, here are my details: loginname: Vivienne password: *FeiTsMa223!   Maybe you can have a look at the startdate of the course too? ;-)
    #39695
    Anshuman Sahu
    Keymaster
    I already added the code in your site .Please try setting a start date in course and check  .
Viewing 15 posts - 1 through 15 (of 19 total)
  • The topic ‘Disable ratings and evaluations in product course’ is closed to new replies.