<?php
/**
 * File to handle the answers config variables
 *
 * This file has various configuration variable required for the
 * answers module.
 *
 */
/**
 * @var				boolean Is category mandatory
 * @cfg_sub_head 	Question settings
 * @cfg_label 		Is category mandatory
 * @cfg_key 		admin_category_mandatory
 * @cfg_sec_name
 * @cfg_section 	answers_setting
 */
$CFG['admin']['category']['mandatory'] = true;
/**
 * @var				boolean Is Description mandatory
 * @cfg_label 		Is description mandatory
 * @cfg_key 		admin_description_mandatory
 */
$CFG['admin']['description']['mandatory'] = true;
/**
 * @var				int Number of days question open
 * @cfg_label 		Number of days the question is open
 * @cfg_key 		admin_question_open_days
 */
$CFG['admin']['question']['open_days'] = 5;
/**
 * @var				boolean Is duplicate questions allowed
 * @cfg_label 		Is posting similar questions allowed
 * @cfg_key 		admin_question_duplicates
 */
$CFG['admin']['question']['duplicates'] = false;
/**
 * @var				boolean Is auto publish all questions allowed
 * @cfg_label 		Is auto publish all questions allowed
 * @cfg_key 		question_auto_publish_allowed
 */
$CFG['admin']['question_auto_publish']['allowed'] = true;
/**
 * @var				boolean Is suggesstion for questions allowed
 * @cfg_label 		Is questions suggesstion allowed to display while adding a question
 * @cfg_key 		question_suggest_allowed
 */
$CFG['admin']['question_suggest']['allowed'] = true;
/**
 * @var				boolean Is Twitter user allowed to post  questions to twitter
 * @cfg_label 		Is Twitter user allowed to post  questions to twitter
 * @cfg_key 		twitter_post_questions_allowed
 */
$CFG['admin']['twitter_post_questions']['allowed'] = true;
/**
 * @var				boolean Is Related questions allowed
 * @cfg_label 		Is related questions allowed to display while viewing a question
 * @cfg_key 		question_related_allowed
 */
$CFG['admin']['question_related']['allowed'] = true;
/**
 * @var				boolean Is allowed to create category and sub category
 * @cfg_label 		Is allowed to create category and sub category
 * @cfg_key 		admin_question_create_category
 */
$CFG['admin']['question']['category_create'] = false;
/**
 * @cfg_sub_head 	Answer settings
 * @var				boolean Is selecting best answers allowed
 * @cfg_label 		Is selecting best answers allowed
 * @cfg_key 		admin_best_answers_allowed
 */
$CFG['admin']['best_answers']['allowed'] = true;
/**
 * @var				boolean Is source needed
 * @cfg_label 		Is source of answers need to add by user
 * @cfg_key 		admin_answers_source
 */
$CFG['admin']['answers']['source'] = false;
/**
 * @var				int Limit for number of times mails to be  sent  for choosing best answer for resolved question
 * @cfg_label 		Number of times mails to be  sent to question owner <br /> for choosing best answer for resolved question
 * @cfg_key 		admin_mail_limit
 */
$CFG['admin']['number_of_mails']['allowed'] = 5;
/**
 * @cfg_sub_head 	Edit and Delete settings
 * @var				boolean Is allowed to edit question
 * @cfg_label 		Is allowed to edit question
 * @cfg_key 		admin_question_edit
 */
$CFG['admin']['question']['edit'] = true;
/**
 * @var				boolean Is allowed to delete question
 * @cfg_label 		Is allowed to delete question
 * @cfg_key 		admin_question_delete
 */
$CFG['admin']['question']['delete'] = true;
/**
 * @var				boolean Is allowed to edit answer
 * @cfg_label 		Is allowed to edit answer
 * @cfg_key 		admin_answer_edit
 */
$CFG['admin']['answer']['edit'] = true;
/**
 * @var				boolean Is allowed to delete answer
 * @cfg_label 		Is allowed to delete answer
 * @cfg_key 		admin_answer_delete
 */
$CFG['admin']['answer']['delete'] = true;
/**
 * @cfg_sub_head 	Characters allowed settings
 * @var				int Number of allowed characters for question
 * @cfg_label 		Number of allowed characters for question
 * @cfg_key 		admin_question_limit
 */
$CFG['admin']['question']['limit'] = 250;
/**
 * @var				int Number of allowed characters for question description
 * @cfg_label 		Number of allowed characters for question description
 * @cfg_key 		admin_description_limit
 */
$CFG['admin']['description']['limit'] = 500;
/**
 * @var				int Number of characters for answers
 * @cfg_label 		Number of characters for answer
 * @cfg_key 		admin_answers_limit
 */
$CFG['admin']['answers']['limit'] = 500;
/**
 * @cfg_sub_head 	Popular question settings
 * @var				int Number of latest days to show popular question
 * @cfg_label 		Number of latest days to show popular question
 * @cfg_key 		admin_popular_days_limit
 */
$CFG['admin']['popular_days']['limit'] = 17;
/**
 * @cfg_sub_head	Points Settings
 * @var				boolean Is points for asking questions allowed
 * @cfg_label 		Is points for asking questions allowed
 * @cfg_key 		ask_answers_allowed
 */
