Home › Forums › Legacy Support › Support queries › Setup issues › Disable ratings and evaluations in product course
Tagged: evaluations, ratings
- This topic has 18 replies, 2 voices, and was last updated 8 years, 8 months ago by vivienne.
-
AuthorPosts
-
March 25, 2016 at 11:49 am #38650vivienneParticipantalthough 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 postMarch 25, 2016 at 11:52 am #38651vivienneParticipantHere 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?March 25, 2016 at 12:32 pm #38661vivienneParticipantAha, 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 ?March 25, 2016 at 12:52 pm #38668vivienneParticipantRegarding 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 ?March 25, 2016 at 1:15 pm #38680vivienneParticipantI deleted this message as I added my question in my previous post here aboveMarch 26, 2016 at 8:01 am #38881Anshuman SahuKeymaster1. 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/March 26, 2016 at 8:39 am #38891vivienneParticipant1) 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 startingMarch 26, 2016 at 8:55 am #38897vivienneParticipant1) i've added the code in the css but it is still showing stars and " 0 students" see image (all courses index)March 28, 2016 at 7:01 am #39104Anshuman SahuKeymasterOkay 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 settingsMarch 28, 2016 at 11:46 am #39193vivienneParticipantThank 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>March 28, 2016 at 11:48 am #39194vivienneParticipantMaybe this attached document is easier then the complete code in my previous reply (the codes I had in CSS customizer) before I added your coudeMarch 28, 2016 at 6:13 pm #39298vivienneParticipantRegarding 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.March 29, 2016 at 6:20 am #39372Anshuman SahuKeymasterAlrighty 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 .March 29, 2016 at 6:45 am #39382vivienneParticipantSure Alex, here are my details: loginname: Vivienne password: *FeiTsMa223! Maybe you can have a look at the startdate of the course too? ;-)March 30, 2016 at 8:08 am #39695Anshuman SahuKeymasterI already added the code in your site .Please try setting a start date in course and check .
-
AuthorPosts
- The topic ‘Disable ratings and evaluations in product course’ is closed to new replies.