Skip to content

Activity Feed

With BuddyPress active, the addon can post activity for two kinds of events: learning events by group members, and publishing events by instructors. Both require the BuddyPress Activity component.

When a course is associated with one or more groups (see BuddyPress Group Courses), the addon posts a group activity update for these Sensei events:

  • Enrolled in a course - when a member starts a course.
  • Completed a course - when a member finishes a course.
  • Completed a lesson - when a member completes a lesson.
  • Finished a quiz - when a member submits a quiz.

Each event posts to the activity stream of every group the course is linked to, but only when all of these are true:

  • Course activity is enabled for that group.
  • The matching per-group activity type is enabled.
  • The user is a member of the group (lesson completion also allows administrators).

These posts are recorded against the group and hidden from the site-wide feed. The per-type toggles are on the Sensei BuddyPress Integration tab; see Configuring settings.

The addon can also post a site activity update when an instructor publishes new content, controlled from the Sensei Post Activity In Feed tab:

  • Courses (reign_sensei_course_creation_activity) - a new course is published.
  • Lessons (reign_sensei_lesson_creation_activity) - a new lesson is published.
  • Quizzes (reign_sensei_quiz_creation_activity) - a new quiz is published.

Each toggle must be enabled for its activity to post. Publishing activity is limited to users with the administrator or Sensei teacher role, and it fires as the post transitions to the published status.

When a course has no featured image at publish time, the activity is deferred a couple of seconds through a single scheduled event (reign_sensei_publish_course_activity) so the thumbnail can finish processing before the activity is recorded.

  • BuddyBoss: the instructor publishing activity and its settings tab are disabled when BuddyBoss Platform is active.
  • Youzify: when Youzify is active, publishing activity is recorded as a Youzify status type so it renders in the Youzify feed.

The activity content and arguments for every event can be adjusted with filters. See Hooks and filters.