<?PHP
/*
+--------------------------------------
| Wiccle v1.0.1
| ==================================
| by Markus Loponen & Keith Killilea
| (c) 2009-2010 Wiccle Ltd.
| http://www.www.wiccle.com
| Email: hide@address.com
| ==================================
| Time: 2010-06-28 | File version: 1.0.1
+-------------------------------------
| Please read the Wiccle license
| Available at docs/license.txt
+-------------------------------------
*/
/* MODULE CONFIGURATION */
$this_module = $_SESSION['module']['module_ident'];
$_SESSION['module']['module_ident'] = MODULE_IDENT;
$core['module']['extension_class'] = "Groups";
$core['module']['post_add_form_extension'] = "post_add_form_extension";
$core['module']['post_edit_form_extension'] = "post_edit_form_extension";
$core['module']['post_add_extension'] = "post_add_extension";
$core['module']['post_add_prepro_extension'] = "post_add_prepro_extension";
$core['module']['post_edit_extension'] = "post_edit_extension";
$core['module']['post_edit_prepro_extension'] = "post_edit_prepro_extension";
$core['module']['post_preprocessor'] = "post_preprocessor";
$core['module']['set']['cat_image_full'] = 60;
$core['module']['set']['cat_image_medium'] = 60;
$core['module']['set']['cat_image_sidebar'] = 60;
$core['module']['set']['cat_stream_image'] = 160;
$core['module']['set']['parent_image_full'] = 60;
$core['module']['set']['parent_image_medium'] = 60;
$core['module']['set']['parent_image_sidebar'] = 60;
$core['module']['set']['post_image_max'] = 600;
$core['module']['set']['post_image_full'] = 250;
$core['module']['set']['post_image_medium'] = 160;
$core['module']['set']['post_image_short'] = 60;
$core['module']['set']['post_thumb'] = 60; /// for tiles
$core['module']['set']['post_thumb_plus'] = $core['module']['set']['post_thumb'] + 10;
$core['module']['used_types'] = array('category', 'parent', 'thread');
$core['module']['single_parent'] = FALSE;
$core['show']['module'] = TRUE;
$core['show']['parent'] = TRUE;
$core['show']['post'] = TRUE;
$core['show']['category'] = TRUE;
$core['module']['show_nextprev'] = TRUE;
$core['module']['show_desc_in_post'] = FALSE;
$core['module']['show_post_caption_tiled'] = FALSE;
$core['module']['show_post_desc_tiled'] = FALSE;
$core['module']['show_post_text_tiled'] = FALSE;
$core['module']['show_post_parent'] = TRUE;
$core['module']['show_post_category'] = TRUE;
$core['module']['show_parent_started'] = TRUE;
$core['module']['show_parent_author'] = TRUE;
$core['module']['show_parent_category'] = TRUE;
$core['module']['show_parent_categories'] = FALSE;
$core['module']['show_parent_members'] = TRUE;
$core['module']['show_parent_tags'] = TRUE;
$core['module']['show_parent_comments'] = FALSE;
$core['module']['show_parent_threads'] = TRUE;
$core['module']['show_parent_views'] = TRUE;
$core['module']['show_parent_views'] = FALSE;
$core['module']['show_parent_author'] = TRUE;
$core['module']['show_cat_started'] = FALSE;
$core['module']['show_cat_entries'] = FALSE;
$core['module']['show_cat_parent'] = FALSE;
$core['module']['show_cat_author'] = FALSE;
$core['module']['show_cat_threads'] = TRUE;
$core['module']['show_cat_parents'] = TRUE;
$core['module']['show_cat_location'] = FALSE;
$core['module']['show_cat_time'] = FALSE;
$core['module']['show_cat_people'] = FALSE;
$core['module']['global_parent'] = TRUE; // Allow posting to global parent?
$core['module']['req_owned_parent_for_post'] = FALSE;
$core['module']['allow_parent_for_cat'] = FALSE;
$core['module']['require_parent_for_cat'] = FALSE;
$core['module']['allow_cat_for_parent'] = TRUE;
$core['module']['require_cat_for_parent'] = TRUE;
$core['module']['ident_type'] = "database";
$core['module']['subscription_type'] = "membership";
$core['module']['use_quick_category'] = FALSE; // Allow quick categories in post form?
$core['module']['show_post_author'] = TRUE; // Show "author" in "post"?
$core['module']['show_post_parent'] = FALSE; // Show "module" in "post"?
$core['module']['post_required'] = array('post_name', 'post_text'); // Required fields for posts
$core['module']['upload_type'] = "image"; // Allowed upload type
// DB Extensions
$core['module']['sql_parent_join'] = "LEFT JOIN ".TPRE."favorites ON (fav_parent_id=parent_id AND fav_member_id={$_SESSION['member']['member_id']})";
$core['module']['sql_member_join'] = "LEFT JOIN ".TPRE."favorites ON (fav_member_id=member_id)";
require(PATH_MODULES."/".MODULE_IDENT."/".MODULE_IDENT."_config_ext.php");
?>