B.R.O.S. School Login for LearnDash

By mariobros1

0+ active installationsVersion 1.0.16

A school login, school admin portal, teacher portal and class enrolment for LearnDash, on native LearnDash groups.

Description

B.R.O.S. School Login for LearnDash turns LearnDash groups into schools and classes. Every school gets its own administrator, teachers and students, each with a simple front-end screen. Nobody except the site administrator needs wp-admin.

Developed by B.R.O.S. Systeemdenker. This plugin is not affiliated with or endorsed by LearnDash.

It is built on LearnDash’s own Group Hierarchy: a school is a top-level LearnDash group, a class is a group under it. Existing LearnDash courses, groups and progress are used as they are.

One login page for everyone

  • A front-end login page that uses WordPress’ own authentication.
  • After logging in, everyone goes to the right place: school administrators to the school admin portal, teachers to the teacher portal, students to their own lessons. Site administrators keep wp-admin.
  • “Forgot your password?” uses WordPress’ own secure reset link.

School admin portal

  • Create classes and choose which of the school’s courses each class follows.
  • Invite teachers. A new teacher gets a personal link to set their own password; no password is ever sent by email.
  • See all students, search and filter them by class, send a password reset link.
  • Start a 15-minute enrolment session for a class, so students can join it.
  • Share the school’s own login link and set the school’s language.
  • An administrator who leads several schools chooses the school to manage and manages each of those schools separately. The number of schools is not limited.

Teacher portal

  • Teachers see only their own classes and students, and open the courses of their classes with “Open course”.
  • Start a 15-minute enrolment session and share the class code, send a password reset link, remove a student or clear the class at the end of the school year.

Students

  • Join a class during an enrolment session: new students create an account and set their own password through the emailed link.
  • “My lessons” shows the courses of their classes.

Languages

English, Dutch (Netherlands and Belgium), French and German are included. Choose the language on the “Start here” page; every school can use its own language as well.

Easy setup

  • The plugin creates its own pages on activation (login, school admin portal, teacher portal, enrolment, my lessons). You never have to place shortcodes yourself.
  • “Start here” guides you through the setup and checks whether visitors really see every page, with clear advice when a cache, a redirect or a server setting gets in the way.

Security

  • The login and enrolment forms require HTTPS on a live site and are protected against cross-site request forgery.
  • Brute-force protection for this login page, wp-login.php and XML-RPC, and protection against guessing enrolment codes.
  • Every school is isolated: a school administrator or teacher only ever sees their own school and classes.
  • Group Leaders never get generic WordPress management rights, whatever the LearnDash Group Leader settings.

There is no limit on the number of schools, classes, teachers or students.

A separate paid plugin

A separate plugin, sold on bros-systeemdenker.be, adds reports and an Excel export. This free plugin is complete on its own: it has no locked features and never asks for a licence.

Third-party code

The QR code encoder for enrolment sessions is based on the QR Code generator library by Project Nayuki (MIT License). Its copyright and licence notice are included in src/Support/QrCode.php.

Privacy

The plugin stores data only in your own WordPress database:

  • WordPress user accounts for school administrators, teachers and students (name and email address), created through the school portal or the enrolment form;
  • short-lived enrolment sessions, stored as hashes;
  • temporary enrolment grants: a one-use grant to start an enrolment (valid for 30 minutes) and, after a student registers, a grant that waits for the confirmation of the email address (valid for 7 days). A grant records the class and the school; a grant waiting for confirmation also holds the internal WordPress user ID of the new account and a keyed hash of the email address, never the address itself. An hourly clean-up deletes expired and used grants one day later, so a grant is kept for at most about eight days;
  • brute-force protection records, stored as keyed hashes, not as raw IP addresses or user names.

The enrolment form links to your site’s privacy policy when you have one. The plugin sends nothing to external servers.

Installation

  1. Make sure LearnDash is installed and active, and turn on Group Hierarchy (LearnDash LMS > Groups > Settings).
  2. Install and activate B.R.O.S. School Login for LearnDash.
  3. Open School Login > Start here and follow the steps: create the school administrator, create the school (a LearnDash group with the box “Use this group as a School Login school” ticked), link the courses and add the school administrator as Group Leader.
  4. The installation check on Start here shows whether every page works for visitors.

FAQ

Does this plugin need LearnDash?

Yes. School Login for LearnDash works with LearnDash, a separate commercial plugin, and uses its groups, courses and Group Hierarchy.

Is there a limit on schools, classes or students?

No. The plugin adds no limits of its own.

Does it work with page builders and caching plugins?

Yes. The plugin uses normal WordPress pages. If a cache, a redirect or a maintenance mode shows other content on a School Login page, the installation check on Start here says so and explains how to solve it.

Does the plugin send data to external services?

No. The plugin does not contact any external server. All data stays in your WordPress database.

What happens when I delete the plugin?

The plugin’s own settings, enrolment sessions and security records are removed. WordPress users, LearnDash groups, courses and progress stay. Which groups are schools is kept, so a school keeps its portal after a reinstall.

Changelog

1.0.16

  • An administrator who leads several schools can open and manage each of those schools in the school admin portal: the portal asks which school to manage. Every school stays isolated.
  • Input from requests, cookies and server variables is sanitized before use; old addresses redirect with a rebuilt, sanitized query string.
  • No more direct loading of WordPress core translation files.

The changes of earlier versions are listed in changelog.txt.