#!/usr/local/bin/perl

############################################
##                                        ##
##                 WebBBS                 ##
##           by Darryl Burgdorf           ##
##       (e-mail burgdorf@awsd.com)       ##
##                                        ##
##             version:  4.33             ##
##         last modified:  6/8/00         ##
##           copyright (c) 2000           ##
##                                        ##
##    latest version is available from    ##
##        http://awsd.com/scripts/        ##
##                                        ##
############################################

# COPYRIGHT NOTICE:
#
# Copyright 2000 Darryl C. Burgdorf.  All Rights Reserved.
#
# This program is being distributed as shareware.  It may be used and
# modified by anyone, so long as this copyright notice and the header
# above remain intact, but any usage should be registered.  (See the
# program documentation for registration information.)  Selling the
# code for this program without prior written consent is expressly
# forbidden.  Obtain permission before redistributing this program
# over the Internet or in any other medium.  In all cases copyright
# and header must remain intact.
#
# This program is distributed "as is" and without warranty of any
# kind, either express or implied.  (Some states do not allow the
# limitation or exclusion of liability for incidental or consequential
# damages, so this notice may not apply to you.)  In no event shall
# the liability of Darryl C. Burgdorf and/or Affordable Web Space
# Design for any damages, losses and/or causes of action exceed the
# total amount paid by the user for this software.

#################################################
## Define your forum's configuration settings! ##
#################################################

## (1) Specify the location of your webbbs_settings.pl script:

require "/home2/d/e/desoto/web-public/cgi-bin/webbbs_settings.pl";

## (2) Locate the files and directories unique to this forum:

$dir = "/home2/d/e/desoto/web-public/cgi-bin/desoto_forum";
$cgiurl = "http://w3.one.net/~desoto/desotoland/despatch/despatch.pl";

$boardname = "The DeSotoland DeSpatch";
$shortboardname = "DeSpatch";

## (3) Define variables you want changed from webbbs_settings.pl:

$admin_name = "David Duricy";
$maillist_address = "webmaster\@desotoland.com";
$notification_address = "webmaster\@desotoland.com";
$email_list = 0;
$private_list = 0;

$HeaderOnly = 1;

# use Socket;
# use Net::SMTP;

#################################################################
## You MAY define the following variables, but do not have to! ##
#################################################################

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

# BEGIN { @AnyDBM_File::ISA = qw (DB_File) }
$DBMType = 0;

$SpellCheckerID = "";
$SpellCheckerPath = "";
$SpellCheckerJS = "";
$SpellCheckerLang = "en";

$UserProfileDir = "/home2/d/e/desoto/web-public/desotoland/despatch/profiles";

$UserProfileURL = "http://w3.one.net/~desoto/desotoland/despatch/profiles";
$MaxGraphicSize = 20;

$MetaFile = "";
$HeaderFile = "/home2/d/e/desoto/web-public/desotoland/despatch/header.txt";
$FooterFile = "/home2/d/e/desoto/web-public/desotoland/navigator.html";
$MessageHeaderFile = "/home2/d/e/desoto/web-public/desotoland/despatch/header.txt";
$MessageFooterFile = "/home2/d/e/desoto/web-public/desotoland/navigator.html";
$SSIRootDir = "";

$bodyspec = "BGCOLOR=\"#99cc99\" TEXT=\"#003300\" link=\"#996666\"
alink=\"#ffffff\" vlink=\"#808080\"";
$fontspec = "FACE=\"Arial\"";
$navbarspec = "BORDER=0 CELLSPACING=0 CELLPADDING=6 BGCOLOR=\"#ccffcc\"";
$navbarfontspec = "FACE=\"Arial\"";
$tablespec = "BORDER=0 CELLSPACING=0 CELLPADDING=3 BGCOLOR=\"#ccffcc\"";
$tablefontspec = "FACE=\"Arial\"";

$ListBullets = 1;

@SubjectPrefixes = ();

$MessageOpenCode = "<BLOCKQUOTE><FONT COLOR=\"#000000\">";
$MessageCloseCode = "</FONT></BLOCKQUOTE>";

$NewOpenCode = "<EM><FONT COLOR=\"#cc0000\">NEW:</FONT></EM>";
$NewCloseCode = "";
$AdminOpenCode = "<EM><FONT COLOR=\"#990000\">ADMIN!</FONT></EM>";
$AdminCloseCode = "";

$UseLocking = 1;
$RefreshTime = 5;

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

$Moderated = 0;
$SearchURL = "";

$TopNPosters = 0;

%Navbar_Links = ();

$SepPostFormIndex = 0;
$SepPostFormRead = 0;

$DefaultType = "By Threads, Mixed";
$DefaultTime = "1 Month(s)";

$PaginateGuestbook = 0;

$printboardname = 0;

$DateConfig = "";
$IndexEntryLines = 2;

$InputColumns = 50;
$InputRows = 10;

$HourOffset = 0;

$ArchiveOnly = 0;
$SingleLineBreaks = 1;

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

$AutoHotlink = 0;

%SmileyCode = ();

%FormatCode = ();

$NM_Telltale = "*NM*";
$Pic_Telltale = "*PIC*";

$ThreadSpacer = "";
$GuestbookSpacer = "";

$DisplayEmail = 1;
$ResolveIPs = 1;
$DisplayIPs = 0;
$DisplayViews = 1;

$UseCookies = 1;

## (4) Define your visitors' capabilities:

$MaxMessageSize = 50;
$MaxInputLength = 50;

$LockRemoteUser = 1;

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

$AllowHTML = 0;
$AllowURLs = 1;
$AllowPics = 1;

$AllowProfileHTML = 0;
$AllowProfileURLs = 1;
$AllowProfilePics = 1;

$SaveLinkInfo = 0;

$AllowUserPrefs = 0;
$AllowNewThreads = 1;
$AllowResponses = 1;

$NaughtyWordsFile = "/home2/d/e/desoto/web-public/cgi-bin/naughty.txt";
$CensorPosts = 0;

$ShowPosterIP = 1;
$BannedIPsFile = "";
$BanLevel = 1;




#############################################
## Do NOT change anything in this section! ##
#############################################

require $webbbs_text;
require $webbbs_basic;

&Startup;
&WebBBS;

###################################################################
## If necessary, set up the WebAdverts configuration subroutine! ##
###################################################################

sub insertadvert {
	local($adzone) = @_;
	$ADVNoPrint = 1;
	if ($adzone) { $ADVQuery = "zone=$adzone"; }
	else { $ADVQuery = ""; }
	require "/usr/foo/cgi-bin/ads.pl";
}
