Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Hide some blocks from users
- This topic has 9 replies, 2 voices, and was last updated 4 years, 11 months ago by logan.
Viewing 10 posts - 1 through 10 (of 10 total)
-
AuthorPosts
-
May 17, 2019 at 7:36 am #209550ZohaParticipantHello Dear Team, Here some small issues, please help me to customizing. How to hide "category" in module edit page https://prnt.sc/npnnmr How to hide "upload zip" and "vibe shortcodes" in module edit page (it's no need to Instructors) https://paste.pics/5KET5 How to hide from Instructors "Create course" in all-course page. (disable to create new courses by instructors - only edit allow for instructors) When I click to "Courses" on popup dashboard site redirect me to 404. How to fix? https://paste.pics/5KFPKMay 18, 2019 at 11:45 am #209730loganMemberHello, 1) To hide unit category please try adding this given css in your wp-admin -> appearance -> customize -> custom css :
.element_overlay_unit .list-group-item:not(.accordion_trigger):nth-child(3){display:none !important;}
to hide add new from category thenPlease try adding this custom code in your wplms-customizer.php file in wplms customizer plugin :
add_filter('wplms_front_end_new_tax_cap',function($x){
if(is_user_logged_in() && !current_user_can('manage_options'))
$x = false;
return $x;
});
2) Please try adding this given code in your wp-admin -> appearance -> customize -> custom css :li.vibe_vibe_course_message a.thickbox.button[href*='tab=upload'],li.vibe_vibe_course_instructions a.thickbox.button[href*='tab=upload'],ul.create_course li.vibe_post_content a.thickbox.button[href*='tab=upload']{display:none;}
3) goto wp-admin >> lms >> setting >> disable this checkbox. refer: http://prntscr.com/nq6mik 4) resave permalinks that will be solved.May 20, 2019 at 6:30 am #209835ZohaParticipantThis reply has been marked as private.May 21, 2019 at 12:13 pm #210085loganMemberThis reply has been marked as private.May 22, 2019 at 5:01 am #210182ZohaParticipantThis reply has been marked as private.May 22, 2019 at 12:19 pm #210253loganMemberHey, refer: https://cl.ly/a5fb0e always make sure you are doing it in the right manner. refer now: https://cl.ly/d3c728 for hiding course button from all courses page: 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('init',function (){ $front = WPLMS_Front_End::instance(); remove_all_actions('wplms_be_instructor_button'); });May 23, 2019 at 9:51 am #210379ZohaParticipantThank you so much! 3/4 solved completely. and remain last issueWhen I click to "Courses" on popup dashboard site redirect me to 404. How to fix? https://paste.pics/5KFPK
May 24, 2019 at 7:02 am #210565loganMemberSometimes a wicked code creates a problem. here it is: http://prntscr.com/nsoi7e remove or comment out the last line of code, then resave the permalinks. it will work.May 24, 2019 at 11:56 am #210613ZohaParticipantShooted! Thank you so much!May 25, 2019 at 6:42 am #210721loganMember#zohan Glad to know your issue is resolved. Cheers ! If I can be of assistance, please do not hesitate to contact me again. Closing this topic. Best regards:) -
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)
- The topic ‘Hide some blocks from users’ is closed to new replies.