Skip to content

BuddyPress Group Courses

When BuddyPress is active with the Groups component, the addon lets course instructors associate Sensei courses with a group. Associated courses then appear on a Courses tab inside the group.

Two settings on the Sensei BuddyPress Integration tab must be enabled:

  • Enable BuddyPress Group Integration (enable_group_integration)
  • Enable Course Visibility (enable_course_visibility)

Both are on by default after activation. With them enabled and the Groups component active, the addon registers its group extension and the group Courses management screens.

Group organizers who are an administrator or a Sensei teacher get a course picker on the group create flow, the group Manage screen, and the group settings screen in wp-admin. The picker is a search field: start typing a course name and select from the matches.

The selections are stored against the group:

  • reign-sensei-courses - the list of associated course IDs.
  • reign-sensei-group-course-is-enable - whether course activity is enabled for the group.
  • reign-sensei-groups-courses-activities - which per-group course-activity types are enabled.

The addon also writes the group ID back onto each course (reign-sensei-groupid meta) so learning-event activity can find the groups a course belongs to.

See Linking courses to groups for the step-by-step flow.

When a group has associated courses, a Courses tab is added to the group’s front-end navigation. The tab lists the group’s courses using Sensei’s own course listing. If a group has no associated courses, no tab is shown.

Enrolments, completions, and quiz submissions by group members can post to the group’s activity stream. That behavior is covered in Activity Feed.