Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Force Administrator Approval on every setting
Tagged: Update course approval, waiting approval
- This topic has 13 replies, 5 voices, and was last updated 4 years, 8 months ago by logan.
-
AuthorPosts
-
May 29, 2019 at 5:24 am #211236ZohaParticipantHello! I'm checking "Force Administrator Approval on every setting" option, but when Instructor make changes in course description or curriculum, all changes is online without any notification to admin.May 29, 2019 at 6:52 am #211251loganMemberPrivyet #zohan, set these:
LMS -> Settings -> Force Administrator Approval on every setting
WPLMS -> Course Manager -> Admin Approval For Course --> Yes, require approval.This setting works fine, please make sure you are testing this as an instructor.
Also, check the course as an admin because when the instructor clicks on publishing it is not published but admin has to publish it.
Let me know if this doesn't work for you.
Also, share the site URL and the admin credentials with us to check the issue on your website.
PS: Please make sure your theme and plugins are updated to the latest versions and mark your reply as private while sharing the credentials.
May 29, 2019 at 11:16 am #211297ZohaParticipantThis reply has been marked as private.May 30, 2019 at 8:53 am #211474loganMemberThis reply has been marked as private.June 3, 2019 at 4:43 am #211902ZohaParticipantHello Logan, So, I'm tested. When live course edited, and waiting approval. course was unpublished and users loss access to the course. It will be right solution if changes are made to a virtual copy and after approval, the original will be updated! Please let me know this feature can be implemented in future? I'm found on forum this solution suggested from other users. Until we will edit manually any changes.June 3, 2019 at 8:59 am #211957loganMemberHello, This is not present in the wplms yet, but this is an excellent suggestion. We have taken note of it and I personally shall ensure that this aspect is considered at the next update of wplms. Track your card here: https://trello.com/c/ic4Jd4qO
for now i can do one thing. i will change hide the send for approval button when instructor edit the course the second time. when the instructor edits the course, these changes applied directly, he does not need to send for the admin. when he changes the setting, you will get a notification for this. let me know do you need a code to hide that button when second-time instructor edits the course or not.June 5, 2019 at 11:10 am #212361taereseSpectatorHi Logan. I came across this while reading the Trello. It is a really important update to have. Thanks for adding it and I hope it is done soon. While I am not the thread starter, does Admin actually really get notification whenever an instructor changes setting? The only notifications I receive is when an instructor sent a course for approval.June 6, 2019 at 8:21 am #212524loganMember#zohan & #taerese Enable these settings, LMS -> Settings -> Force Administrator Approval on every setting
WPLMS -> Course Manager -> Admin Approval For Course --> Yes, require approval.
Please paste this snippets in your wp-admin >> plugins >> editor >> wplms-customizer plugin >> wplms-customizer.php add_action('wplms_front_end_save_course_pricing',function ($course_id,$settings){ do_action('wplms_course_go_live',$course_id,(array)get_post($course_id)); },10,2); on every changes you will receive a mail about the changes and also notifications in admin >> dashboard >> notifications.
user need to click save button only not the send for approval button. if you want to hide send for approval button once the course is published then use this code: add_action('wp_footer',function (){ $id = $_GET['action']; $post = get_post($id); if(!empty($id) && $post->post_type == 'course' && $post->post_status == 'publish'){ ?> <style> div#create_course_wrapper .edit_course_content div#course_live ul.course_live>li a#publish_course {display: none !important;} </style> <?php } });June 25, 2019 at 2:29 pm #215441maddyomaddy11SpectatorHi... I really appreciate the urge of requirement for the previous post raised stating When live course edited, and waiting approval. course was unpublished and users loss access to the course. It will be right solution if changes are made to a virtual copy and after approval, the original will be updated!... I am also waiting for this requirement on the coming updates Thanks in Advance.June 26, 2019 at 10:06 am #215571loganMemberHello, Thank you for your suggestion. We added your idea to our feature list and will consider it. If or when exactly our developers will add a new feature is not up to us to determine. Each issue reported in, whether a bug or a new feature request, is taken seriously into consideration. It is given a high or low priority based on a number of factors. Factors which those with the overview of all things related are in the best position to determine. till then you could try the above solution provided by me. that will do the trickAugust 5, 2019 at 11:22 am #221073hooterbuxSpectatorThis reply has been marked as private.August 6, 2019 at 6:17 am #221197loganMemberHello, Please update your theme and plugins to the latest version which is 3.9.5. this is fixed in or latest update.August 8, 2019 at 1:12 pm #221613hooterbuxSpectatorI have updated theme but it doesn't work at all. I want to show old course of instructor till then approve it from back-end by admin.August 9, 2019 at 8:52 am #221718loganMemberHello, that's not an easy one i have talked to the development team. they are working on it. till than,Enable these settings,
LMS -> Settings -> Force Administrator Approval on every setting
WPLMS -> Course Manager -> Admin Approval For Course --> Yes, require approval.
Please paste this snippets in your wp-admin >> plugins >> editor >> wplms-customizer plugin >> wplms-customizer.php
add_action('wplms_front_end_save_course_pricing',function ($course_id,$settings){
do_action('wplms_course_go_live',$course_id,(array)get_post($course_id));
},10,2);
on every changes you will receive a mail about the changes and also notifications in admin >> dashboard >> notifications.
user need to click save button only not the send for approval button. if you want to hide send for approval button once the course is published then use this code:
add_action('wp_footer',function (){
$id = $_GET['action'];
$post = get_post($id);
if(!empty($id) && $post->post_type == 'course' && $post->post_status == 'publish'){
?>
<style>
div#create_course_wrapper .edit_course_content div#course_live ul.course_live>li a#publish_course {display: none !important;}
</style>
<?php
}
});
-
AuthorPosts
- The topic ‘Force Administrator Approval on every setting’ is closed to new replies.