#!/usr/bin/perl ############################################ ## ## ## WebBBS ## ## by Darryl Burgdorf ## ## ## ## Configuration File ## ## ## ############################################ ## (1) Define the location of your files: require "cgi-bin/webbbs.pl"; require "cgi-bin/webbbs_text.pl"; $dir = "helpdesk/helpdesk"; $cgiurl = "http://281.com/cgi-bin/hd.pl"; ## (2) Tailor the appearance and functionality of your BBS: $UseLocking = 1; $bodyspec = "BGCOLOR=\"#ffffff\" TEXT=\"#000000\""; $messagespec = ""; $NewCode = "NEW: "; $HeadLinesFile = ""; $HeaderFile = ""; $FooterFile = "helpdesk/footerindex.txt"; $MessageHeaderFile = ""; $MessageFooterFile = "helpdesk/footer.txt"; $UseFrames = ""; $BBSFrame = "_parent"; $WelcomePage = ""; $TopNPosters = 10; $Admin_Link_Name = ""; $Admin_Link_URL = ""; $SepPostForm = 0; $DefaultType = "By Threads"; $DefaultTime = "Two Weeks"; $boardname = "281 Communications - HELP DESK"; $printboardname = 1; $DateConfig = "%DY%, %mo%/%dy%/%yr% %HR%:%mn%"; $IndexEntryLines = 2; $InputColumns = 55; $InputRows = 8; $HourOffset = 0; $ArchiveOnly = 0; $AllowHTML = 0; $SingleLineBreaks = 0; $AutoQuote = 1; $AutoQuoteChar = ">"; $AutoHotlink = 1; $DisplayIPs = 0; $DisplayViews = 1; $UseCookies = 0; # require "/usr/www/userid/cgi-bin/cookie.lib"; $Max_Days = 120; $Max_Messages = 500; $ArchiveDir = "helpdesk/archive"; ## (3) Define your visitors' capabilities: $MaxMessageSize = 5; $MaxInputLength = 50; $LockRemoteUser = 0; $AllowUserDeletion = 0; $AllowEmailNotices = 1; $AllowPreview = 1; $AllowURLs = 0; $AllowPics = 0; $SaveLinkInfo = 0; $AllowUserPrefs = 1; $AllowResponses = 1; $NaughtyWords = "fuck cook suck tits tit shit piss cunt bitch whore"; $CensorPosts = 1; $BannedIPs = ""; ## (4) Define your e-mail notification features: $mailprog = 'c:/inetpub/wwwroot/cgi-bin/sendmail/sendmail -t'; $WEB_SERVER = ""; $SMTP_SERVER = ""; $admin_name = "Administrator"; $maillist_address = "support\@281.com"; $notification_address = "support\@281.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; # $ADVQuery = ""; # &ADVsetup; }