###############################################################################
# Configuration file for ruboard v1.2.1
#
# Most of variables have reasonable default values (all, that are
# commented out here), except $baseurl which MUST be defined. It's done
# mostly by security reasons.
#
# Visit http://www.amsoft.ru/ruboard/samples.html for some examples.
#
###############################################################################
#
# Home directory of forum. All file paths below may be specified
# relative to this directory (if they have no leading slash).
#
# If not specified then autosensed by `config' form value.
#
### $basedir = "example";

# Base URL of forum to which all http path appended.
# There is no default!
#
$baseurl = "http://localhost/ruboard/example";

# Script administrator. Defaults to postmaster@host_from_base_url_without_www
# Do not forget to put backslash before @!
#
### $adm_email = "postmaster\@your.host";

# Title of forum
#
$title = "Test forum for ruboard v1.2.1";

# Script URL. If not specified then autosensed from http server.
#
### $cgi_url = "http://localhost/cgi-bin/ruboard.pl";

# Admin script URL. If not specified then autosensed from http server.
#
### $admin_url = "http://localhost/cgi-bin/rubadmin.pl";

# Path to messages; appended to $baseurl. Defaults to `messages'.
#
### $mesgdir = "messages";

# Where to store messages on disk. Defaults to $basedir/$mesgdir
#
### $messages = "/real/path/messages";

# Where to store current message number. May be absolute path.
# Defaults to `msgseq.dat'.
#
### $datafile = "msgseq.dat";

# Where to store admin passwords (for rubadmin only)
#
### $passwd_file = "passwd.dat";

# HTML files extension - usually `html' (default) or `htm'.
#
### $ext = "html";

# Main page of forum (http path, appended to $baseurl).
# Defaults to ruboard.$ext.
#
### $mainpage = "ruboard.html";

# Main page real path. Defaults to $basedir/$mainpage
#
### $mesgfile = "ruboard.html";

# FAQ file or complete URL. Defaults to faq.$ext
#
### $faqfile = "faq.html";
### $faqfile = "http://localhost/ruboard/faq.html";

# Text to be included on top of every page. Suitable for advertisements,
# will be inserted just after the <BODY ..>. The %%ID%% in text of file
# will be changed to unique set of digits (seconds from Epoch) - it is
# useful to stop caching banners (...show_banner?user=xxx&dummy=%%ID%%).
#
### $adfile = "ad.html";

# Language of script messages. Only `russian' and `english' (default)
# are available now.
#
### $language= "russian";

# Body text may be auto-formatted for the given width. It ipmroves
# readability of messages a lot! There are three options: 0 - no
# formatting, 1 - safe formatting (default), 2 - a bit more rough
# formatting (adjustant spaces are not considered pre-formatting).
#
### $format_body=1;
### $format_width=60;

# Citation symbol (prepended to message text in followups).
# Trailing spaces (if any) will be changed to only one space.
#
### $cite_symbol=">";

# Maximum number of entries of top level postings at main page.
# There is minor incompatibility with wwwboard here - you have to
# add <!--end--> to your main html file where parsing should stop in
# order to use size limitations.
# If you do not require limitations use zero (default).
#
### $max_entries=100;
### $max_entries=0;	# No limit

# Where to go after posting the article. To the article (0, default) or
# to the index (1). Reloading of index is forced.
#
### $post_redir=0;

# Anti spam -- hidding e-mail addresses from searche engines of
# spammers: 0 - no protection, 1 - add leading space (default), 2 - use
# server to construct real addresses. Last method is most secure, but
# it will require access to forum server to mail the letter (of course
# the server only forms the e-mail address, it has no way to control the
# message).
#
### $antispam = 1;

###############################################################################
# Appearance
#
# Background color and/or image (paper color). The default is bright white
# color and no image.
#
### $bg_paper="#FFFFFF";
### $bg_image="";

# Colors of text, links, visited links and active links. The default is
# no change, using browser's defaults..
#
### $cl_text="";
### $cl_link="";
### $cl_vlink="";
### $cl_alink="";

# The background color and image of Subject line in messages. The default
# is gray color and no image.
#
### $bg_subject="#CCCCCC";
### $bg_subj_img="";

# Prefix and postfix of subject -- usually font alteration. The default
# for prefix is nothing and default for postfix is </FONT> is prefix is
# set.
#
### $ap_subj_pre="";
### $ap_subj_post="";

# Separator line color and background image. The default is light gray
# color and no image.
#
### $bg_sep="#EEEEEE";
### $bg_sep_img="";

###############################################################################
# Access control.
#
# Access policy:
#  0 - opened, no registration required (default);
#  1 - registration required to get special rights (described below);
#  2 - registration required even to post a message
#
### $acc_policy = 0;

# Registration form URL. The default is internal form.
#
### $acc_form_url = "regform.html";

# Mail agent. Required to sent you notifications when users applied for
# registrations and mailing to usres about your decisions.
# If you do not use registration features - leave it commented.
#
# %addr% is replaced by destination address.
#
### $acc_mailer = "/usr/sbin/sendmail %addr%";

# Access passwords file (not URL, the file path)
#
### $acc_passwd = "userpass.dat";

# Providing e-mail: 0 - allowed for all (default), 1 - required, 2 -
# prohibited
#
### $acc_email = 0;

# Postings of images: 0 - allowed for all (default), 1 - registered
# users only, 2 - nobody.
#
### $acc_image = 0;

# Postings of URLs: 0 - allowed for all (default), 1 - registered
# users only, 2 - nobody.
#
### $acc_url = 0;

# IP address blocking -- 0 - not used, 1 - registered users may post
# from blocked addresses, 2 - nobody can post from blocked address.
#
### $acc_ip = 0;

# The file where message author's IPs are stored. Not used when $acc_ip==0.
#
### $acc_ip_msgs = "ipmsgs.dat";

# The file where blocked IPs are stored -- the configuration. Not used
# when $acc_ip==0.
#
### $acc_ip_conf = "ipconf.dat";

# File with the list of banned words. Editable from administrator shell.
#
### $bw_file = "badwords.dat";

###############################################################################
# Show a link to FAQ (1) or not (0, default)?
#
### $show_faq = 0;

# Show shortcuts to followups and follow up form from top of page (not
# recommended by kept for compatibility)
#
### $show_refs = 1;

# Allow HTML (1) in body of message or not (0, default)?
#
### $allow_html = 0;

# Quote original message text in followups (1, default) or not (0)?
#
### $quote_text = 1;

# What to do with subject line in followups:
#  0) Quote subject and let user edit it (default)
#  1) Quote subject and disallow editing
#  2) Do not quote original subject; prompt for new one instead
#
### $subject_line = 0;

# Use time (1, default) or show only date (0)
#
### $use_time = 1;

###############################################################################
# Localization.
#
# If your language is not english and you have correctly installed
# locale and your perl is 5.x you should uncomment the following.
#
# Without locale formatter and bad words feature may not work.
#
### $ENV{'LANG'}="ru_RU.KOI8-R";	# Set this to your language
### use locale;

# That's all!
###############################################################################