WPLMS

Contents

1. Course bundle

2. Login / app page screen stuck at logo only issue

3. Certificate validator widget not working

4. Import students in bulk in group/batch

5. adding login link in main menu header

6. disable retakes when user passes quiz

7. Selling batches with wplms woocommerce

8. How to add code in wplms customizer plugin

9. mobile menu links not updating in gutenberg theme

10. Support Site Moving to wplms.io/support

11. Publishing a scorm course

12. Change Element Icon WPLMS Course curriculum

13. Fix certificate template

14. Adding elementor unit

15. Deactivating performance accelerator

16. Setup zoom app

17. Adding site url to firebase authorized domains

18. PROFILE OR LOGIN MENU BLANK after update

19. selling batch with wplms woocommerce

20. Hide correct answer settings in quiz itself

21. Activation Email not working.

22. Login / app page screen stuck at logo only issue

1. Course bundle

Course bundles are available in WPLMS. example : Follow these steps to create a course bundle : a. Go to WP Admin - Products - Add new b. Create a new product and add the bundle description. c. Connect the courses you want in the bundle.  d. Set the pricing for the product. e. Publish the product. Now anyone who purchases the product gets subscribed to all the courses connected to the product. 



2. Login / app page screen stuck at logo only issue

bug added in recent update in vibebp plugin . 

Please update your vibebp plugin to latest plugin 1.9.7.4

to get latest addons please follow: You can download the latest plugin from these links :

http://wplms.io/verify-purchase/?purchase_code=XXXXXXXX&plugin=wplms.io/wplms_plugin.zip

https://wplms.io/verify-purchase/?purchase_code=XXXXXXXX&plugin=wplms.io/vibebp.zip

change XXXXXX with your purchase code

replace the XXXXXXXX with your buyer api key : https://wplms.io/support/knowledge-base/how-to-find-buyer-api-key-in-themeforest/


3. Certificate validator widget not working

create a page named default certificate and then set its page template to "Certificate" then select this page in wp-admin -> wplms -> course manage -> fallback certificate .

4. Import students in bulk in group/batch

https://somup.com/c0fu2l4Ep3

5. adding login link in main menu header

https://somup.com/c0XioUgXYO

6. disable retakes when user passes quiz

add this code in your wplms-customizer.php file in wplms customizer plugin : 

add_filter('wplms_quiz_retake_count','remove_retake_button_if_user_passed_the_quiz',10,4);
function remove_retake_button_if_user_passed_the_quiz($retakes,$quiz_id,$course,$user_id){
 $user_marks=get_post_meta($quiz_id,$user_id,true);
 $quiz_passing_marks=get_post_meta($quiz_id,'vibe_quiz_passing_score',true);
 if(empty($quiz_passing_marks))
    return $retakes;
 if($user_marks >= $quiz_passing_marks){
   return 0;
}
 
 else
   return $retakes;
}

7. Selling batches with wplms woocommerce

8. How to add code in wplms customizer plugin

https://somup.com/c0jUovAv8J



download the plugin from here : http://bit.ly/41uzu6e


9. mobile menu links not updating in gutenberg theme

there is a bug actually in theme.

please goto wp-adimin -> appearance-> themes-> theme editor : 

https://prnt.sc/-YHEUZYOBUKj

10. Support Site Moving to wplms.io/support

We're thrilled to announce that we're moving our support site back to wplms.io/support from 1st August 2023

After 1 year of ticket based support we find that forum based support is more effective in imparting a transparent support and also reduces the number of tickets a user is required to make to get her queries answered.

Thank you.


Tutorly support is moved towards Wpappointify.com/support

Micronet Support is provided at micronet.work/support


11. Publishing a scorm course

refer : https://somup.com/cZhfI85oHl

12. Change Element Icon WPLMS Course curriculum

1. Download icon from Feathericons.com.

2. open the svg file in a text editor, copy the SVG.

3. For every case, set the $icon = the copied SVG under single quotes. See the last default example below.

add_filter('wplms_get_element_icon',function($icon,$type){
  switch($type){
        case 'slides':
            $icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sliders"><line x1="4" y1="21" x2="4" y2="14"></line><line x1="4" y1="10" x2="4" y2="3"></line><line x1="12" y1="21" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="3"></line><line x1="20" y1="21" x2="20" y2="16"></line><line x1="20" y1="12" x2="20" y2="3"></line><line x1="1" y1="14" x2="7" y2="14"></line><line x1="9" y1="8" x2="15" y2="8"></line><line x1="17" y1="16" x2="23" y2="16"></line></svg>';
        break;
        case 'audio':
            $icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-headphones"><path d="M3 18v-6a9 9 0 0 1 18 0v6"></path><path d="M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"></path></svg>';
        break;
        case 'video':
            $icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-video"><polygon points="23 7 16 12 23 17 23 7"></polygon><rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect></svg>';
        break;
        case 'multimedia':
            $icon = '<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1"><path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"></path></svg>';
        break;
        case 'textarea':
            $icon = '<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1"><polyline points="4 7 4 4 20 4 20 7"></polyline><line x1="9" y1="20" x2="15" y2="20"></line><line x1="12" y1="4" x2="12" y2="20"></line></svg>';
        break;
        case 'upload':
            $icon = '<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1"><polyline points="16 16 12 12 8 16"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"></path><polyline points="16 16 12 12 8 16"></polyline></svg>';
        break;
        case 'dynamic':
          $icon = 'vicon vicon-control-shuffle';
        break;
        case 'static':
          $icon = 'vicon vicon-exchange-vertical';
        break;
        default:
            $icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-text"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>';
        break;        
    }
    return $icon;
});

