#!/usr/bin/perl

############################################
##                                        ##
##                 WebBBS                 ##
##           by Darryl Burgdorf           ##
##                                        ##
##           Configuration File for       ##
##  Johnson County TN Wills Index Board   ##
############################################

## (1) Define the location of your files:

require "/home/cluster1/data/e/p/a900507/public_html/jct_forums/webbbs.pl";
require "/home/cluster1/data/e/p/a900507/public_html/jct_forums/webbbs_text.pl";

$dir = "/home/cluster1/data/e/p/a900507/public_html/gen/forum/wills";
$cgiurl = "http://www.cresswells.com/gen/forum/wills/config.pl";

## (2) Tailor the appearance and functionality of your BBS:

$UseLocking = 1;

$bodyspec = "BGCOLOR=\"#fffff0\" TEXT=\"#000000\"";

$messagespec = "";

$NewCode = "<EM><FONT COLOR=\"#990000\">NEW:</FONT></EM> ";
$HeadLinesFile = "";
$HeaderFile = "/home/cluster1/data/e/p/a900507/public_html/jct_forums/header.txt";
$FooterFile = "/home/cluster1/data/e/p/a900507/public_html/jct_forums/footer.txt";

$MessageHeaderFile = "";
$MessageFooterFile = "";

$UseFrames = "";
$BBSFrame = "_parent";
$WelcomePage = "http://www.cresswells.com/jct_forums/welcome.html";

$TopNPosters = 10;

$Admin_Link_Name = "";
$Admin_Link_URL = "";

$SepPostForm = 0;

$DefaultType = "By Threads, Reversed";
$DefaultTime = "Archive";

$boardname = "Johnson County TN Wills Index Board";
$printboardname = 1;

$DateConfig = "%DY%, %dy% %MO% %YR%, at %hr%:%mn%:%sc% %am%";
$IndexEntryLines = 2;

$InputColumns = 70;
$InputRows = 10;

$HourOffset = +1;

$ArchiveOnly = 0;
$AllowHTML = 1;
$SingleLineBreaks = 0;

$AutoQuote = 0;
$AutoQuoteChar = ":";

$AutoHotlink = 0;

$DisplayIPs = 2;
$DisplayViews = 1;

$Max_Days = 90;
$Max_Messages = 500;

$ArchiveDir = "/home/cluster1/data/e/p/a900507/public_html/gen/forum/wills/archives";

## (3) Define your visitors' capabilities:

$MaxMessageSize = 50;

$MaxInputLength = 50;

$LockRemoteUser = 0;

$AllowUserDeletion = 1;
$AllowEmailNotices = 1;
$AllowPreview = 1;

$AllowURLs = 1;
$AllowPics = 0;

$SaveLinkInfo = 0;

$AllowUserPrefs = 1;
$AllowResponses = 1;

$NaughtyWords = "";
$CensorPosts = 0;

$BannedIPs = "";

## (4) Define your e-mail notification features:

$mailprog = '/usr/sbin/sendmail';
$WEB_SERVER = "";
$SMTP_SERVER = "";

$admin_name = "Pam Cresswell";
$maillist_address = "wills_board\@cresswells.com";
$notification_address = "wills_board\@cresswells.com";
$email_list = 1;
$private_list = 1;

$HeaderOnly = 0;

# use Socket;

&WebBBS;

## (5) If necessary, set up the WebAdverts configuration subroutine

sub insertadvert {
	require "/full/path/to/ads_display.pl";
	$adverts_dir = "/full/path/to/ads";
	$display_cgi = "http://foo.com/ads/ads.pl";
	$advertzone = $_[0];
	$ADVUseLocking = 1;
	$ADVLogIP = 0;
	$DefaultBanner = "";
	$ADVNoPrint = 1;
	$ADVQuery = "";
	&ADVsetup;
}