$CFG['admin']['ask_answers']['allowed'] = true;
/**
 * @var				boolean Is Points Notification needed Near Question submit
 * @cfg_label 		Is points notification needed near question submit
 * @cfg_key 		admin_question_point_notification
 */
$CFG['admin']['question']['point_notification'] = true;
/**
 * @var				boolean Is points for replying questions allowed
 * @cfg_label 		Is points for replying questions allowed
 * @cfg_key 		reply_answers_allowed
 */
$CFG['admin']['reply_answers']['allowed'] = true;
/**
 * @var				boolean Is Points Notification needed Near Answer submit
 * @cfg_label 		Is points notification needed near answer submit
 * @cfg_key 		admin_answers_point_notification
 */
$CFG['admin']['answers']['point_notification'] = true;
/**
 * @cfg_sub_head	Voting Settings
 * @var				boolean Is Voting option allowed for Questions
 * @cfg_label 		Voting allowed for questions
 * @cfg_key 		admin_voting_questions
 */
$CFG['admin']['questions_module']['voting'] = true;
/**
 * @var				boolean Is Voting option allowed for Answers
 * @cfg_label 		Voting allowed for answers
 * @cfg_key 		admin_voting_answers
 */
$CFG['admin']['answers_module']['voting'] = true;
/**
 * @cfg_sub_head 	Answer comments settings
 * @var				boolean Is users  allowed to comment
 * @cfg_label 		Is allowed to comment answer
 * @cfg_key 		admin_comment_allowed
 */
$CFG['admin']['answers_comment']['allowed'] = true;
/**
 * @var				boolean Is  User allowed to delete his comments
 * @cfg_label 		 Is  User allowed to delete his comments
 * @cfg_key 		admin_user_delete_comment
 */
$CFG['admin']['delete_comment']['allowed'] = true;
/**
 * @var				int Limit for number of comments allowed
 * @cfg_label 		Number of comments allowed  for each user
 * @cfg_key 		admin_comment_limit
 */
$CFG['admin']['number_of_comments']['allowed'] = 3;
$CFG['admin']['question_owner_comment_present']['allowed'] = false;
$CFG['admin']['only_answer_owner_allowed_to_comment']['allowed'] = false;
/**
 * @cfg_sub_head 	Question bookmarking settings
 * @var				boolean Is Add This option for question allowed
 * @cfg_label 		Is "Add This" option for question allowed
 * @cfg_key 		admin_question_addthis
 */
$CFG['admin']['question']['addthis'] = false;
/**
 * @var				boolean Is abusing questions allowed
 * @cfg_sub_head	Abuse Settings
 * @cfg_label 		Is abusing questions allowed
 * @cfg_key 		admin_abuse_questions_allowed
 */
$CFG['admin']['abuse_questions']['allowed'] = true;
/**
 * @var				boolean Is points for abusing questions allowed
 * @cfg_label 		Is points for abusing questions allowed
 * @cfg_key 		abuse_questions_allowed
 */
$CFG['admin']['abuse_questions_points']['allowed'] = true;
/**
 * @var				boolean Is abusing answers allowed
 * @cfg_label 		Is abusing answers allowed
 * @cfg_key 		admin_abuse_answers_allowed
 */
$CFG['admin']['abuse_answers']['allowed'] = true;
/**
 * @var				boolean Is points for abusing answers allowed
 * @cfg_label 		Is points for abusing answers allowed
 * @cfg_key 		abuse_answers_allowed
 */
$CFG['admin']['abuse_answers_points']['allowed'] = true;
/**
 * @var				boolean Is attachments allowed for Questions
 * @cfg_label 		Is attachments allowed for Questions
 * @cfg_key 		admin_attachments_allowed_questions
 * @cfg_sub_head	Attachment Settings
  */
$CFG['admin']['attachments_questions']['allowed'] = true;
/**
 * @var				boolean Is attachments allowed for Answers
 * @cfg_label 		Is attachments allowed for Answers
 * @cfg_key 		admin_attachments_allowed_answers
  */
$CFG['admin']['attachments_answers']['allowed'] = true;
/**
 * @var				int No. of attachments allowed
 * @cfg_label 		Number of attachments allowed
 * @cfg_key 		admin_attachments_allowed_count
  */
$CFG['admin']['attachments_allowed']['count'] = 5;
/**
 * @var				array Allowed attachment Formats
 * @cfg_label 		Allowed attachment Formats ( Only Image Formats )
 * @cfg_key 		attachments_format_arr
 * @cfg_arr_type 	key
 * @cfg_arr_key 	string
 */
$CFG['admin']['attachments']['format_arr'] = array('jpg', 'gif', 'png');
/**
 * @var				int Allowed attachments maximum size
 * @cfg_label 		Allowed attachments maximum size for each image(KB)
 * @cfg_key 		attachments_max_size
 * @cfg_arr_type 	key
 * @cfg_arr_key 	string
 */
$CFG['admin']['attachments']['max_size'] = 1000;
$CFG['admin']['ans_attachments']['temp_folder'] = 'files/temp_files/ans_temp_attachments/';
$CFG['admin']['ans_attachments_path'] = 'files/ans_attachments/';
$CFG['admin']['question']['ratings'] = false;
$CFG['admin']['answer']['ratings'] = false;
$CFG['admin']['answer_publish_option']['allowed'] = true;
?>