how to set the batches option under course dashboard at beginning or first plac

Home Forums WPLMS AddOns WPLMS Batches how to set the batches option under course dashboard at beginning or first plac

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #351483
    sachin_wp
    Participant
    a- how to set the batches option under the course dashboard in the first place or at the beginning before the overview option, so the student easily sees the listed batches in that course and enroll easily. see the screenshot i explain here b- And after enrolled in batches "start course" button inactive (not clickable) and also shows the message "enroll in batch" is visible, not able to tell every student to refresh the page again to start the course, how to make in realtime or you suggest some code to auto-reload the course dashboard after anyone click on enroll button in batches. see the below screen shot See this screenshot Best Regard
    #351989
    sachin_wp
    Participant
    Please reply to this Topic soon... It very Important for me
    #352034
    Scott Lang
    Moderator
    Sorry for the late reply. Auto reload is not available when students enrolls in the batch. When the student changes the menu or reload new details fetch and student can start the course.
    #352051
    Scott Lang
    Moderator
    you can add this custom code in customizer plugin. But default tab will be select overview http://prntscr.com/11bjgns which does not have support to select first one currently.
    add_filter('wplms_get_course_tabs',function($tabs,$coures_id,$user_id){
    	$tab_to_shift = 'course_batches';
    	$ntabs = [];
    	if(array_key_exists($tab_to_shift,$tabs)){
    		$ntabs[$tab_to_shift] = $tabs[$tab_to_shift];
    	}
    	foreach($tabs as $key => $value){
    		if($key != $tab_to_shift ){
    			$ntabs[$key] = $value;
    		}
    	}
    	return $ntabs;
    },99,3);
    
    #352086
    sachin_wp
    Participant
    how to change the default tab to "Batches"?
    #352098
    sachin_wp
    Participant
    Hi @scott, if auto-reload is not possible after enrolled in the batch, can you tell me if users already enrolled in the batch why the "enroll in batch" message again showing to them, not able to tell everyone to refresh their page after enrolled in batch to start the course... Not your "Tour addon" working here who guided the users on what to do next.. How the student and instructor Perform, is more confusing and complicated without any guided tool. Can you add an alert or a note to guide them to refresh their course page to start that batch. Think about it again without any guiding tool it is not user-friendly for any type of user. Implement Above soon Hope you understand Best Regard
    #352292
    Scott Lang
    Moderator
    The default tab to batch set is not yet available yet. You can reposition the batch to first place using the custom code which is shared above.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘how to set the batches option under course dashboard at beginning or first plac’ is closed to new replies.