#!/usr/bin/perl ############################################ ## ## ## WebBBS ## ## by Darryl Burgdorf ## ## ## ## Configuration File ## ## ## ############################################ ## (1) Define the location of your files: require "/home/digital/mrehrer/public_html/cgi/webbbs.pl"; require "/home/digital/mrehrer/public_html/cgi/webbbs_text.pl"; $dir = "/home/digital/mrehrer/dmz"; $cgiurl = "http://www.csua.berkeley.edu/~mrehrer/cgi/vfxchat.cgi"; ## (2) Tailor the appearance and functionality of your BBS: $UseLocking = 1; $bodyspec = "BACKGROUND=\"../gifs/bg-mini.gif\" BGCOLOR=\"#ffffff\" TEXT=\"#000000\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" alink=\"#000000\" link=\"#000000\" vlink=\"#000000\""; $messagespec = "SIZE=\"3\" COLOR=\"333366\" FACE=\"Arial,Helvetica\""; $NewCode = "NEW: "; $HeadLinesFile = ""; $HeaderFile = "/home/digital/mrehrer/public_html/cgi/vfxmain-header.html"; $FooterFile = "/home/digital/mrehrer/public_html/cgi/vfxmain-footer.html"; $MessageHeaderFile = "/home/digital/mrehrer/public_html/cgi/vfxmain-header.html"; $MessageFooterFile = "/home/digital/mrehrer/public_html/cgi/vfxmain-footer.html"; $UseFrames = ""; $BBSFrame = "_parent"; $WelcomePage = ""; $Admin_Link_Name = ""; $Admin_Link_URL = ""; $SepPostForm = 0; $DefaultType = "By Threads"; $DefaultTime = "Month"; $boardname = "The Visual Effects Discussion Forum"; $printboardname = 0; $DateConfig = "%DY%, %dy% %MO% %YR%, at %hr%:%mn% %am%"; $IndexEntryLines = 2; $InputColumns = 60; $InputRows = 20; $HourOffset = 0; $ArchiveOnly = 0; $AllowHTML = 0; $SingleLineBreaks = 0; $AutoQuote = 1; $AutoQuoteChar = ">"; $AutoHotlink = 1; $DisplayIPs = 1; $DisplayViews = 1; $UseCookies = 1; require "/home/digital/mrehrer/public_html/cgi/cookie.lib"; $Max_Days = 90; $Max_Messages = 200; $ArchiveDir = "/home/digital/mrehrer/arcdmz"; ## (3) Define your visitors' capabilities: $MaxMessageSize = 20; $MaxInputLength = 50; $LockRemoteUser = 0; $AllowUserDeletion = 0; $AllowEmailNotices = 0; $AllowPreview = 1; $AllowURLs = 1; $AllowPics = 1; $SaveLinkInfo = 1; $AllowUserPrefs = 1; $AllowResponses = 1; $NaughtyWords = ""; $CensorPosts = 0; $BannedIPs = ""; ## (4) Define your e-mail notification features: $mailprog = '/usr/sbin/sendmail'; $WEB_SERVER = ""; $SMTP_SERVER = ""; $maillist_address = "mrehrer\@csua.berkeley.edu"; $notification_address = "mrehrer\@csua.berkeley.edu"; $email_list = 0; $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; &ADVsetup; }