Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

II.6.d. Postform rules

Andrey Bogdanov edited this page Mar 20, 2016 · 4 revisions

To add custom post form rules, create misc/rules/rules.txt and/or misc/rules/rules.<boardName>.txt.

Each line in a file represents a single rule. The rules will be rendered as HTML (without doT.js, unlike II.6.b. Homepage, F.A.Q. page, header, footer).

You may use #include all to include all rules from misc/rules/rules.txt into misc/rules/rules.<boardName>.txt and #include N[,M[,...]] (where N, M, etc. are rule sequence numbers) to include specific rule(s) from misc/rules/rules.txt into misc/rules/rules.<boardName>.txt.

You may also use #include except(N[,M[,...]]) to include all rules from misc/rules/rules.txt into misc/rules/rules.<boardName>.txt except rules N, M, etc. (where N, M, etc. are rule sequence numbers).

See misc/rules/rules.txt.example and misc/rules/rules.b.txt.example for examples.

Clone this wiki locally