Support » Plugin: BuddyPress for LearnDash » The related group does not appear on the course page

  • Hey,

    When creating a group, I can link it to a course but the related group does not appear on the course page. Of course, as soon as I modify the course content and hit update, it is “un-linked” because the field is on “-select-“.

    On my staging, I’ve deactivated all plugins except Learndash LMS, bbPress, Buddypress, BuddyPress for LearnDash and LearnDash & BBPress Integration.

    The problem still occurs : on course page, can’t select a group. On group page, the course is selected. If I save the course, it un-links it.

    Even tried further and deactivated “LearnDash & BBPress Integration” and went back to the Twenty Sixteen theme -> problem still there.

    Thank you in advance for your help !

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same problem and came here to report it, please find us a fix soon!

    Note for the developer:

    
    $groups_arr = BP_Groups_Group::get( array(
    		'type' => 'alphabetical',
    		'per_page' => 999
    	) );
          
          print_r($groups_arr);

    This returns an empty array! even if I have 10 groups.

    SOLVED!

    The developer forgot to include hidden groups in the query, doing this solved the issue, i can see the groups now:

    $groups_arr = BP_Groups_Group::get( array(
    		'type' => 'alphabetical',
    		'per_page' => 999,
            	'show_hidden'   => true
    	) );

    File: wp-content/plugins/buddypress-learndash/includes/bp-learndash-groups.php
    Line 79

    hope this helps somebody.

    Plugin Author BuddyBoss

    (@buddyboss)

    Hi @tinycoder,
    Thanks for your feedback, It needs to be fixed and we have included in our current todo list. It will be released in next update

    Hello!

    This problem is back after I upgraded to the latest version few minutes ago!

    I had to re-fix the code manually and add 'show_hidden' => true to the loop array!

    Thanks.

    Plugin Author BuddyBoss

    (@buddyboss)

    @tinycoder, It was skipped in this release due to testing delays.
    We will re-consider it in our next update.

    I saw it it the fixed bugs on the changelog page, that’s why I asked.

    Fix - Hidden groups are not displaying in group meta box on course edit page

    Thank you, looking forward to testing more features and updates.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘The related group does not appear on the course page’ is closed to new replies.