Hide Unit for Students

this setting will be added in unit section refer:   add this code in wp-admin>>plugins>>plugin editor>>wplms customizer plugin>>wplms-customizer.php   add_filter(‘wplms_course_creation_tabs’,’hide_unit’); function hide_unit($tabs){ foreach($tabs[‘course_curriculum’][‘fields’][0][‘curriculum_elements’][1][‘types’] as $k=>$unit){ $tabs[‘course_curriculum’][‘fields’][0][‘curriculum_elements’][1][‘types’][$k][‘fields’][] =array( ‘label’=> __(‘Hide Unit’,’wplms’ ), ‘type’=> ‘showhide’, ‘id’ => ‘vibe_instructor_only’, ‘from’=>’meta’, ‘value_type’=>’single’, ‘style’=>”, ‘default’=> __(‘Hide Unit’,’wplms’ ), ‘desc’=> __(‘Hide Unit for Students’,’wplms’ ) ); […]

Wplms_Pre_Course_Quiz

Wplms Pre Course Quiz assign course on quiz submission on the basis of marks obtained and selected course. WORKING: Edit the quiz and add the criteria of marks and course from here: and like this: Functionality: refer: http://somup.com/crlolr0ddx  

How to add Change Profile Cover Setting in Profile Section

for this you need to follow these steps: 1. add this CSS class ” profile-cover ” in vibebp>>members profile>>edit the members profile layout 2. add this code in wplms-customizer.php file: add_action(‘wp_footer’,function(){ $user_id = bp_displayed_user_id(); if(!empty($user_id)){ $attachment = bp_attachments_get_attachment( ‘url’, array( ‘item_id’ => $user_id ) ); $image_path = $attachment; ?> <style> […]

Vibe Blog

Introduction: used to create blogs in wplms version. can be managed from user’s dashboard working: install and activate the plugin vibeblog add the vibe blog in the menu(vibebp profile menu) from here: it will appear here: can create/edit/delete the comments from here: create a blog:    

Show Add to Cart Button on Single Course Page WPLMS V4

Add this code in wplms-customizer plugin>>wplms-customizer.php add_action(‘wplms_4_the_course_button’,function($course_id){ $product = get_post_meta($course_id,’vibe_product’,true); if(!empty($product)){ echo ‘<div class=”course_add_to_cart”>’.do_shortcode(‘[add_to_cart id=”‘.$product.'”]’).'</div><style>.course_add_to_cart del,.course_add_to_cart ins{display:none}.course_add_to_cart p.product.woocommerce.add_to_cart_inline{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;}</style>’; } return $course_details; },10,2); results:

WPLMS User Session

WPLMS USER SESSION ADDON FEATURES: 1. Track login and logout times. 2. Detects a logout if a user becomes offline. 3. Records Session time, automatic resume session. 4. Session path and components users visited in the PWA. 5. Recording in Firebase, no periodic calls. 100% accuracy with online status. 6. […]

Parent-User Review Widget

Review widget useful to send reviews from instructor to student and the students can view their reviews in dashboard and parent can also view the reviews of all his children. INSTRUCTOR REVIEW WIDGET : the instructor can search student and post review STUDENT REVIEW WIDGET : Students can check the […]

Remove NOTES-and-REVIEW Sub-Menu from COURSE Menu Items

add_action( ‘bp_init’, function() { global $bp; bp_core_remove_subnav_item( ‘course’, ‘notes_reviews’ ); });   add the code in wplms-customizer plugin>>wplms-customizer.php before: after: the same way you can disable profile image uploads add_action( ‘bp_init’, function() { global $bp; bp_core_remove_subnav_item( ‘profile’, ‘change-avatar’ ); });

Show unit duration in hours

In the wplms version 4 when we set the unit duration in hours it shows in days here: but to change this on course status page check this gits: This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the […]

WPLMS ACTIVE_CAMPAIGN

Introduction to WPLMS ACTIVE_CAMPAIGN. it’s the integration with Active_Camapign Plugin useful to create your course-specific lists in the active_campaign’s lists section. add the users in the contacts section in the active_campaign. Features: Sync members to your site into the various lists. Enable subscription to the newsletter in BuddyPress registration. Enable […]