Invitation codes for registration: members hand out a limited number of codes, the admin controls all of them.

What it does

  • Registration field: an extra Invitation code input on the sign-up form. The code is checked before the account is created; the use is counted once the account exists.
  • Member page at /invites: your codes with their invite link (/register?tabre_invite=CODE), how often each was used, its state (Active / Off / Expired / Used up), and buttons to turn a code off or delete it.
  • Account menu: an Invitations entry with the page.
  • Admin page (Admin → Plugins → TabRe Invite → Invitations): every code, who created it, uses, state; turn off or delete any code.
  • Codes are 12-character random tokens, so they cannot be guessed. A link opens the register form with the code already filled in.

Modes (Admin → Plugins → TabRe Invite)

SettingDefaultMeaning
Invitation codesOptionalOff = field hidden; Optional = a valid code is accepted but not required; Required = every sign-up needs a valid code
Active codes a member may keep30 = members cannot create codes
Sign-ups per code00 = no limit
Days until a code expires300 = never

Data

Two tables, dropped on uninstall: plugin_tabre_invite_codes, plugin_tabre_invite_uses.