Differences

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

punbb13:extensions:pun_stop_bots 2009/11/26 06:13 punbb13:extensions:pun_stop_bots 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_stop_bots/pun_stop_bots.zip|0.1]]**+  * Current version: **[[https://punbb.informer.com/extensions/pun_stop_bots/pun_stop_bots.zip|0.1]]**
===== General idea ===== ===== General idea =====
-The extension will ask some questions to prevent bot registration and posting.+The extension will prompt some questions to prevent bots from registering and posting.
===== Specification ===== ===== Specification =====
==== pun_stop_bots 0.1 ==== ==== pun_stop_bots 0.1 ====
=== General === === General ===
-  * Ask some question at the last stage of registration process+  * Asks a question at the last stage of registration; 
-  * Ask some question, when user create new topics or posts. For registered user special cookie is set for 2 weeks, which allows to post without answering questions;+  * Asks a question when a user creates new topics or posts. For registered users, a special cookie is set for 2 weeks which allows them to post without answering questions;
  * Forum's cache is used for storing questions and answers.   * Forum's cache is used for storing questions and answers.
=== Database === === Database ===
Line 17: Line 17:
^ Field ^ Type ^ Default ^ Description^ ^ Field ^ Type ^ Default ^ Description^
-| id | INT(10) | | Auto-increment question ID. | +| id | INT(10) | | Auto-incrementing question ID. | 
-| question | TEXT | | The question. |+| question | TEXT | | Question. |
| answers | TEXT | | The answers, separated with commas. | | answers | TEXT | | The answers, separated with commas. |
Line 24: Line 24:
^ Field ^ Type ^ Default ^ Description^ ^ Field ^ Type ^ Default ^ Description^
-| pun_stop_bots_question_id | INT(10) |  | Question id, which was asked user. The field is used for cookie validation.|+| pun_stop_bots_question_id | INT(10) |  | ID of the question the user is asked. This field is used for cookie validation.|
  * Additional fields in **online** table   * Additional fields in **online** table
^ Field ^ Type ^ Default ^ Description^ ^ Field ^ Type ^ Default ^ Description^
-| pun_stop_bots_question_id | INT(10) |  | Question id, which was asked user. The field is used for comparing answers, when user want to register, and for comparing answers of guests. |+| pun_stop_bots_question_id | INT(10) |  | ID of the question the user is asked. This field is used for comparing answers when the user wants to register, and for comparing answers of guests. |
=== Question cache === === Question cache ===
  * Stored in <FORUM_ROOT>cahce/cache_pun_stop_bots.php   * Stored in <FORUM_ROOT>cahce/cache_pun_stop_bots.php
  * Structure   * Structure
-    * cached - time of cache creating;+    * cached - time of cache creation;
    * associative array with question and answers.     * associative array with question and answers.
=== Interface === === Interface ===
    * Stop bots questions administration page     * Stop bots questions administration page
-      * Settings ->Stop bots questions; +      * Settings -> Stop bots questions; 
-      * Fields for adding new question and answers; +      * Fields for adding new questions and answers; 
-      * The list with existing questions and answers, user can update or remove the question+      * A list with existing questions and answers, users can update or remove questions
-      * There are can be several answers on one question. The answers should be separated with commas.+      * There can be several answers to a question. The answers should be separated with commas.
    * Question page     * Question page
-      * At this page all POST-parameters, which was send to forum, are stored in form hidden fields; +      * All the POST-parameters that were sent to the forum are stored in form of hidden fields on this page
-      * Field for answer to question. Answer comparison is case-insensitive.+      * A field for answers to a question. Answer comparison is case-insensitive.
===== Links ===== ===== Links =====
-  * [[http://punbb.informer.com/forums/topic/22202/extension-release-punfunnyavatars/|Discussion]] +  * [[https://punbb.informer.com/forums/topic/22579/extension-release-punstopbots/|Discussion]] 
-  * [[http://punbb.informer.com/svn/additions/punbb-1.3/extensions/pun_stop_bots/|SVN]]+  * [[https://punbb.informer.com/svn/additions/punbb-1.3/extensions/pun_stop_bots/|SVN]] 
===== Screenshots ===== ===== Screenshots =====
=== Stop bots questions administration page === === Stop bots questions administration page ===

Personal Tools