Required Settings
The following settings are required for a properly working YaBB board. You should
have already set these up before you read this page.
| Variable | Description |
| require "english.lng" | Change to the language pack you wish to use |
| $mbname | The name of your YaBB forum |
| $boardurl | URL of your board's folder (without trailing '/') - where YaBB.pl is located |
| $cookieusername | Name of the username cookie (no change necessary) |
| $cookiepassword | Name of the password cookie (no change necessary) |
| $mailprog | Location of your sendmail program (generally "/usr/sbin/sendmail" or similar) |
| $webmaster_email | Your e-mail address (must have the slash in it as shown "webmaster\@mysite.com") |
| $boarddir | Absolute path to the board's folder (usually can be left as '.') |
| $datadir | Directory with messages (can be left at default "Messages" unless you wish to move elsewhere) |
| $memberdir | Directory with member files (can be left at default "Members" unless you wish to move elsewhere) |
| $boardsdir | Directory with board data files (can be left at default "Boards" unless you wish to move elsewhere) |
| $sourcedir | Directory with YaBB source files (can be left at default "Sources" unless you wish to move elsewhere) |
| $vardir | Directory with variable files (can be left at default "Variables" unless you wish to move elsewhere) |
| $facesurl | URL to your avatars folder (without trailing '/') |
| $facesdir | Absolute Path to your avatars directory |
| $imagesdir | URL to your images folder (without trailing '/') |
| $helpfile | URL to your help index file (http://www.mysite.com/yabbhelp/index.html) |
The Remaining Settings
The following lists the remainder of the settings. These are settings that help
customize your board and turn options on/off. Please be careful with some of
these. Things marked with (Default Setting Only) means that the values are a
"safe-mode" setting. This means that they may not take effect as the settings
are just default in case something goes wrong.
| Variable | Description |
| $maintenance | Set to 1 to enable Maintenance mode |
| $Cookie_Length | (Default Setting Only) Cookies will expire after XX minutes of person logging in (they will be logged out after) |
| $smtp_server | Your SMTP server. Set only if "$mailtype=1" (below) |
| $mailtype | 0 - sendmail, 1 - SMTP This is the type of mail program your server uses. |
| $timeout | Minimum time between 2 postings from the same IP |
| $color{'titlebg'} | Background color of the 'title-bar' |
| $color{'titletext'} | Color of text in the 'title-bar' (above each 'window') |
| $color{'windowbg'} | Background color for messages/forms etc. |
| $color{'windowbg2'} | Background color for messages/forms etc. |
| $color{'catbg'} | Background color for category (at Board Index) |
| $color{'bordercolor'} | Table Border color for some tables |
| $timeselected | (Default Setting Only - for old members and guests) Select your preferred output format for Time and Date |
| $timeoffset | Time Offset (so if your server is EST, this would be set to -1 for CST) |
| $TopAmmount | No. of top posters to display on the top members list |
| $MembersPerPage | No. of members to display per page of Members List - All |
| $maxdisplay | Maximum of topics to display |
| $maxmessagedisplay | Maximum of messages to display |
| $insert_original | Set to 1 if you want the original message included when replying... |
| $enable_ubbc | Set to 1 if you want to enable UBBC (Uniform Bulletin Board Code) |
| $max_log_days_old | If an entry in the user's log is older than ... days remove it. Set to 0 if you want it disabled |
| $MaxMessLen | Maximum Allowed Characters in a Posts (required <= 5000) |
| $enable_news | Set to 1 to turn news on, or 0 to set news off |
| $enable_guestposting | Set to 0 if you want to allow guestposting; 1 is allow. |
| $enable_notification | Allow e-mail notification |
| $showlatestmember | Set to 1 to display "Welcome Newest Member" on the Board Index |
| $showmodify | Set to 1 to display "Last modified: Realname - Date" under each message |
| $showuserpic | Set to 1 to display each member's picture in the message view (by the ICQ.. etc.) |
| $showusertext | Set to 1 to display each member's personal text in the message view (by the ICQ.. etc.) |
| $showgenderimage | Set to 1 to display each member's gender in the message view (by the ICQ.. etc.) |
| $shownewsfader | 1 to allow
or 0 to disallow NewsFader javascript on the Board Index. If 0, you'll have
no news at all unless you put |
| $color{'fadertext'} | Color of text in the NewsFader ("The Latest News" color) |
| $color{'fadertext2'} | Color of text in the NewsFader (news color) |
| $faderpath = "text"; | Web path to your 'fader.js' (Javascript fader). Example: $faderpath="http://www.mysite.com/fader.js"; (Replace "mysite.com" with your domain") |
| $userpic_width | Set pixel size to which the self-selected userpics are resized, 0 disables this limit |
| $userpic_height | # Set pixel size to which the self-selected userpics are resized, 0 disables this limit |
| $userpic_limits = "text"; | # Text to describe the requirements/limits for user-supplied pictures. Example: $userpic_limits="Please note that your image has to be gif or jpg and that it will be resized!"; |
| $LOCK_EX | You can probably keep this as they are set now |
| $LOCK_UN | You can probably keep this as they are set now |
| $use_flock | Set to 0
if your server doesn't support file locking Set to 1 for *ix Systems and Set to 2 for Win-Servers |