13. Fix certificate template

please follow this video carefully and create a new certificate template form the start follwing below: 

link


please make sure that you click the add text/image button or edit text/image button in the end <<<--- this is the key point of saving it .after this please make sure you hit the save button at the top right 

After generating this new tmeplate make sure you select the template in course settings : https://screenpal.com/i/c0ioIJVgMCg


and after selecting template re-assign certificate to user and then check it : https://screenpal.com/i/c0ioIJVgMCg

14. Adding elementor unit

refer video : 

https://somup.com/c01qjta8Un

15. Deactivating performance accelerator

refer video :

https://somup.com/c0iYXyzBFf

16. Setup zoom app

Please follow the steps show in the video : https://somup.com/c0f3Da44LP

after follow these steps click on the activation tab and make sure the app is active : 

https://screencast-o-matic.com/i/c0hoiBVADAm

17. Adding site url to firebase authorized domains

https://somup.com/c06OlnB8rb

18. PROFILE OR LOGIN MENU BLANK after update

in vibebp update 1.9.8.7 we added ip address check to make it more secure since wordpress attacks are increasing day by day . 

The issue can be resolved by simply logout and RE-login

19. selling batch with wplms woocommerce

https://wplms.io/support/knowledge-base/selling-batches-with-wplms-woocommerce/

20. Hide correct answer settings in quiz itself

add this code in your wplms-customizer.php file in wplms customizer plugin : 



add_filter('bp_course_api_get_user_single_quiz_data','wplms_show_quiz_correct_answer',999,3);
function wplms_show_quiz_correct_answer($quiz_data, $request ,$user_id){ 
  $hide = get_post_meta($quiz_data['id'],'vibe_hide_answers',true);
  if(!empty($hide) && $hide=='S'){
    
      if(!empty($quiz_data['meta']['questions'])){
        foreach ($quiz_data['meta']['questions'] as $key => $q) {
          $quiz_data['meta']['questions'][$key]['show_correct_answer'] = 0;
        }
        
      }
    
  }
  return $quiz_data;
}
add_filter('wplms_course_creation_tabs','show_unit_date_time_4');
function show_unit_date_time_4($tabs){
    $setting= array();
    $setting[] = array( // Text Input
          'label' => __('Hide correct answer','wplms'), // <label>
          'desc'  => __('Date on which unit is accessible','wplms'), // description
          'id'  => 'vibe_hide_answers', // field id and name
          'type'  => 'switch', // type of field
          'from'  => 'meta',
        );
    
    foreach ($tabs['course_curriculum']['fields'] as $key => $field) {
      if($field['id'] == 'vibe_course_curriculum'){
         if(!empty($field['curriculum_elements'])){
          foreach ($field['curriculum_elements'] as $k => $elements) {
            if($elements['type']=='quiz'){
              foreach ($elements['types'] as $j => $types) {
                array_splice($tabs['course_curriculum']['fields'][$key]['curriculum_elements'][$k]['types'][$j]['fields'], (count($tabs['course_curriculum']['fields'][$key]['curriculum_elements'][$k]['types'][$j]['fields'])-1),0,$setting);
                 
              }
            }
          }
          
         } 
      }
    }
    return $tabs;
  }</label>

21. Activation Email not working.

Common issue with BuddyPress sites. Here's what we recommend : 

1. Install a third party plugin WP MAIL SMTP : https://wordpress.org/plugins/wp-mail-smtp/

2. Setup SendinBlue ( Free account gives you daily 300 emails ) sendinblue.com

3. Setup WP Mail SMTP with sendinblue api key

4. Install the plugin Vibe WP BP Mail fix : https://wordpress.org/plugins/vibe-buddypress-to-wp-mail-fix/

note : We use the same in our demos and test sites. Works flawless.

22. Login / app page screen stuck at logo only issue

bug added in recent update in vibebp plugin . 

Please update your vibebp plugin to latest plugin 1.9.7.4

to get latest addons please follow: You can download the latest plugin from these links :

http://wplms.io/verify-purchase/?purchase_code=XXXXXXXX&plugin=wplms.io/wplms_plugin.zip

https://wplms.io/verify-purchase/?purchase_code=XXXXXXXX&plugin=wplms.io/vibebp.zip

change XXXXXX with your purchase code

replace the XXXXXXXX with your buyer api key : https://wplms.io/support/knowledge-base/how-to-find-buyer-api-key-in-themeforest/