home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
bbs
/
newusr14.zip
/
NEWUSERS.DOC
< prev
next >
Wrap
Text File
|
1993-04-15
|
10KB
|
228 lines
---------------------------------------------------------------------------
NEWUSERS v1.4 Copyright (c) 1993 by Bryan J. Nylin
Written and compiled in QuickBASIC v4.5
---------------------------------------------------------------------------
NEWUSERS is a utility designed for TriBBS sysops to create a bulletin
showing the newest users to call the BBS. It is compatible with
TriBBS v3.3 and has been tested with TriBBS v4.0 (beta 2)
This software is SHAREWARE. You are granted permission to distribute
the NEWUSR14 archive freely, provided all the original files are kept
together, and only a nominal fee is charged. The files in this archive
should be:
NEWUSERS.DOC This documentation file.
NEWUSERS.REG Registration/order form
NEWUSERS.EXE Executable program.
NEWUSERS.CFG Configuration file
FILE_ID.DIZ Program description for BBS posting.
The result of McAffee's VALIDATE program on NEWUSERS.EXE is as follows:
File Name: NEWUSERS.EXE
Size: 66,704
Date: 4-15-1992
File Authentication:
Check Method 1 - 0268
Check Method 2 - 08BC
If any of these numbers do not match, you have an invalid archive that
might be infected with a virus. Delete the archive and contact the
person or BBS you received it from.
This SHAREWARE program is distributed with the concept that if you find
it useful and continue to use it beyond a 30-day free trial period, you
must send in the $10 registration fee (discounts available when registering
multiple copies and/or additional utilities at the same time).
To help you evaluate the program, no features have been left out of this
shareware release. See the file NEWUSERS.REG for the order form.
INSTALLATION INSTRUCTIONS:
-------------------------------------------------------------------------
Step 1. IF YOU HAVE NEVER INSTALLED THIS BEFORE:
Extract the files from the distribution archive into
your BBS utilities directory. (I use \BBS\UTIL)
IF YOU ARE UPGRADING FROM A PREVIOUS VERSION:
Do not extract the .CFG file since this will overwrite
your configuration. If you are upgrading from v1.0 to
v1.4, you will have to run "NEWUSERS UPGRADE" to upgrade
the .DAT file to v1.4 format. You will also need to
add the line "dir=" to your .CFG file (see below).
IT IS NOT NECESSARY TO "UPGRADE" FROM v1.1 to v1.2 or 1.3!
Step 2. Make your utilities directory the default (CD \BBS\UTIL)
Step 3. Edit NEWUSERS.CFG to match your system configuration.
Each line is documented in a section below.
Step 4. Run NEWUSERS with the /R parameter to reset the datafile.
This will create NEWUSERS.DAT in the utilities directory.
Step 5. Edit your TriBBS BETWEEN.BAT file to include NEWUSERS.
Example:
---------->File starts Here<-------------
cd\bbs\util
NEWUSERS
cd\bbs\tribbs
---------->File ends Here<-----------------
Step 6. You are done! The next time a caller logs off and
BETWEEN.BAT is executed, the bulletin is updated.
CONFIGURATION FILE
-------------------------------------------------------------------------
The sample file NEWUSERS.CFG included in this archive looks like this:
---------->File starts Here<-------------
bbs=Jet City Connection
log=C:\BBS\TRIBBS\MWORK\CALLERS.LOG
dir=C:\BBS\TRIBBS
max=15
ansi=C:\BBS\TRIBBS\DISPLAY\BULLET7.ANS
ascii=C:\BBS\TRIBBS\DISPLAY\BULLET7.BBS
---------->File ends Here<-----------------
Each line starts with a TAG and an equal sign. These must be typed
correctly in order for the NEWUSERS program to recognize them. It is
not case sensitive, however. Each tag is explained as follows:
bbs= Name of the BBS you want to appear at top of bulletin.
log= File name of caller log to read. NEWUSERS looks only at
the last caller in the log file and creates the bulletin
only if the caller was new.
dir= Main TriBBS directory. Uses this to find MWORK\USERS.DAT
max= Maximum number of lines to print in the bulletin. A
'15' here would indicate to only print the last 15
new users.
ansi= File name and path of the ANSI bulletin to create.
ascii= File name and path of the ASCII bulletin to create.
COMMAND LINE PARAMETERS:
--------------------------------------------------------------------------
Usage: NEWUSERS [/f] [/r] [/?] [/HELP]
Where: /f Forces bulletin output even if last caller was not new.
/r Resets datafile
Explanation:
/F Normally, the program only generates the bulletin when
the last caller was a new user. This switch will force
the output regardless of that fact.
/R This switch will cause NEWUSERS.DAT to be cleared out
before looking at the log file.
NEWUSERS.DAT Layout
--------------------------------------------------------------------------
This is a straight forward ASCII file. It was programmed this way for
easy access by the sysop in case it is necessary to edit out a name from
the new user list. Generally speaking, you can delete records from this
file without causing any problems, any empty space will be taken up the
next time NEWUSERS runs. You must BE CAREFUL TO DELETE WHOLE RECORDS.
One record consists of:
Line 1 John Doe User Name
Line 2 01/08/92 Date of first call
Line 3 2400 Baud rate
Line 4 Kent, WA City calling from
Empty records are stored as "Empty, 00/00/00, 0, Nowhere" and are easily
identifiable. If you add or delete from this file, make sure you work
with a GROUP OF 4 LINES ONLY. If you don't, odd results will happen and
you will probably have to run NEWUSERS /R to reset the datafile.
DESCRIPTION OF OPERATION
--------------------------------------------------------------------------
If NEWUSERS detects that the last caller was a new user, it will open
the NEWUSERS.DAT file and add the name, date, and baud rate for this call.
The program looks in USERS.DAT to find where they are calling from.
If the number of records in NEWUSERS.DAT exceeds that specified by the
"max=" tag in NEWUSERS.CFG, the oldest record will be scrolled off the
list.
VERSION HISTORY
--------------------------------------------------------------------------
v1.4 Released 4-15-93.
- Fixed bug relating to searching the DOS PATH.
v1.3 Released 3-27-93
- Fixed bug where program would hang system if it couldn't get
access to the log file.
- Fixed bug where it wouldn't create a .DAT file (/R) the first time.
v1.2 Released 2-15-93
- Fixed bug caused by long logons where program could not find last
caller's log entry.
- Added support for searching DOS PATH for .CFG, .KEY, and .DAT files
- Enhanced file locking for multinode systems. Requires DOS 3.0 or
higher and SHARE.EXE to be loaded.
- Tested on TriBBS v4.0 beta #2
v1.1 Released 1-29-93
- Added "city calling from" column to output.
- Added registration code support
- Upgrading from v1.0 requires first-time "NEWUSERS UPGRADE" to
update .DAT file, and addition to .CFG file of "dir=" line.
v1.0 Initial release 1-9-93
DISCLAIMER
--------------------------------------------------------------------------
This software and accompanying materials are distributed "AS IS" and
without warranty, expressed or implied. No implied warranty exists
for merchantability and/or fitness for any particular purpose. Under
no circumstances shall anyone involved in the creation, production, or
sale of this product be liable for direct, indirect, consequential, or
special damages arising out of any use of this product.
Use of this software beyond the initial 30 day evaluation period is
strictly prohibited.
Once this software is registered, any unauthorized distribution of your
personalized registration code and/or the registration .KEY file will
invalidate your registration key for all releases of this product, and
no product support will be given.
TECHNICAL SUPPORT
--------------------------------------------------------------------------
Support questions can be left, and latest version downloaded
from the author's BBS near Seattle, WA:
Jet City Connection BBS, (206)839-8843, v.32bis, Fido 1:343/140
Messages can also be addressed to Bryan Nylin at:
FidoNet 1:343/140
CompuServe 71441,1420
---------------------------------------------------------------------------
This SHAREWARE program is distributed with the concept that if you find
it useful and continue to use it beyond a 30-day free trial period, you
must send in the $10 registration fee (discounts available when registering
multiple copies and/or additional utilities at the same time).
To help you evaluate the program, no features have been left out of this
shareware release. See the file NEWUSERS.REG for the order form.
---------------------------------------------------------------------------