BizDir

BizDir is customized for each installation via plain text configuration file.

Each configuration setting consists of;

$VarName = "value"; # [VAL1|VAL2|VAL3] comment

Where:

$VarName is the exact name of that variable. Variable names are case sensitive. If you define a variable twice, the latter statement will be used, this is helpful in modifying settings -- leave the old one in the file, test with newer values, delete the old ones when they start to bother you!)

value is any acceptable value for that given variable. In cases where a pre-determined value is established, your options will be shown listed as a comment as [VAL1|VAL2|VAL3]. See examples in variables below.

# [VAL1|VAL2|VAL3] comment will contain any specific comments about individual configuration variables.

$PROG_name this is any single or double quoted string and is used as the name of the directory, or in cases where BizDir is used to maintain the entire contents of a website, the name of the website should be used.
Widget Manufacturer Directory

$PROG_script_URL this is any single or double quoted string and is used as the URL to call the user interface script (default name is "bizdir.cgi", but name and location of script may be changed to increase security. It is recommended that you use the default installation until you are comfortable with the path and file naming conventions used.
http://www.example.com/path/script.cgi

$PROG_mgr_URL this is any single or double quoted string and is used as the URL to call the manager interface script (default name is "bizmgr.cgi", but name and location of script may be changed to increase security. It is recommended that you use the default installation until you are comfortable with the path and file naming conventions used.
http://www.example.com/path/manager/bizmgr.cgi

$CSS_filespec BizDir is capable of using CSS to style its output, (and also contains settings for HTML colors for installations where CSS is not in use). Follow this link for more information about BizDir related CSS.
/styles/yoursite.css

$SITE_home_url the home page (URL) for your site.
http://www.example.com/

$dateCmd location of valid Perl date command on your server
/bin/date

$mailprog location of sendmail (or other mailer) on your server
/usr/sbin/sendmail

$MailTo email address where you would like to recieve verifications and warnings which BizDir sends to program administrator.
office@lexipixel.com

$MailFrom the email address you wish to have BizDir appear to send automated responseshome from, (must be a valid email account).
webmaster@example.com


Example bizdir.cfg file

# ==========
# bizdir.cfg
# ==========
#
# Configuration file for BIZDIR.CGI and BIZMGR.CGI
#
#
$PROG_name              = 'LEXIPIXEL::LexiLink Directory';
$PROG_script_URL        = 'http://www.lexipixel.com/cgi-bin/bizdir/bizdir.cgi';
$PROG_mgr_URL           = 'http://www.lexipixel.com/cgi-bin/bizdir/mgr/bizmgr.cgi';
$CSS_filespec           = '/styles/lexipixel.css';
$SITE_home_url          = 'http://www.lexipixel.com/';
$dateCmd                = '/bin/date';
$mailprog               = '/usr/sbin/sendmail';
$MailTo                 = 'office@lexipixel.com';
$MailFrom               = 'webmaster@lexipixel.com';
$HTML_title             = 'Lexpixel Links Directory';
$HTML_body_bgcolor      = '#E0E0FF';
$HTML_body_text         = 'Navy';
$HTML_body_link         = 'Navy';
$HTML_body_alink        = 'Red';
$HTML_body_vlink        = 'Navy';
$HTML_font_face         = 'Arial,Verdana,Helvetica';
$HTML_table_width       = '600';
$HTML_table_border      = '0';
$HTML_table_cellspacing = '0';
$HTML_table_cellpadding = '6';
$HTML_table_bordercolor = '#000000';
#
$text_or_buttons        = 'TEXT'; # values: [TEXT/BUTT]
$IMG_path               = 'http://www.lexipixel.com/images/bizdir';
$IMG_masthead           = 'masthead.gif';
$IMG_masthead_h         = '105';
$IMG_masthead_w         = '600';
$IMG_body_background    = 'bg_form1.gif';
$IMG_button_home        = 'but_home.gif';
$IMG_button_srch        = 'but_srch.gif';
$IMG_button_rsch        = 'but_rsch.gif';
$IMG_button_irec        = 'but_irec.gif';
$IMG_button_help        = 'but_help.gif';
$IMG_button_mail        = 'but_mail.gif';
#
$HTML_do_ads            = 'YES';  # values: [YES/NO]
$HTML_ad_column_bg      = '#FFFFE0';
$HTML_ad_bgcolor        = '#F0F0F0';
$HTML_ad_bordercolor    = '#008800';
$HTML_ad_border         = '1';
$HTML_ad_width          = '140';
$HTML_ad_height         = '100';
$HTML_ad_cellspacing    = '0';
$HTML_ad_cellpadding    = '2';
$TEXT_indent            = '     ';
$Def_SearchMode         = 'SOME';
$PROG_Copyright         = 'Copyright ©2003-2006 LEXIPIXEL.COM, all rights reserved.';
$HTML_body_margin_h     = '10';
$HTML_body_margin_w     = '10';
$Mast_Position          = 'TOP';
$HTML_paper_color       = '#FFFFFF';
$IMG_body_bgproperties  = 'FIXED';
$IMG_button_align       = 'CENTER'; 
$HTML_header_color      = '#FFFFFF';
$HTML_footer_color      = '#FFFFFF';
$HTML_button_color      = '#FFFFFF';
$HTML_navbgcolor        = '#E0FFE0';
$HTML_max_ads           = '12';
$list_per_page          = "12";   # default setting for listings per page displayed
$MaxStatic              = "YES";  # maximize use and number of static pages
$docdir                 = "info"; # directory (off root) for static HTML files
$PageAlign              = 'CENTER'; # [LEFT|CENTER|RIGHT]
$CatCols                = '2'; # of columns when displaying category list
#
# Settings for EXTERNAL ADVERTISING
#
$UseExtAds              = "YES";  # external ads, HTML file, for static pages
$ExtAdFile              = "adsense.htm"; # name of HTML file with external ad code
$ExtAdPos               = 'RIGHT';  # [LEFT|RIGHT] position external ads
#
# Settings for CUSTOM 'ADD LISTING' instructions
#
$UseCustAddInstr        = 'YES'; # [YES|NO] use custom "add listing instructions"
$CustAddInstr           = 'cust_add.htm'; # HTML file "add listing instructions"
#
# Settings for PAID MODE
#
$PaidMode               = '0'; # [0|1|2|3] Off, Donate, Auto, Custom
$PaidMode_Rate          = '$60'; #dollar sign amount decimal ok, ie- $22.50
$PaidMode_Period        = 'YEAR'; # [YEAR|MONTH|###] where ### is 60, 90, 180, etc..
$PaidMode_Trial         = '30'; # [YEAR|MONTH|###] where ### is 60, 90, 180, etc..
$PaidMode_Accept_PayPal = 'Y'; # [Y/N]
$PaidMode_Accept_Check  = 'Y'; # [Y/N]
$PaidMode_Accept_MO     = 'Y'; # [Y/N]
$PaidMode_Report        = 'report.htm'; # name of accounting report file
#
# External Search Options (recent searches not recorded)
#
$UseExtSearch           = 'YES';  # external ads, HTML file, for static pages
$ExtSearchPos           = 'BOTH';  # [TOP|BOTTOM|BOTH] position external search bar
$ExtSearchFile          = 'googsrch.htm'; # HTML file with external search code
#

# ============================================
# Last Updated: Mon Sep 11 23:30:19 2006
# ============================================
# EOF: ../bizdir.cfg 
# ============================================



Home | Site Map | Links | Email Us

• eCommerce Websites • Shopping Carts • Online Stores •
• Web Design • Photoshop • Logo Design • Custom Programming •
• SEO • SEM • PPC • Display Ads • Solutions! •

Contact: Randy Harris (774) 279-6731
Framingham, MA (USA)

Copyright ©2003-2008 LEXIPIXEL, all rights reserved.
Sign up for PayPal and start accepting credit card payments instantly.