home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
sunrise
/
adopt30.zip
/
ADOPT.DOC
< prev
next >
Wrap
Text File
|
1993-06-19
|
13KB
|
306 lines
ADOPT - A - DOOR
v3.0
by
Al Lawrence
Sunrise-80 BBS
(404) 256-9525
OVERVIEW
________
ADOPT 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 ADOPT:
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 (15 lines, 62 characters
per line).
OPTION 2 will display the names of the callers (max of 8) 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 ADOPT files
2) Unzip ADOPTxx.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:
** Location of system files (see below)
SUNRISE-80 BBS Your BBS Name
Al Sysop's First Name
Lawrence Sysop's Last Name
|-----------------------------------------------------------------------------|
| READ! 1 CommPort \ These 2 lines are required |
| READ! 1 Node # / ONLY for GTUSER.BBS |
|-----------------------------------------------------------------------------|
00000000 Registration Number
1 1=Initial Message Display
2=Display Callers Names That Contributed
# 201 ASCII Character Used TO Form Message Border
# NONE File Name Containing Initial Display
# NONE 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
! 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\CHAIN.TXT <- For WWIV 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,
the Adopt-A-Door program will NOT run!
4) Add ADOPT to the batch file that runs the Door, after whose completion
you want the ADOPT-A-DOOR message to be displayed. Using Yahtzee as
the example of the Door we want to run ADOPT after:
ECHO off
cd\PCB\DOORS\YAHTZEE Location of Yahtzee files
YAHTZEE YAHTZEE.CNF EXE filename and CNF filename
CD\PCB\DOORS\ADOPT Location of ADOPT Files
ADOPT ADOPTYAH.CFG EXE and UNIQUE .CNF 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 standard
IRQ'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
________________
All Sunrise Doors are 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: H:\PCB1\DOOR.SYS
NODE2: H:\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.
ADOPT-A-DOOR CONCEPT
_____________________
Having been a Sysop for a number of years, I have had my share of problems
and frustrations getting financial support for my board's upkeep. A fellow
Sysop left a message on my board, not long ago, about a concept that was
being used by several boards around the country.
The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
would be the same as sending in a donation, only this way it is earmarked
for registering a particular door. In a way, the user feels he/she is
"getting something in return". As a Door author I have decided to build
this concept into each of my Door programs. The concept replaces the
usual message "tell the Sysop to register this Door" we find in most
doors.
At the same time I have developed this stand-alone program that will carry
this concept one step forward so as to be able to use it with any of your
door programs.
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 subsequent insertion of the registration number into
your configuation file, allows for the changing of certain default values
in the configuration file.
To register your copy of ADOPT, 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 my BBS. You will then be able to call SUNRISE-80 and pick
up your registration number or you may include a self-addressed stamped
envelope and I will send registration back by return mail.
MISC
____
The latest version of ADOPT and other fine SUNRISE DOOR programs, are
always available for download from SUNRISE-80 BBS (404-256-9525 HST 19.2),
on first call!
Remember, should you have any problems, questions or suggestions, be sure
to drop me a message on either of the aforementioned BBS or via the DOORS
conference on PCRELAY (RIME). NODE=Sunrise