Skip to content

Linking Courses to Groups

This task connects Sensei courses to a BuddyPress group so the group shows a Courses tab and can post course activity for its members.

  • BuddyPress is active with the Groups component.
  • On the Sensei BuddyPress Integration tab, both Enable BuddyPress Group Integration and Enable Course Visibility are on. See Configuring settings.
  • You are an administrator or a Sensei teacher. Only these roles see the course picker.

The course picker appears on three screens:

  • The group create flow (course step).
  • The group front-end Manage screen.
  • The group’s settings screen in wp-admin.

On any of these screens:

  1. Find the course selector (a search field labeled to start typing a course name).
  2. Type part of a course title and pick the course from the matches. Repeat to add more courses.
  3. Choose which course-activity types the group should post, if the group activity option is enabled.
  4. Save the screen.

Saving stores the selected course IDs on the group (reign-sensei-courses), the group’s activity enablement (reign-sensei-group-course-is-enable), and the enabled activity types (reign-sensei-groups-courses-activities). Each selected course also gets the group’s ID written to its reign-sensei-groupid meta.

  • A Courses tab appears in the group’s navigation and lists the associated courses. If a group has no associated courses, no tab is shown.
  • When course activity is enabled, member enrolments, completions, and quiz submissions post to the group’s activity stream. See Activity Feed.
  • The course picker searches only published courses.
  • The Courses tab and the picker are hidden entirely when either the group integration or the course visibility setting is turned off.