home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
bbs_ra
/
rapc101.arj
/
RAPC.DOC
< prev
next >
Wrap
Text File
|
1991-03-03
|
7KB
|
136 lines
RA Personell Checker 1.01c
Copyright 1990 Motor City Software
Written by John Parlin
All rights reserved
Well, I've tried just about everything and have thrown my hands into the air
in dispair. RemoteAccess does not automatically format a user's phone number
when it is entered. This is understandable since not everyone uses a USA
style phone number format. But here in the USA, it's frustrating trying to
get users to enter a phone number using the format that CBV's can understand.
In addition, RA 1.00 offers the new Handle and Birthdate fields. This is
great except if you're upgrading from RA 0.04 to 1.00. RA will ask a new
user for this additional information, if the Sysop specifies but RA doesn't
ask for this information if the user was in the user file prior to the Sysop
upgrading to 1.00. RAPC will obtain this information if the Sysop specifies
it.
Distribution Files
============================================================================
Following is a list of files included in the distribution archive:
RAPC.NEW List of what's new
RAPC.EXE The executable program
RAPC.DOC This documentation
RAPC.CFG Sample configuration file
VPHONE.TXT Text file displayed if voice number is in improper format
DPHONE.TXT Text file displayed if voice number is in improper format
IPHONE.TXT Text file displayed if number is located in PHONENUM.CTL
HANDLE.TXT Text file displayed prior to prompting for a handle
BDAY.TXT Text file displayed prior to prompting for a birthdate
CHANDLE.EXE Utility program that erases all current user handles
============================================================================
Features and Implementation
If the Sysop specifies, RAPC will check a user's phone numbers for the
format ###-###-####. If a phone number is not in this format, it will
prompt the user for it and it will automatically format the number much like
QuickBBS did. If the files VPHONE.TXT or DPHONE.TXT are found, RAPC will
display them to the screen before prompting the user for a valid number.
These are ASCII text files which you can create explaining why the user is
being prompted for phone number input again. VPHONE.TXT is displayed prior
to prompting for a voice phone number and DPHONE.TXT is displayed prior to
prompting for a data phone number.
RAPC will also compare user phone numbers with PHONENUM.CTL. Be CERTAIN
that your PHONENUM.CTL file is in the correct format. Some folks assume that
if they have a line containing "999" in their PHONENUM.CTL file, that
999-#### will not be allowed. This is not true. If you wish to disallow
a given prefix, it should be entered in PHONENUM.CTL as "999-". RAPC looks
for the embedded string and if it finds it, it will re-prompt the user for a
valid phone number.
If RAPC determines that a number is not allowed (through comparison of the
PHONENUM.CTL file), the file IPHONE.TXT (intercepted phone number) will
be displayed, if found. If not found, a short message will be displayed.
If you specify, RAPC will check the user's record to see if they have
selected a handle. If no handle is specified, RAPC will display the text
file HANDLE.TXT (if it exists) and will then prompt the user to select a
handle. Handles are checked against TRASHCAN.CTL for embedded, unwanted
words. Handles are also checked against the user file. The user will not
be allowed to select a handle that someone else is currently using. RAPC
will also not allow the handle SYSOP to be used.
If you specify, RAPC will check the user's record to see if they have
entered their birthdate. If no birthdate information is specified, RAPC
will display the text file BDAY.TXT (if it exists) and will then prompt the
user to enter their birthdate. RAPC will automatically format the birthdate
to proper specs and will also check for date validity.
To use RAPC, create a type 7 auto-execute menu entry on your top menu.
Make it the first line with a semicolon in the display field. Use a flag in
the menu entry so that it will only execute for a new user. Be sure to define
in RACONFIG, new user information, that this flag be turned on for new users.
In the optional data field of the type 7, put RAPC.EXE followed by the
flag which you would like to have turned OFF after execution, and any
other command line parameters as listed below.
Command line examples:
RAPC.EXE A1 /P Run RAPC checking phone numbers only.
Turn the A1 flag OFF after execution.
RAPC.EXE A1 /P /H Run RAPC checking phone numbers and Handle
information. Turn the A1 flag OFF after
execution.
RAPC.EXE A1 /P /H /B Run RAPC checking phone numbers, Handle and
Birthdate information. Turn the A1 flag
OFF after execution.
RAPC.EXE A1 /B Run RAPC checking birthdate information
only. Turn the A1 flag OFF after
execution.
Next, edit the ASCII text file RAPC.CFG. This file should contain only
two lines. These lines should be the path to your RA *.CTL files, and the
path to USERSXI.BBS. For example, if my PHONENUM.CTL and my TRASHCAN.CTL
files are in my \RA directory, and my USERSXI.BBS file was in my
\RA\MSGBASE directory, the RAPC.CFG file would look like this:
\RA\
\RA\MSGBASE\
This example shows that the *.CTL files are in the \RA\ directory and the
USERSXI.BBS file is in the \RA\MSGBASE\ directory.
RAPC needs to find this file. Only the first two lines are read. All other
lines are ignored. The reason I threw this in here is for those few who would like
to use RAPC on a multi-line setup.
That's all there is to it. Just put RAPC.EXE and RAPC.CFG in your RA directory
where EXITINFO.BBS and DORINFO1.DEF are created.
NOTE: This program utilizes RemoteAccess 1.00 data structures. No
conversion programs are needed and none should be used.
CHANDLE.EXE is a separate utility which allows a Sysop to erase all current
user handles from USERSXI.BBS. THIS PROGRAM SHOULD NOT BE RUN while the
BBS is in operation. It also must be in the same directory as USERSXI.BBS.
If you find this program useful (meaning, if you use it) great. Please pass
it around. There is no charge or fee for the use of this program.