#!/usr/bin/perl ############################################ ## ## ## WebBBS ## ## by Darryl Burgdorf ## ## ## ## Configuration File ## ## ## ############################################ ## (1) Define the location of your files: require "webbbs.pl"; require "webbbs_text.pl"; print "Location: http://www.opencascade.com/phorum/\n\n"; exit; $dir = "../../home/datas/webbbs"; $cgiurl = "http://www.opencascade.org/cgi-bin/forum/config.cgi"; ## (2) Tailor the appearance and functionality of your BBS: $UseLocking = 1; $bodyspec = "BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\""; $messagespec = "face=\"Arial,Geneva,Helvetica\" size=\"2\""; $bigfont = "face=\"Arial,Geneva,Helvetica\" size=\"3\""; $fontspec = "face=\"Arial,Geneva,Helvetica\" size=\"2\""; # $NewCode = "NEW: "; $NewCode = " "; $HeadLinesFile = "../../home/datas/webbbs/headline.txt"; $HeaderFile = "../../home/datas/header.txt"; $FooterFile = "../../home/datas/footers.txt"; $MessageHeaderFile = "../../home/datas/header.txt"; $MessageFooterFile = "../../home/datas/footers.txt"; $UseFrames = ""; $BBSFrame = "_parent"; $WelcomePage = ""; $Admin_Link_Name = ""; $Admin_Link_URL = ""; $SepPostForm = 1; $DefaultType = ""; $DefaultTime = "Month"; $boardname = "Open CASCADE User Forum"; $printboardname = 1; $DateConfig = ""; $IndexEntryLines = 2; $InputColumns = 50; $InputRows = 15; $HourOffset = 0; $ArchiveOnly = 0; $AllowHTML = 1; $SingleLineBreaks = 0; $AutoQuote = 1; $AutoQuoteChar = ">"; $AutoHotlink = 0; $DisplayIPs = 0; $DisplayViews = 0; $UseCookies = 1; require "../lib/cookie.lib"; $Max_Days = 0; $Max_Messages = 0; $ArchiveDir = ""; ## (3) Define your visitors' capabilities: $MaxMessageSize = 50; $MaxInputLength = 50; $LockRemoteUser = 0; $AllowUserDeletion = 0; $AllowEmailNotices = 0; $AllowPreview = 1; $AllowURLs = 0; $AllowPics = 0; $SaveLinkInfo = 0; $AllowUserPrefs = 1; $AllowResponses = 1; $NaughtyWords = ""; $CensorPosts = 0; $BannedIPs = ""; ## (4) Define your e-mail notification features: $mailprog = '/usr/lib/sendmail'; $WEB_SERVER = ""; $SMTP_SERVER = ""; $maillist_address = "webmaster\@opencascade.com"; $notification_address = "webmaster\@opencascade.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; }