Difference between revisions of "Submission Settings"
From GeeklogWiki
Line 1: | Line 1: | ||
+ | {| border=1 cellspacing=0 | ||
+ | !Variable | ||
+ | !Default Value | ||
+ | !Description | ||
+ | |- | ||
+ | |storysubmission | ||
+ | |1 | ||
+ | |Enable (1) or disable (0) the story submission queue | ||
+ | |- | ||
+ | |linksubmission | ||
+ | |1 | ||
+ | |Enable (1) or disable (0) the link submission queue | ||
+ | |- | ||
+ | |eventsubmission | ||
+ | |1 | ||
+ | |Enable (1) or disable (0) the event submission queue | ||
+ | |- | ||
+ | |usersubmission | ||
+ | |1 | ||
+ | |Enable (1) or disable (0) the user submission queue (i.e. new users must be approved before they receive their password) | ||
+ | |- | ||
+ | |allow_domains | ||
+ | |'' | ||
+ | |When user submission is enabled this can contain a comma-separated list of domain names from which user submissions will not be queued (but approved automatically). <br><strong>Example:</strong> 'mycompany.com,myothercompany.com' | ||
+ | |- | ||
+ | |notification | ||
+ | |array() | ||
+ | |Send an email notification to <tt>$_CONF['site_email']</tt> when a new story, link, or event has been submitted or a new user has registered with the site. The <tt>array()</tt> can hold any combination of the strings <tt>'story'</tt>, <tt>'link'</tt>, <tt>'event'</tt>, and <tt>'user'</tt> (separated by commas), depending on which notification(s) you want.<br><strong>Example:</strong> <code>array('story','user');</code> would send notifications when a new story has been submitted or a new user has registered. No notifications would be sent for new links or events. | ||
+ | |- | ||
+ | |listdraftstories | ||
+ | |0 | ||
+ | |When set to 1, this will display an additional block on the submissions page (<tt>moderation.php</tt>) that lists all the stories that have the 'draft' flag set. | ||
+ | |- | ||
+ | |postmode | ||
+ | |plaintext | ||
+ | |Sets the default submission mode to 'html' or 'plaintext' | ||
+ | |- | ||
+ | |speedlimit | ||
+ | |45 | ||
+ | |Minimum delay between submissions in seconds. This helps prevent Denial of Service (DOS) attacks | ||
+ | |- | ||
+ | |skip_preview | ||
+ | |0 | ||
+ | |If 1, allows submission of stories and comments without previewing (i.e. the submission form will always have a Preview <em>and</em> a Submit button). | ||
+ | |} | ||
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]] | ;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]] |
Revision as of 08:25, 7 July 2004
Variable | Default Value | Description |
---|---|---|
storysubmission | 1 | Enable (1) or disable (0) the story submission queue |
linksubmission | 1 | Enable (1) or disable (0) the link submission queue |
eventsubmission | 1 | Enable (1) or disable (0) the event submission queue |
usersubmission | 1 | Enable (1) or disable (0) the user submission queue (i.e. new users must be approved before they receive their password) |
allow_domains | When user submission is enabled this can contain a comma-separated list of domain names from which user submissions will not be queued (but approved automatically). Example: 'mycompany.com,myothercompany.com' | |
notification | array() | Send an email notification to $_CONF['site_email'] when a new story, link, or event has been submitted or a new user has registered with the site. The array() can hold any combination of the strings 'story', 'link', 'event', and 'user' (separated by commas), depending on which notification(s) you want. Example: array('story','user'); would send notifications when a new story has been submitted or a new user has registered. No notifications would be sent for new links or events.
|
listdraftstories | 0 | When set to 1, this will display an additional block on the submissions page (moderation.php) that lists all the stories that have the 'draft' flag set. |
postmode | plaintext | Sets the default submission mode to 'html' or 'plaintext' |
speedlimit | 45 | Minimum delay between submissions in seconds. This helps prevent Denial of Service (DOS) attacks |
skip_preview | 0 | If 1, allows submission of stories and comments without previewing (i.e. the submission form will always have a Preview and a Submit button). |