#!/usr/bin/perl

############################################
##                                        ##
##                 WebBBS                 ##
##           by Darryl Burgdorf           ##
##                                        ##
##           Configuration File           ##
##                                        ##
############################################

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

require
"/home/horacio.com/cgi-bin/webbbs.pl";
require
"/home/horacio.com/cgi-bin/webbbs_text.pl";

$dir = "/home/horacio.com/public_html/tt";
$cgiurl = "http://www.horacio.com/tt/index.cgi";

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

$UseLocking = 1;

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

$messagespec = "";

$NewCode = "<EM><FONT COLOR=\"#990000\">NEW:</FONT></EM> ";

$HeadLinesFile = "";
$$HeaderFile = "";
$FooterFile = "";


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

$UseFrames = "";
$BBSFrame = "_parent";
$WelcomePage = "";

$Admin_Link_Name = "Back to homepage";
$Admin_Link_URL = "http://www.horacio.com";

$SepPostForm = 1;

$DefaultType = "";
$DefaultTime = "";

$boardname = "Tasmanian Tiger Discussion Board";
$printboardname = 1;

$DateConfig = "";
$IndexEntryLines = 2;

$InputColumns = 80;
$InputRows = 15;

$HourOffset = 0;

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

$AutoQuote = 1;
$AutoQuoteChar = ">";

$AutoHotlink = 0;

$DisplayIPs = 1;
$DisplayViews = 1;

$UseCookies = 1;
require
"/htdocs/users/hmaiorin/hmaiorin/horacio.com/cgi-bin/cookie.lib";

$Max_Days = 999;
$Max_Messages = 2000;

$ArchiveDir = "http://www.horacio.com/tt/archive";

## (3) Define your visitors' capabilities:

$MaxMessageSize = 50;

$MaxInputLength = 50;

$LockRemoteUser = 0;

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

$AllowURLs = 1;
$AllowPics = 1;

$SaveLinkInfo = 1;

$AllowUserPrefs = 1;
$AllowResponses = 1;

$NaughtyWords = "fuck shit cunt,cash";
$CensorPosts = 1;

$BannedIPs = "149.160.128 ,208.198.164.2 , 24.46.110.12 , 62.254.128";

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

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

$maillist_address = "ttlist\@horacio.com";
$notification_address = "ttnotice\@horacio.com";
$email_list = 1;
$private_list = 0;

$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;
	&ADVsetup;
}
