Skip to content

BuddyPress Integration

When BuddyPress is active, the addon connects LifterLMS learning to the community: it posts learning activity to the activity stream, adds a Courses tab to member profiles and to linked groups, and can auto-join enrolled students to a course’s BuddyPress group.

The BuddyPress files load only when the BuddyPress class exists, so nothing here runs on a site without BuddyPress.

The addon records LifterLMS events as BuddyPress activity. The following activity types are registered on the Groups component:

Activity Recorded when
Started a course A user enrolls in a course.
Completed a lesson A user completes a lesson.
Completed a topic A user completes a topic.
Completed a course A user completes a course.
Lesson comment A user comments on a lesson.
Course comment A user comments on a course.
Completed a quiz A user passes a quiz (the score is included).

Each activity type can be turned on or off site-wide, and its wording customized, from the settings tab (see below). Members can also opt out of individual activity types from an activity-settings screen added to their profile.

  • On the course editor you can link a course to a BuddyPress group. The link is stored on the course, and mirrored on the group.
  • When a user enrolls in a linked course, they are automatically joined to the linked BuddyPress group.
  • Site owners can also add, remove, or bulk-enroll students to the linked group. See Group enrollment management.
  • Member profile: a Courses tab appears on a member’s profile when that member has the course tab enabled (user_course_option = enable, which is set for users by default). It shows the member’s enrolled courses. The heading reads “Enrolled courses”; empty profiles show “User has not enrolled in any course yet.”
  • Group: a group linked to a course gets a Courses subnav tab that lists the linked course.

BuddyPress group integration is enabled by default on activation. You can toggle it, and configure each activity type, under Reign theme options > LifterLMS > LifterLMS BuddyPress Integration. See Theme settings.

Per activity type the settings tab offers:

  • Enable / Disable the activity for users.
  • Activity Content template text (with an example shown for reference).

Plus a master Enable BuddyPress Group Integration checkbox (shown when the BuddyPress Groups component is active).