Course Content Missing

Home Forums Legacy Support Support queries Update Issues Course Content Missing

Viewing 8 posts - 46 through 53 (of 53 total)
  • Author
    Posts
  • #386991
    artschoolvideos
    Spectator
    This reply has been marked as private.
    #387029
    Anshuman Sahu
    Keymaster
    4 . can you please share the url of the page and section screenshot where this is not appearing well . 5 . try adding this custom code in your wplms-customizer.php file in wplms customizer plugin :
    add_Action('template_redirect',function(){
      $user_id = bp_displayed_user_id();
      if(!empty($user_id)  &&  $user_id!==get_current_user_id()){
        wp_die('Profile cannot be accessed');
      }
    },1);
    #387098
    artschoolvideos
    Spectator
    This reply has been marked as private.
    #387099
    artschoolvideos
    Spectator
    This reply has been marked as private.
    #387143
    Anshuman Sahu
    Keymaster
    3 . im sorry what is the issue here I lost the track of it? 5 . yep currently its the only way . 6 . try adding this css in your wp-admin -> appearance -> customize -> custom css :
    h5.course_instructor {
        pointer-events: none;
    }
    #387355
    artschoolvideos
    Spectator
    This reply has been marked as private.
    #387356
    artschoolvideos
    Spectator
    This reply has been marked as private.
    #387412
    Anshuman Sahu
    Keymaster
    remove the previous code and add this code in place of it :
    add_filter('bp_course_api_get_user_course_status_item','check_exceprt',10,2);
    function check_exceprt($return, $request ){
    	$body = json_decode($request->get_body(),true);
    	
    
        	$course_id = $request['course'];
        	$item_id = $request['id'];	
        	if(!empty($course_id) && !empty($item_id)){
        		$return['content'] = '<p class="custom_content">'.get_post_meta($item_id,'vibe_subtitle',true).'</p><br/>'.$return['content'];
            
        	}
    
        return $return;
    }
    this is just provided to upload right now . We are yet to provide and elementor block to use it in course layout .
Viewing 8 posts - 46 through 53 (of 53 total)
  • The topic ‘Course Content Missing’ is closed to new replies.