Translations of this page: en bg cs de fi fr hu it ja pl ru tr zh

This is an old revision of the document!


Registration via invitation letter (pun_invitation_only)

PunBB 1.3 official extension

  • Status: stable
  • Current version: 1.0.0

General idea

You should use this extension in case you want to limit registrations of new users on your forum. With pun_invitation_only extension new members can register only in case you send them an invitation letter with the hyperlink containing unique invitation code.

Invitation code can be used only once. After being used it becomes invalid. Invitation letters can be send by forum administrator or by the groups of users, to whom administrator gives a permission to invite new members.

Specification

pun_invitation_only 1.0.1 (current version)

Interface

  • Administrator's menu
    • User » Groups » Edit this group (or Add new group) » Allow users to invite new members. If checked, users of this group will be able to send invitation letters to invite new memmbers.
    • Setting » Features » Enable invitation system (Enables registration via invitation letters)
  • Forum's header
    • “Invitation” link (refers to the page with invitation form. Used to send invitation emails).
  • Invitation page
    • Email text box (email of a person user wants to invite)
    • Submit button (sends email to the specifyed address)

DB schema

  • A new table “pun_invitations_only”. Stores information about invitations.
Field Type Default Description
inviter_id int(10) Inviter ID.
invitee_code varchar(32) Invitee code.
invitee_email varchar(80) Email address of a person to whow invitation is sent.
created int(10) Date when invitation letter was sent.
used int(10) Date when the invatation was used.

* Additional field in groups table

Field Type Default Description
g_allow_invite tinyint(1) NULL Shows whether the user can invite new members or not.

Feature requests

Add personal message to the email. For example a short message saying why the forum is recommended.

Links

Screenshots

Invitation page


Personal Tools