Tuesday, August 13, 2013

My answer to "Character Limit Questions/Answers"

This is my answer to a Question on Support site for LampCMS project




Did you look in !config.ini (in !confiig.dist.ini which of cause should be renamed to !config.ini before the install)

There are a few lines there (with comments above the config parameters)


So for Question and Answers there are way to set minimum chars, minimum words and only minimum length of title of the question.

There are no maximum limit for Questions and Answers.

;
; Minimum length of question in chars
MIN_QUESTION_CHARS = 10
;
; Minimum required length of question title
MIN_TITLE_CHARS = 10
;
; Minimum required length of comment
MIN_COMMENT_CHARS = 10
;
; Maximum length of comment
MAX_COMMENT_CHARS = 600
;
; Minimum number of words required in question
MIN_QUESTION_WORDS = 3
;
; Minimum length of answer in chars
MIN_ANSWER_CHARS = 10
;
; Minimum number of words required for answer
MIN_ANSWER_WORDS = 3

No comments:

Post a Comment