Preparing the Settings.pl file for subsequent installation
The Settings.pl file contains important data for your YaBB forum. The settings in this file must be correct for the forum to function correctly. So, before uploading anything to your CGI account, check if this file is correct before doing so.
The file is located at C:\YaBB\cgi-bin\yabb\Settings.pl. Fetch a text editor and open it. You will see many options there. However, only some of them needs to be configured at this point. The others can be configured later by logging into your forum as 'admin' through the admin configuration center. I will only cover those essential options here.
$mbname = "My Test YaBB Forum";
Specifies the title to set for your forum. You can set it to anything you like.
$boardurl = "http://cgi-bin.spaceports.com/~yourid/cgi-bin/yabb";
At this point you will need to consider where to install your YaBB source files. In this article it is assumed to be in a "yabb" directory inside the "cgi-bin" directory, and "cgi-bin" is inside your "public_html" directory. You must upload all your files into the public_html directory or its subdirectories in your cgi-bin spaceports account. Substitute "yourid" with your account ID.
$emailpassword = 0;
Because sendmail is disabled on Spaceports cgi-bin server, you cannot have YaBB send password to your forum members upon registration. You need to set this to 0, otherwise your new members will never get the password! In this way, upon registration your new members specify their own password instead.
$emailwelcome = 0;
Similarly, this setting shouldn't be configured to 1 as no mail could be sent by the forum.
$facesdir = "../../YaBBImages/avatars";
This depends on where you place the YaBBImages directory and where you place your forum source files. If you follow this article, "YaBBImages" is placed in the "public_html" directory and this path is correct. This path is a relative path with reference to the directory where YaBB.pl resides (that is, the $boardurl).
$facesurl = "http://cgi-bin.spaceports.com/~yourid/YaBBImages/avatars";
This refers to the same location as $facesdir, except you now put it in absolute URL address.
$imagesdir = "http://cgi-bin.spaceports.com/~yourid/YaBBImages";
The URL to the "YaBBImages" directory.
$ubbcjspath = "http://cgi-bin.spaceports.com/~yourid/ubbc.js";
The URL to the ubbc.js file, a javascript file that allows forum members to click on buttons to insert YaBBC code into their posts. In this article, the file is uploaded to the "public_html" directory.
$faderpath = "http://cgi-bin.spaceports.com/~yourid/fader.js";
The URL to the fader.js file, a javascript file that is necessary if you want to use the news fader of YaBB. In this article, the file is uploaded to the "public_html" directory.
$helpfile = "http://cgi-bin.spaceports.com/~yourid/YaBBHelp/index.html";
The URL to the official help documentation when a forum visitor click on the "Help" icon. In this article, all the files are placed in "YaBBHelp" directory in the "public_html" directory.
Click here for a sample Settings.pl file that I use. After you have checked the settings carefully, save and close the file, and close the text editor. Now you are ready for uploading.
|