|Home :||: Add Story :||: Archives :||: About :||: Create Account :||: Login :|
ThresholdsThresholds can be used to filter out comments based on moderation results. Results consist of count (total number of votes cast), up (number of positive votes), down (number of negative votes) and sum (up - down, possibly negative when down > up). Two kinds of filters can be used.
Simple thresholdsA single numerical value filters out all comments with sum below the specified value.
Advanced thresholdsArbitrary expressions can specify what comments to show, using the variables c (count), u (up), d (down) and s (sum), like
Arithmetic operators are +, -, * and / (division by zero results in
value zero), calculation is floating point.
[ Home | Add Story | Archives | Polls | About ]
Copyright © 2004-2008 Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to April 2nd 2004 as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. Some icons from slashdot.org used with permission from Kathleen. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. Search engine is ht://Dig. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]