# Persistence

# base directory, this parameter must be set
# in case of file based persistence
dir=../assets/forumFiles

#
# JDBC settings. You must set this in case of db-based persistence
# Options are: (JDBC driver, database URL) pair or JNDI datasource

# JDBC driver
driver=com.mysql.jdbc.Driver
# database URL
url=C:\mysql\data\

# JNDI name (instead of the above mentioned pair)
jndiname=mydatabase

# Optional parameter: user name for JDBC connection.
user=root
# Optional parameter: password for JDBC connection.
password=root

# name of the table
table=your_db_table
# See below DDL description for this table

# Interface

# forum title (default value is Coldbeans forum)
title=My Forum

# style. Describes a link for your CSS style file. By default is empty. E.g.:
style=/css/mystyle.css

# background (default value is #FFFFFF)
bgcolor=your_color

# you can set also different backgrounds for odd and even messages
# By default they are #FFFFFF.

# odd messages
oddbgcolor=your_color

# even messages
evenbgcolor=your_color

# background for titles (default value is #D8CEC0)
bgcolor1=your_color1

# you can set also different backgrounds for odd and even titles
# By default they are #D8CEC0.

# odd titles
oddbgcolor1=your_color

# even titles
evenbgcolor1=your_color

# foreground color (default value is #000000)
fgcolor=your_color

# you can set also different foreground color for odd and even messages
# By default they are #000000.

# odd messages
oddfgcolor=your_color

# even messages
evenfgcolor=your_color

#font size (by default is current browser's font)
size=your_size

#font face (by default is current browser's font)
face=your_font_face

# sort data: 1 - last to first, 0 - first to last (default value is 1)
sort=1

# Date format. By default board will use full date.
# You may set here your own format for date. E.g.:
date=dd/MM/yyyy hh:mm

# offset. By default forum will use server's time (offset=0). You can
# set here time offset (+hours or -hours) if servlet is hosted in
# the another time zone.
offset=-3

# refresh time in the seconds (default 300)
refresh=your_time

# read forum: 1 - yes, 0 - no (default value is 1)
read=1

# enable/disable posting for messages. By default this parameter is empty
# and posting is enabled for everyone.
# You can provide here a commas separated list of roles for users allowed
# to post data
post=list_of_roles

# administrator's password. See Administrative mode below.
admin=admin

# authorization flag (See Authorization section below)
authorized=attribute_name

# login page
login=forum.jsp

# page size in messages (default value is 10)
page=8

# header. You can set here some file contains any html-code. This code will be
# outputted at the beginning of the each page. So you can set for example some banners or CSS styles.
# By default this value is empty
header=path_to_your_file

# footer. You can set here some file contains any html-code. This code will be
# outputted at the bottom of the each page. So you can set for example some banners.
# By default this value is empty
footer=path_to_your_file

# Localization support.

# You can set character encoding for input parameters
# here. Default value is ISO-8859-1
encoding=Cp1251

# Charset. You may describe exclusively charset for output pages.
# By default servlet does not define charset exclusively.
# E.g. for Chinese you may do so:
//charset=Big5 