Skip to content
pi-c Help: forum-statuses
Login

Help: forum-statuses

The "forum-statuses" setting:

This JSON5-formatted value defines an array of objects describing the available statuses of forum posts. Each entry of the array must be an object in the form {label:"X",value:"Y"} or, optionally, {label:"X",value:"Y",bgcolor:"Z"}. The label is used in the UI and value becomes the value of the "status" tag on forum posts. The optional bgcolor is the background color used for threads with that status by the statusbg query parameter to /timeline. Any forum post which has a status value which does not appear in this list is treated as if it had the first value from this list. If this setting is empty, is ill-formed JSON, or has only a single entry then the forum will lack the capability of setting and filtering by status.