### *** CONFIGURATION FILE *** ###
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#
#
# Program is copyright by Ranson's Scripts all rights reserved
# (c)2000 Ray and Grace Web Design BDA Ranson's Scripts
# Email - support@rlaj.com
#
# Program Name ------- biz-dir-setup.pl
# Program Version ---- 1.01
# Configuration File This File
#
#
# Copying this program and re-installing at another location
# requires an additional license.
#
# Additional copies of this program are available from
# Ranson's Scripts at a 20% discount
#
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#
### *** IMPORTANT *** ###
### *** If FTP'ing this file, be sure to send in ASCII format *** ###
#
# You must chmod the cgi's to 755 UNIX Only
# For information on chmod see Ranson's FAQ's
#
# 1. Configure the varialbles in the configuration section below
# be careful to not disturb the single (') or double quotes (")
# surounding each variable, or the semicolon (;) at the end of
# each line.
#
# The 'Path' to the files so Perl can find them is essential.
# The PATH is NOT the WEB ADDRESS(http://www.?)
#
# The path on Windows NT systems will look something like:
# $nt_path = 'c:\InetPub\wwwroot\my_folder\htmfiles';
#
# The path on Unix systems will look something like:
# $unix_path = '/home/httpd/html/my_folder/htmfiles';
#
# Run "pathtest.pl" to determine your correct path
# Available from Ranson's Scripts
# http://www.rlaj.com/scripts/sitetest/pathtest.zip
#
# IF ALL ELSE FAILS, ASK YOR SYSTEM ADMINISTRATOR (HELP DESK)
#
#
# Help with the path on your server can be found at:
# http://www.rlaj.com/scripts/faq/install.htm
#
#
#
#
#
# ### *** CONFIGURATION SECTION *** ###
# Enter an Administrator username and password
$username = 'admin';
$password = 'admin';
# For Windows OS we use the perl module "SendMail.pm"
# For Unix, we use the system mail "sendmail"
# Enter the operating system for your server
# Unix = '0'
# NT = '1'
$operating_system = '1';
# This is who the mail goes to when a user signs up
$webmaster = 'ranson@rlaj.com';
# If this is a Windows Server, you WILL need to define the SMTP server
# below
$Define_SMTP_Server = 'smtp.dtccom.net';
# If you are having trouble with the windows mail,
# set the debug below to "1"
$Set_Debug = '0';
# For Unix mail set the path to sendmail below
$mailprog = '/usr/sbin/sendmail';
### *** :) *** ###
### *** Paths for Folders and Files *** ###
# Enter the complete path for the main "bizdirectory" directory
$root_path = 'D:\aweb\bizdirectory';
# Enter the complete path for the "data" directory, listings database dir.
$data_path = 'D:\aweb\cgi-bin\bizdirectory\data';
# Enter the complete path to the category.list
$category_list = 'D:\aweb\cgi-bin\bizdirectory\data\category.list';
# Enter the path to the image directory for banners and images.
$user_images_dir = 'D:\aweb\bizdirectory\userimages';
### *** :) *** ###
# Enter the Web Address of your home page
$home_page = 'http://server/bizdirectory';
# Enter the Web Address for the bizdirectory folder
$biz_directory = 'http://server/bizdirectory';
# Enter the Web Address for the bizdirectory cgi folder (cgi-bin/bizdirectory)
$biz_directory_cgi = 'http://server/cgi-rlaj/bizdirectory';
# NOTE: If you do not follow the default directory structure for the
# program, you will need to edit the links at the bottom of this file.
# Enter the Web Address to the map provider. use the complete address
# to the map software
$map_provider = 'http://maps.yahoo.com/py/maps.py';
### *** :) *** ###
# If you are using the frameset for your opening page, and you do not want to
# use the dropdown list of categories for the directory page, set the variable
# below to '0' 1=Yes 0=No
$use_dd_list = '1';
# Enter the table background color for the dropdown list of categories
$DDTableBg = 'c0c0c0';
# Enter the table border and color for the dropdown list of categories
$DDTableBorder = qq(Border="1" Bordercolor="000000");
# Enter the text for the dropdown list of categories
$DDListText = qq(Select a Category.);
# Enter the font color, size, and face for the category name that appears just
# above the listings
$category_name_font = 'FACE=Arial Size=+2 COLOR=000080';
# Enter the ad seperator - this can be breaks,
or an image
# Used between listings.
$ad_separator = '
';
# Enter the size for the banner image - # width=200 Height=45
$banner_image_size = 'width=200 Height=45';
# Enter the size for the business image - called "image" on the listing.
# this will also control the size of the pop-up window
$cmi_size = 'width=480 Height=300';
# Enter the maxium image size that the system will accept
# in bytes 100k = 100000 # Default is 50K
$maxium_image_size = '50000';
### *** :) *** ###
# The information below on your company is optional. Only what
# information you enter below will appear at the top of the final
# page of the biz-dir-signup.pl and the biz-dir-signup2.pl listing programs.
# If you are allowing mail in payments, you need to enter your
# company information.
# Enter your company name
$company_name = 'Company Name';
# Enter your company address
$company_address = 'Company Address';
# Enter your company city state and zip
$company_city_st_zip = 'City State, Zip';
# Enter your comapny phone
$company_phone = '555-555-5555';
# Enter your company email address
$company_email = 'email@your_server.com';
### *** :) *** ###
# Title for all cgi pages
$title = 'Business Directory';
# Select the options you want to allow your users access to. 1=Yes 0=No
$featured_option = '1';
$banner_option = '1';
$image_option = '1';
$coupon_option = '1';
$map_option = '1';
# Additional Contact Info
# Select the options you want to allow your users access to. 1=Yes 0=No
$aol_im_opt = '1'; # http://www.aol.com/aim/homenew.adp
$yahoo_im_opt = '1';
$icq_opt = '1';
# Enter the cost for the listing
$listing_fee = '29.00';
# OPTION COSTS
# Enter dollar amount (Do Not Enter $)
# OR leave blank (Do Not enter ( 0 )
# OR enter "Free" etc. (Do Not use more than one word)
$featured_option_cost = '10.00';
$banner_option_cost = '10.00';
$image_option_cost = '10.00';
$coupon_option_cost = '10.00';
$map_option_cost = '10.00';
### *** :) *** ###
# To allow users to mail in payments, set the variable below to 1 1=Yes 0=No
$Mail_in_payment = '1';
# To use the credit card form on signup pages, set the var below to '1'
$Use_cc_payment = '1';
# To use the Online Check form on signup pages, set the var below to '1'
$Use_vc_payment = '1';
### *** :) *** ###
# Enter the number of ads to display if the directory program is called directly
# This will display the most recient ads first
$opening_page_items = '10';
# Enter the number of ads to display per page for the search program
$items_per_page = '10';
# Set the number of days before an ad will expire - Number of Days
$expire_time = '365'; # Not implimented yet
# Enter the limit you want to put on the length of the Description
# for the ad. The # of characters.
$desc_limit = '300';
# Enter the limit you want to put on the length of the Title
# for the ad. The # of characters.
$title_limit = '50';
# By default the listing sort order is by date, if you want to
# sort the listings by "Title", set the var below to '1'
$sort_by_title = '1';
### *** :) *** ###
# If you are using the frameset for your opening page, enter any text or images
# you want to appear in the left frame above the list of categories.
$Index_List_top = qq(
Home
);
### *** DONE *** ###
# Only edit below if you are NOT using the default directory structure.
# Enter the web address to the file upload program for banners, maps, etc.
$user_images_url = "$biz_directory/userimages";
# Enter the web address to the coupons folder
$coupons_dir = "$biz_directory/coupons";
# Enter the Web Address where the images will be stored for this program
$image_directory = "$biz_directory/images";
# Enter the Web Address of the main page of the directory
# This can be the biz-dir-index.pl or the biz-directory.pl
# Or you can create your own opening page.
$opening_page = "$biz_directory_cgi/biz-dir-index.pl";
# Enter the Web Address of the directory.pl
$directory_cgi = "$biz_directory_cgi/biz-directory.pl";
# Enter the Web Address of the biz-dir-search.pl
$search_cgi = "$biz_directory_cgi/biz-dir-search.pl";
# Enter the Web Address of the listing.pl
$listing_cgi = "$biz_directory_cgi/biz-dir-listing.pl";
# Enter the Web Address of the user editor program dir-edit.pl
$directory_editor = "$biz_directory_cgi/biz-dir-edit.pl";
# Enter the Web Address of the user editor program dir-edit.pl
$coupon_editor = "$biz_directory_cgi/biz-dir-coupon-edit.pl";
# Enter the web address to the image directory for banners, maps, etc.
$upload_url = "$biz_directory_cgi/biz-dir-uploadlogin.pl";