home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
BUYADOOR.ZIP
/
BUYADOOR.DOC
< prev
next >
Wrap
Text File
|
1993-08-23
|
13KB
|
331 lines
Buy-A-Door
v0.05ß
by
Mike Liddekee
Support BBS
Prime Base BBS
(804) 587-4289
(804) 587-4382
OVERVIEW
--------
Buy-A-Door is a stand-alone program that can be executed after
every Door program completes and before it returns to your BBS.
It will display a message that encourages your callers to donate
to the BBS by adopting a given door or group of doors and having
his/her name displayed every time the particular door is
executed. There are 2 options available with Buy-A-Door:
OPTION 1, UNREGISTERED version, will display a hard-coded
(non-changeable) message describing the Adopt-A-Door concept
to your callers. The REGISTERED version will allow you to
create your own message (10 lines, 62 characters per line).
OPTION 2 will display the names of the callers (max of 6) that
have contributed to the registration of that particular door.
This file is an ASCII file you create with the names of the
callers (Max 30 char/name). The name of the file is your
choice, but the name must match with the name in the
configuration file.
NOTE: Runtime errors will be logged to a file called DFRAME.ERR
which is created in the directory you run the door from.
INSTALLATION
------------
Installation is fairly easy and straight-forward. The following
steps and examples should have you up and running in a very short
period of time. It is assumed that you are familiar with setting
up DOORS on your system. To this end, only examples of the
configuration file and Door batch file are described.
1) Create a directory to hold all Buy-A-Door files
2) Unzip BUYADOOR.ZIP into the the above directory
3) Create a configuration file, with a name of your choice,
or modify the supplied ADOPT.CFG file. A description
follows:
* C:\PCB\DOOR.SYS Location of system files
(see below)
YOUR BBS NAME Your BBS Name
Mike Sysop's First Name
Liddekee Sysop's Last Name
|---------------------------------------------------------------|
| READ! 1 CommPort \ These 2 lines are required |
| READ! 1 Node # / ONLY for GTUSER.BBS |
|---------------------------------------------------------------|
$ 1 1=Initial Message Display
2=Display Callers Names That
Contributed
$ ADOPT.DOR File Name Containing Initial
Display
$ THANK.YOU File Name Containing
Contributing Callers
$ 30 Number of SECONDS To Keep
Msg On Screen
! $ 0 Security level that will
bypass the DOOR
! $ 0 Security level that will
bypass the DOOR
! $ 0 Security level that will
bypass the DOOR
! $ 0 Security level that will
bypass the DOOR
! $ 0 Security level that will
bypass the DOOR
* = Replace with ONE of the following:
C:\PCB\PCBOARD.SYS <- For PCBoard systems using
PCBOARD.SYS only
C:\BBS\CALLINFO.BBS <- For Wildcat! systems (prior to
v3.0)
C:\BBS\DOOR.SYS <- For ANY systems that support
DOOR.SYS
C:\BBS\DORINFOx.DEF <- For ANY systems that support
DORINFOx.DEF
C:\BBS\SFDOORS.DAT <- For Spitfire systems.
c:\bbs\TRIBBS.SYS <- For TriBBS systems.
C:\BBS\GTUSER.BBS <- For GT Power (if using this
option you must put the
ComPort # on line 5 and the
Node # on line 6 of the
configuration file)
$ = Requires registration to change to a different value
! = If callers Security level matches any one of these
levels, Buy-A-Door will bypass the registeratio screens
4) Add Buy-A-Door to the batch file that runs the Door,
after whose completion you want the Buy-A-Door message
to be displayed. An example of the Door we want to run
Buy-A-Door after:
ECHO OFF
CD\PCB\DOORS\PROGRAM Location of Door Files
DOOR DOOR.CFG EXE filename and CFG
filename
CD\PCB\DOORS\ADOPTME Location of ADOPT Files
ADOPTME! ADOPTME!.CFG EXE and CFG Filename
created in #3 above.
CD\PCB
BOARD
5) When running in more than one node, be sure to supply a
different configuration name for each node (your choice
of name).
6) If running with multi-port boards add /FD to the line
containing the CFG name as follows:
ADOPT Adopt.CFG /FD
NON-STANDARD COM SUPPORT
________________________
Support for COM 1-4 on the standard IRQ's - COM1/COM3 =
IRQ4 and COM2/COM4 = IRQ3. If you wish to use a
non-standard IRQ, add the IRQ number after the
configuration filename. Let's assume your Door is called
FOOBAR and you want to use COM1 and IRQ5. The command line
passed to your Door would be:
FOOBAR FOOBAR.CFG /5
The /5 tells FOOBAR to use IRQ5 rather than the standard
IRQ4 that is normally used with COM1. No /x parameter is
needed for the standardIRQ's.
As an alternative, you may use an environmental variable on
the command line. To use the variable (following the
example above), place a SET IRQ=5 in the batch file used to
bring up your BBS (you would need a different IRQ number
for each node). The command line would now look like this:
FOOBAR FOOBAR.CFG /%IRQ%
This, in combination with the use of the environmental
variables described in the MULTI-NODE SETUP section will
allow you to use one batch file and one config file to run
this door on all nodes.
MULTI-NODE SETUP
________________
Buy-A-Door Multi-Node capable. Each node must have the
ability to access a configuration file which will have its
own system file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc)
defined on the first line. There are 2 ways to accomplish
this:
(1) Create a separate configuration file for each node. The
only difference between each file would be the location
of the system file for that particular node. For
example, on my system there are 2 nodes and the first
line of the config files would look like this:
NODE1: C:\PCB1\DOOR.SYS
NODE2: C:\PCB2\DOOR.SYS
Thus, if you have a 4 node BBS, you will need 4
configuration files.
(2) Use ONE configuration file for ALL nodes. This Door
will recognize the following PCBoard environmental
variables:
PCBDIR (Directory containing the System file)
PCBDRIVE (Drive containing the System file)
Thus, the first line of the SINGLE configuration file,
for this Door would look like this:
%PCBDRIVE%%PCBDIR%\DOOR.SYS
NOTE: This option, as described, assumes that you are
running PCBoard 14.5a software. The environmental variables
are automatically created by the software for each node.
HOWEVER, if you are running other BBS software you should
be able to set the variables EXACTLY as described below,
for EACH node (more than likely in each batch file you use
to bring up EACH node):
PCBDRIVE=C:
^^^^^^^^^
PCBDIR=\NODE2
^^^^^^^^
Info with a carat (^) under it, MUST be typed as is. The
rest depends on your naming conventions. This, in
combination with the use of the optional environmental
variable described in the NON-STANDARD COM SUPPORT section,
will allow you to use one batch file and one config file to
run this door on all nodes.
LEGALITIES
__________
THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED
"AS IS" WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY,
INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO
EVENT SHALL ANYONE INVOLVED WITH THE CREATION AND
PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE
THEREOF OR BREACH OF ANY WARRANTY.
DISTRIBUTION
____________
You may make this file available for downloading from your BBS
or you may upload it to any BBS of your choice, provided that
you do not make any changes to the contents of the archive
(ZIP file). The archive and its individual contents may not be
used by any service that charges any money whatsoever, without
the written permission of the author.
REGISTRATION
____________
I am not a subscriber to the "Crippleware" concept, and this
program reflects that philosophy. This is a full-featured
program, whose functionality is not hampered in any way,
whether you register it or not. Registration and the receipt
of your KEY file into the Buy-A-Door directory allows for the
changing of certain default values in the configuration file.
To register your copy of Buy-A-Door, please fill out the
registration form (REGISTER.FRM) and mail it along with the
registraiton fee to the name and address on the form. MUST be
payable in US funds!!!!
Be sure to use the proper upper/lower case when filling in
your name and BBS name, as they MUST match the way you entered
them in the configuration file. ^^^^
Based upon information supplied on the registration form, I
will pre-register you on the BBS. You will then be able to
call Prime Base and pick up your KEY file or you may include a
Self-Addressed stamped disk mailer and and I will send
you the KEY file back by return mail along with the latest
version of Buy-A-Door.
MISC
____
The latest version of Buy-A-Door and other fine door programs,
are always available for download from Prime Base BBS at
(804) 256-587-4289 or (804) 587-4382 . Join conference #1 to
download the latest releases. You may also download doors by
William Rountree, sysop of Prime Base BBS
Remember, should you have any problems, questions or
suggestions, be sure to drop me a message on the
aforementioned BBS or call me voice at (501) 268-1431 anyday!
ACKNOWLEDGEMENTS
----------------
I would like to thank the following for their help with my
programming:
William Rountree - Without his help this and other
programs would not be possible.
Thanks William!!
Cam DeBuck - For his help with some of the coding.
Thanks Cam!!
Mike Wilson - For his help with some of the coding
also. Thanks Mike!!
And to the late Ted Freeman for an outstanding Door Library.