###############################################################################
# Settings.pl                                                                 #
###############################################################################
# YaBB: Yet another Bulletin Board                                            #
# Open-Source Community Software for Webmasters                               #
# Version:        YaBB 2 RC 1                                                 #
# Released:       December 27, 2004                                           #
# Distributed by: http://www.yabbforum.com                                    #
# =========================================================================== #
# Copyright (c) 2000-2005 YaBB (www.yabbforum.com) - All Rights Reserved.     #
# Software by: The YaBB Development Team                                      #
#              with assistance from the YaBB community.                       #
# Sponsored by: Xnull Internet Media, Inc. - http://www.ximinc.com            #
###############################################################################

########## Board Info ##########
# Note: these settings must be properly changed for YaBB to work

$maintenance = 0;                                                     # Set to 1 to enable Maintenance mode
$guestaccess = 1;                                                     # Set to 0 to disallow guests from doing anything but login or register

$mbname = q^YaBB 2 RC 1^;                                             # The name of your YaBB forum

$Cookie_Length = 360;                                                 # Default minutes to set login cookies to stay for
$cookieusername = "YaBB2username";                                    # Name of the username cookie
$cookiepassword = "YaBB2password";                                    # Name of the password cookie

$RegAgree = 1;                                                        # Set to 1 to display the registration agreement when registering
$preregister = 1;                                                     # Set to 1 to use pre-registration and account activation
$preregspan = 24;                                                     # Time span in hours for users to account activation before cleanup.
$emailpassword = 0;                                                   # 0 - instant registration. 1 - password emailed to new members
$emailnewpass = 0;                                                    # Set to 1 to email a new password to members if they change their email address
$emailwelcome = 0;                                                    # Set to 1 to email a welcome message to users even when you have mail password turned off

$lang = "English";                                                    # Default Forum Language
$template = "default";                                                # Default Forum Template

$mailprog = "/usr/sbin/sendmail";                                     # Location of your sendmail program
$smtp_server = "127.0.0.1";                                           # Address of your SMTP-Server
$smtp_auth_required = 1;                                              # Set to 1 if the SMTP server requires Authorisation
$authuser = q^admin^;                                                 # Username for SMTP authorisation
$authpass = q^admin^;                                                 # Password for SMTP authorisation
$webmaster_email = q^webmaster@your_adress.yabb^;                     # Your email address. (eg: $webmaster_email = q^admin@host.com^;)
$mailtype = 1;                                                        # Mail program to use: 0 = sendmail, 1 = SMTP, 2 = Net::SMTP

########## Layout ##########

$maintenancetext = "We are currently upgrading our forum again. Please check back shortly!";
                                                                      # User-defined text for Maintenance mode (leave blank for default text)
$MenuType = 0;                                                        # 1 for text menu or anything else for images menu
$profilebutton = 0;                                                   # 1 to show view profile button under post, or 0 for blank
$timeselected = 4;                                                    # Select your preferred output Format of Time and Date
$allow_hide_email = 1;                                                # Allow users to hide their email from public. Set 0 to disable
$showlatestmember = 1;                                                # Set to 1 to display "Welcome Newest Member" on the Board Index
$shownewsfader = 0;                                                   # 1 to allow or 0 to disallow NewsFader javascript on the Board Index
                                                                      # If 0, you'll have no news at all unless you put <yabb news> tag
                                                                      # back into template.html!!!
$Show_RecentBar = 1;                                                  # Set to 1 to display the Recent Post on Board Index
$showmodify = 1;                                                      # Set to 1 to display "Last modified: Realname - Date" under each message
$ShowBDescrip = 1;                                                    # Set to 1 to display board descriptions on the topic (message) index for each board
$showuserpic = 1;                                                     # Set to 1 to display each member's picture in the message view (by the ICQ.. etc.)
$showusertext = 1;                                                    # Set to 1 to display each member's personal text in the message view (by the ICQ.. etc.)
$showgenderimage = 1;                                                 # Set to 1 to display each member's gender in the message view (by the ICQ.. etc.)
$showyabbcbutt = 1;                                                   # Set to 1 to display the yabbc buttons on Posting and IM Send Pages
$parseflash = 0;                                                      # Set to 1 to parse the flash tag
$enableclicklog = 0;                                                  # Set to 1 to track stats in Clicklog (this may slow your board down)


########## Feature Settings ##########

$enable_ubbc = 1;                                                     # Set to 1 if you want to enable UBBC (Uniform Bulletin Board Code)
$enable_news = 1;                                                     # Set to 1 to turn news on, or 0 to set news off
$allowpics = 1;                                                       # set to 1 to allow members to choose avatars in their profile
$enable_guestposting = 0;                                             # Set to 0 if do not allow 1 is allow.
$enable_notification = 1;                                             # Allow e-mail notification
$autolinkurls = 1;                                                    # Set to 1 to turn URLs into links, or 0 for no auto-linking.

$timeoffset = 0;                                                      # Time Offset (so if your server is EST, this would be set to -1 for CST)
$TopAmmount = 15;                                                     # No. of top posters to display on the top members list
$maxdisplay = 20;                                                     # Maximum of topics to display
$maxrecentdisplay = 25;                                               # Maximum of topics to display on recent posts by a user (-1 to disable)
$maxsearchdisplay = -1;                                               # Maximum of messages to display in a search query  (-1 to disable search)
$maxmessagedisplay = 15;                                              # Maximum of messages to display
$MaxMessLen = 5500;                                                   # Maximum Allowed Characters in a Posts
$MaxSigLen = 200;                                                     # Maximum Allowed Characters in Signatures
$ClickLogTime = 100;                                                  # Time in minutes to log every click to your forum (longer time means larger log file size)
$max_log_days_old = 30;                                               # If an entry in the user's log is older than ... days remove it
                                                                      # Set to 0 if you want it disabled
$fadertime = 1000;                                                    # Length in milliseconds to delay between each item in the news fader
$timeout = 5;                                                         # Minimum time between 2 postings from the same IP

$barmaxdepend = 0;                                                    # Set to 1 to let bar-max-length depend on top poster or 0 to depend on a number of your choise
$barmaxnumb = 500;                                                    # Select number of post for max. bar-length in memberlist
$defaultml = "regdate";

########## MemberPic Settings ##########

$userpic_width = 65;                                                  # Set pixel size to which the selfselected userpics are resized, 0 disables this limit
$userpic_height = 0;                                                  # Set pixel size to which the selfselected userpics are resized, 0 disables this limit
$userpic_limits = qq~Please note that your image must be <b>gif</b> or <b>jpg</b> and that it will be resized.~;
                                                                      # Text To Describe The Limits


########## File Locking ##########

$gzcomp = 0;                                                          # GZip compression: 0 = No Compression, 1 = External gzip, 2 = Zlib::Compress
$gzforce = 0;                                                         # Don't try to check whether browser supports GZip
$use_flock = 1;                                                       # Set to 0 if your server doesn't support file locking,
                                                                      # 1 for Unix/Linux and WinNT, and 2 for Windows 95/98/ME

$faketruncation = 0;                                                  # Enable this option only if YaBB fails with the error:
                                                                      # "truncate() function not supported on this platform."
                                                                      # 0 to disable, 1 to enable.

1;
