-
hi,
You cannot see the items my course, Enrolled courses:
https://drive.google.com/file/d/1ZLcK4SwNf-Jn7HevtX4TceYt3tplseTk/view?usp=sharingWhere can I modify it to look like this ?:
https://drive.google.com/file/d/1MY-wlIArZhRK_tyKrp9r3gfg4_avFqjm/view?usp=sharingCurrently from the instructor area I cannot access the course contents.
You would also need to modify the enabled options of the sidebar menu: https://drive.google.com/file/d/1HOfg4kiBaI-0XMVGajwEI2W8mLd8d526/view?usp=sharing
And remove the option to remove user from the instructor’s profile or hide it: https://drive.google.com/file/d/1t-pEEz6pSWeSFVQ9lXzqLvLJOVKygYjj/view?usp=sharing
And remove the Create Course option: https://drive.google.com/file/d/1G0KJZTcEpCOmxeFoN7FzhHrP8HMvJG3L/view?usp=sharing
Greetings.
hi
check if you have enabled this setting
http://prntscr.com/26cbwgvand also these sub menus can’t be edit
if you want to remove any submenu or create course button then we can give you custom codes accordinglyhi, I had this option enabled! http://prntscr.com/26cbwgv
cool!Can you pass me the codes for:
Remove the option to remove user from the instructor’s profile or hide it: https://drive.google.com/file/d/1t-pEEz6pSWeSFVQ9lXzqLvLJOVKygYjj/view?usp=sharingModify the enabled options of the sidebar menu: https://drive.google.com/file/d/1HOfg4kiBaI-0XMVGajwEI2W8mLd8d526/view?usp=sharing
Remove the Create Course option: https://drive.google.com/file/d/1G0KJZTcEpCOmxeFoN7FzhHrP8HMvJG3L/view?usp=sharing
And create a button so that the coordinator can see the course contents without having to be registered as a student.
Thanks a lot!!!
-
This reply was modified 4 months, 2 weeks ago by
maurigut.
hi
for 1:
please provide details so we can check if it is possible to hide it or notfor 2:
can you please let us know what exactly you want to modify?for 3:
providing code in some timeadd_action('wp_head','hide_create_course'); function hide_create_course(){ $user = wp_get_current_user(); if ( in_array( 'instructor', (array) $user->roles ) ) { //The user has the "instructor" role ?> <style> .vibebp_left_sidebar a.button.is-primary.new_mail { display:none; } </style> <?php } }
add this in wplms-customizer.php file
hi
yes right thanks for pointing this
the filter is different for instructor
i need to check the code again
first i will work on this and then try to check for the second query you have
appreciate your patience.hi
use this code:add_filter('wplms_course_settings',function($s){ $['instructor'] = 'manage_options'; return $s; });
-
This reply was modified 4 months, 2 weeks ago by
You must be logged in to reply to this topic.