Differences

This shows you the differences between the selected revision and the current version of the page.

punbb13:extensions:pun_invitation_only 2010/03/04 09:15 punbb13:extensions:pun_invitation_only 2020/02/06 11:04 current
Line 2: Line 2:
[[punbb13:extensions#Official extensions|PunBB 1.3 official extension]] [[punbb13:extensions#Official extensions|PunBB 1.3 official extension]]
  * Status: **stable**   * Status: **stable**
-  * Current version: **[[http://punbb.informer.com/extensions/pun_invitation_only/pun_invitation_only.zip|1.0.0]]**+  * Current version: **[[https://punbb.informer.com/extensions/pun_invitation_only/pun_invitation_only.zip|1.0.0]]**
===== General idea ===== ===== 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.  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. 
-Hyperlink 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.+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.2.0 (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)
 +      * Message text box (Invitation message to replace standart invitation template)
 +      * Submit button (sends email to the specifyed address)
 +    * User's profile
 +      * "Invited by" block. Represents information about a person by whom user was invited to register on a forum.
 +      * "Invited users" block. Represents a list of users who were invited to register on a forum by this user.
 +**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 =====
 +  * Trac tickets: <del>#322</del>.
 +  * Browse code:
 +    * Trac: [[https://punbb.informer.com/trac/browser/additions/punbb-1.3/extensions/pun_invitation_only|Source]], [[https://punbb.informer.com/trac/log/additions/punbb-1.3/extensions/pun_invitation_only|Log]]
 +    * SVN: [[https://punbb.informer.com/svn/additions/punbb-1.3/extensions/pun_invitation_only/|/svn/additions/punbb-1.3/extensions/pun_invitation_only/]]
 +  * Forums topic: [[https://punbb.informer.com/forums/topic/22929/extension-release-puninvitationonly/|[extension release] pun_invitation_only]]
 +  * Visit [[https://punbb.informer.com/extensions/|PunBB extension repository]] to download this extension.
 +
 +===== Screenshots =====
 +=== Invitation page ===
 +{{:punbb13:extensions:Pun_invitation_only_page.png|}}

Personal Tools