/*OmegaBB 0.8.1 */

var settings = new Object();
settings.website_title = "SonsuzUs"; //also set this in config.php
settings.website_blurb = "Hızlı, Yeni ve Özgür";
settings.website_url = "http://www.sonsuzus.com";
settings.logo_image = "img/logo.jpg"; //image file of the logo that appears in the top left corner
settings.language = "tr";  //language, also set this in config.php.  See ./lang directory for info on translations.

//The following options control which features are enabled on your installation.  
settings.show_main = 1;  
settings.show_news = 1;
settings.show_articles = 1;  //Also set this in config.php
settings.show_forums = 1; //Also set this in config.php  Note: if you want private threads but no public forums, set this to 1 and set total_forums to 1
settings.show_private_threads = 1; //Also set this in config.php
settings.show_archive = 0;
settings.allow_rich_text = 1;  //if set to 1, a poster may use <b>, <i>, and <u> in posts.  Also set in config.php
settings.image_linking_allowed = 1;  //If allowed, a user may put a linked image into a post, ex: [IMG]http://www.foo.com/foo.jpg[/IMG].  Also set in config.php
settings.youtube_linking_allowed = 1; //If allowed, a user may embed a youtube movie, ex: [YOUTUBE]DlkdtS8OFlA[/YOUTUBE].  Also set in config.php
settings.image_upload_allowed = 1;  //If you don't want users to be able to upload images to their postings, set this to 0.  Also set this in config.php
settings.image_upload_in_pt_allowed = 0;  //If you don't want users to be able to upload images in private threads, set this to 0.  Also set this in config.php
                                          //note: images uploaded in a PT are publicly accessable from the ./mimg directory
settings.new_accounts_allowed = 1;  //If you don't want to allow new accounts being made in the main page, set this to 0.  Also set this in config.php
settings.user_block_list = 1; //If allowed, a user may specify users that can never post in threads they start.  Also set this in config.php

//The following options control what status level is needed to do various actions.  Status numbers --> 0: new user, 1: regular user, 2: star user, 3: moderator, 5: administrator.
settings.status_to_create_articles = 0; //users must have a status at least this high to create articles.  Also set this in config.php
settings.status_needed_to_upload_image = 0; //Minimum status needed to upload an image to your post.  Also set this in config.php
settings.status_to_embed = 0; //Status needed to be able to post [IMG][/IMG] and [YOUTUBE][/YOUTUBE].  Also set in config.php
settings.status_to_have_block_list = 1; //Status needed to use a block list.  Also set this in config.php
settings.status_to_start_pt = 0;  //Status needed to start a private thread.  also set this in config.php
settings.status_to_have_avatar = 0;  //Minimum status needed to upload an avatar.  Also set this in config.php

settings.forum_tab_names = ['Alpha', 'Bravo', 'Charlie', 'Forum A', 'Forum B', 'Forum C' ];  //default names of the forum tabs, feel free to change them 
settings.total_forums = 12 //this includes one forum for private threads, must be between 1 to 12.  //Also set this in config.php
settings.forums_per_tab = 4;  //number of forums that appear on one tab, must be between 1 and 4
settings.size_of_thread_title = 38;  //Maximum number of characters for a thread title.  Also set this in config.php  
									 //Recommended values, 4 forums per tab: 38, 3 forums per tab: 53, 2 forums per tab: 79, 1 forum per tab: 154
									 //If you don't mind thread titles getting cut at 1024 width, you can set them higher than the recommended values
settings.persistent_logo = 0; //if set to 1, the corner logo will remain after a user logs in.  If set to 0, the corner logo is replaced with the user's avatar
settings.force_avatar_into_square = 1; //If you want user's avatars to be 80x80 squares this will force it.  If 0, then an avatar may show up as 80x60, for example
settings.update_frequency = 20;  //number of seconds between the update poll to the server
settings.new_account_captcha = 1; //if set to 1, creating a new account requires you to enter a captcha.  Also set this in config.php
settings.new_user_post_captcha = 0;  //if set to 1, new users will have to enter a captcha at each post.  Also set this in config.php
settings.size_of_article_title = 154;  //maximum length of article title.  Also set this in config.php
settings.help_button = [1, 1, 1, 1, 1, 1];  //The position represents FAQ, Status, Terms Of Service, Contact, Emotes, About.  1 to have it displayed, 0 to hide it.
settings.name_of_status_2 = "Star User" //This is the name of the status with a rank above "regular user" (1) but below "moderator" (3).  

//ignore the following
var language_hash = new Array();
if (settings.language != "en") {
   var src = 'lang/language.'+settings.language+'.js';
   var head = document.getElementsByTagName('head')[0];
   var script = document.createElement('script');
   script.setAttribute('type', 'text/javascript');
   script.setAttribute('src', src);
   head.appendChild(script);   
}


