home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
vrac
/
stats200.zip
/
SBBSTATS.DOC
< prev
next >
Wrap
Text File
|
1994-04-30
|
15KB
|
410 lines
SBBStats v2.0
The complete Statistics Management!
Use with Synchronet BBS
April 30th, 1994
(C) Copyright 1994 Michel Pelletier, All rights reserved.
SBBStats v2.0 - (C)Copyright 1994, Michel Pelletier. All rights reserved.
FIRST OF ALL
------------
I try to make this doc as good as possible, *but* i'am a french Canadian
and I can make some english mistake. If you find some errors or you have any
suggestion and/or comment, just send me a message via DOVE-Net SysOp
Discussion.
WARRANTY/DISCLAIMER
-------------------
Michel Pelletier, makes *NO* warranty, express or implied, with respect
to disks, manuals, or any related item, their quality, performance, or fitness
for any purpose. It is the sole responsibility of the user and/or purchaser of
this product to determine the suitability of the product for any purpose. In no
event will Michel Pelletier be held liable for direct, indirect, consequential
or incidental damages resulting from any defect or omission in the manual,
programs, or other related items and processes.
COPYRIGHT NOTICE
----------------
Copyright 1994 Michel Pelletier. All rights reserved.
The user and/or purchaser of this product is entitled to use this product
for their personal use, on a single electronic Bulletin Board System (BBS)
basis. A single BBS may consist of one or more computers, so long as all
computers are elements of the same BBS, existing at a single location. The
user and/or purchaser is not entitled to sell or transfer reproductions of the
software, manual or related items to other parties whether electronically or
otherwise, nor to rent or lease this product without prior written permission of
Michel Pelletier. Any violation of this copyright is a violation of Federal law
and may carry a fine of up to $50,000, or imprisonment, or both.
REGISTRATION
------------
Registration is only $25 us. or $35 cnd. (see the enclosed REGISTER.FRM).
It entitles you to unlimited use of this program. Registration also elimina-
tes the 10 second delays and (UNREGISTERED) notices. You are entitled to a
thirty day trial period during which you can use this program on your system.
After that, either pay for it or remove it. Your support is vital to the pro-
duction of high quality, low cost programs.
This program is exclusive property of Michel Pelletier, and I reserve the right
to deny registration at any time for any reason.
SBBStats v2.0 - (C)Copyright 1994, Michel Pelletier. All rights reserved.
DISTRIBUTION POLICY
-------------------
You may not distribute this program for commercial purposes, include it
with another package, or charge a fee for its distribution without written
consent and license from the author. Exception: Companies which make a
specific business of distributing shareware (like Public Brand Software or
The Software Labs) may distribute this program as long as my archive is kept
intact and the per disk distribution fee does not exceed $10. BBS System
Operators (SysOps) may distribute this program freely as long as the archive
is kept intact. Individual persons are encouraged to distribute this program
freely, but may only accept payment to cover the cost of a disk and may not
modify the archive.
*** What constitutes an intact archive? ***
The archive must contain the following 16 files:
SBBSTATS.EXE - The main executable
SSETUP.EXE - The Configuration utility
SUPDATE.EXE - The Update utility
SEDIT.EXE - The Edit utility
VIEWASC.EXE - ViewASC v1.0
VIEWASC.DOC - ViewASC Documentation
SBBSTATS.CFG - The program configuration file
SBBSTATS.DOC - This documentation
SBBSTATS.HST - The History of SBBStats
SAMPLE.ASC - A Bulletin's sample
DEMO.BAT - To Display the bulletin's sample
README.1ST - Important information
REGISTER.FRM - The registration form
FILE_ID.DIZ - Description of SBBStats v2.0
DESC.SDI - Description of SBBStats v2.0
WAVERIDE.R - Origin of SBBStats
--------------
BBS SysOps may add an additional "comment file" or advertisement to the
archive in the form of a file. You may change the format from the original
.ZIP as long as the filename remained STATS200.??? and you may add a comment
or advertisement to the archive as provided for by the archiver software, as
long as the above files are intact. You may not decompile or reverse-engineer
this program, nor may you distribute it in modified form. Any such act imme-
diately revokes the right of that user to use SBBStats on his/her system.
CONTACT THE AUTHOR
------------------
If you have any questions, leave e-mail for PiToNe #1 on WaveRider BBS
(418) 871-8079 (28.8 VFC), or e-mail for Michel Pelletier on Vertrauen.
You can also contact me on DOVE-Net or Fidonet. I'd like to hear any com-
ments you may have.
WaveRider BBS (418) 871-8079 V.FC
FidoNet: 1:240/507 (via Bab-O-Manie)
DOVE-Net
SBBStats v2.0 - (C)Copyright 1994, Michel Pelletier. All rights reserved.
DESCRIPTION
-----------
I have always liked TopTen bulletins that showoff your top users. I have
always seen them for other BBS software, but never for Synchronet BBS, there-
fore, SBBStats was born. With this new release, it is the most complete stats
management ever make for any bbs package! What it basically does it generate
over 50 differents TopTen files and over 50 differents messages to notify your
top users! All this is full sysop configurable! The output files have Synchro-
net Ctrl-A color code that are ready to display to your caller. All this with
CRC-32 dup checking function.
Each TopTen/ output can be: This Week TopTen/ are: Uploaded bytes.
Message Last Week Message Uploaded files.
This Month Downloaded bytes.
Last Month Downloaded files.
All Times Messages posted.
Messages read.
E-Mails sended.
Feedback sended.
Times called.
Time online.
*** Some features ***
* Update utility to get you ready to run.
* Support full network/share operation.
* Each Bulletin are SysOp configurable.
- Output filename.
- Bulletin Title.
- Active or Inactive.
* Each Notify message are SysOp configurable.
- Message to send.
- Active or Inactive.
* CRC-32 Dup checking.
- Log files.
- Notify Messages.
- Bulletins.
- Date.
* Output file have Synchronet Ctrl-A color code.
* Don't process deleted users in database.
* Support up to 20 exclude user from the statistics files.
* Require Synchronet v1c and up.
SBBStats v2.0 - (C)Copyright 1994, Michel Pelletier. All rights reserved.
HOW DOES IT WORK
----------------
SBBSTATS read your "yesterday log file" to keep track of everything. You must
call SBBSTATS.EXE in your daily event (every single day after midnight) to
keep your database in sync with your log file. When it run, it will update
the database file (SBBSTATS.DAB) with the log file and after that, it will
generate any bulletin and notify message that are active in the configuration
file (SBBSTATS.CFG). It will generate CRC-32 code in order to not make any
output that as not changed since the last day. If for any raison, your data-
base become out of sync, there is an update utility provided (SUPDATE.EXE) that
will scan your log file in order to create a new database and it will read your
USER.DAT file to compile the AllTimes statistics. The only field that is not
going to be correct is the AllTimes Message Reader. That because the user data-
base (USER.DAT) doesn't keep any record about this field. All the Messages
Reader values are taken from the log file so I can't scan your log since the
begining of your bbs.
CONFIGURATION with SSETUP.EXE
-----------------------------
To change and/or make SBBSTATS.CFG file use SSETUP.EXE. This file is
self explaining but there is some things to remember.
- In all dialog box, there is five check box to activate the bulletin
or the notify message. These check box are labels; This Week, Last Week,
This Month, Last Month, All Times. If there is no X, that option will
not be generated when SBBSTATS.EXE run.
- If you want to enter a CTRl-A in the title or message field, just enter
"@" (without the quote). After you closed the dialog box, every @ will
be convert back into a ctrl-a ascii code.
Example:
@n@cTopTen @hDnLoader @n@cfor this month.
will be convert to:
ncTopTen hDnLoader ncfor this month.
- In the Notify messages field, you must provided a %s somewhere
in the string. This %s will be convert back to the actual amont
for that user when the notify message will be send.
Example:
You're the top Uploader of last week with %s bytes.
will be convert to:
You're the top Uploader of last week with 3,123,302 bytes.
SBBStats v2.0 - (C)Copyright 1994, Michel Pelletier. All rights reserved.
SUPDATE UTILITY
---------------
When you first install SBBStats v2.0, you must create your new database.
The SUPDATE.EXE utility will get you up to date with all the statistics from
your log file and your USER.DAT database. It may take a long time to complete
the operation. (5 minutes for 300 users on a 486DX33). In order to work cor-
rectly, the USER.DAT database must remained open for reading for a long period
so I highly suggest that you put your BBS DOWN before using this utility.
This is only for the first time in order to become up to date. If for any
raison in the futur the SBBSTATS.DAB database become corrupted or your data
become out of sync with your log file, you just have to re-run this utility
again and everything will be fine. The only field that is not going to be
correct is the AllTimes Message Reader. That because the user database
(USER.DAT) doesn't keep any record about this field. All the Messages Reader
values are taken from the log file so I can't scan your log since the begining
of your bbs.
During the beta testing of SBBStats v2.0, in some beta site there was some
bad value found in the user database (USER.DAT). If you found such value in
your AllTimes statistics, you can correct thoses by editing SBBSTATS.DAB data-
base with the SEDIT.EXE utility provided. You can search for that user alias
in SBBSTATS.DAB and/or USER.DAT database in order to corrected the problem,
if any!
SEDIT UTILITY
-------------
To change and/or look at SBBSTATS.DAB database file use SEDIT.EXE. This file
is self explaining and you should never have to use it, but if you find some
bad value in your database you may changed thoses one with this utility. If
you have bad value in your AllTimes statistics after you've ran SUPDATE.EXE,
you can correct thoses by editing SBBSTATS.DAB database.
The 9 buttons from the dialog box are:
Next: Go to the next user in database.
Previous: Go to the previous user in database.
Top: Go to the first user in database.
Last: Go to the last user in database.
Search: Find User Alias in database.
Go To: Go to User Number.
Save: Save changed field to disk. (current user only)
Discard: Restore changed field to previous value. (current user only)
Exit: Close the dialog box.
IMPORTANT: You must clic on the save button in order to save the current
user on disk. Any other buttons discard any change you've made.
SBBStats v2.0 - (C)Copyright 1994, Michel Pelletier. All rights reserved.
COMMAND LINE ARGUMENTS
----------------------
Syntax: SBBSTATS [[-E#][...]] [/NOUPDATE] [/NOOUTPUT]
-E# Exlude user number # from process. (up to 20 -E switch max).
This switch only prevent this user from been include in any
of the output files. The user is still compile for his own
statistics. That way, the statistic database remain
in sync for every user you have.
/NOUPDATE This option is need when you changed your setup file and need
to create new bulletins and/or messages and SBBSTATS has been
already run for this day. (SBBSTATS won't run more than once
a day. It check the log file with crc-32).
/NOOUTPUT This option override the setup file. SBBSTATS need to run every
single day to keep your database file in sync with your log file.
Use this option if you don't want output bulletins and/or messages.
INSTALLATION:
-------------
You will need to create a directory off of your Synchronet XTRN
directory, call the directory SBBSTATS (\SBBS\XTRN\SBBSTATS), and unzip the
archive into this sub-directory.
Run SSETUP.EXE file to configure SBBSTATS.CFG (For more info about
SSETUP
look at the configuration section).
To get your database up, run SUPDATE.EXE. It may take a couple of minutes
to complete. (5 minutes for 300 users on a 486DX33)
Next you can verify your TopTen bulletins, if there is some strange value,
you can correct thoses with the SEDIT.EXE utility provided.
Now you're ready to go! Basic things to remember to do - Edit your main
event batch file to call the program and don't forget, you must be in the
current directory when you call SBBSTATS.EXE!!! You must call
SBBSTATS.EXE
every single day to keep your database in sync with your log file.
Add the new descriptions to your BULLETIN.ASC file or Text Section.
SBBStats v2.0 - (C)Copyright 1994, Michel Pelletier. All rights reserved.
Example of
MAINEVEN.BAT
--------------------------------[cut here]------------------------------------
@echo off
rem ******************
rem * SBBSTATS' part *
rem ******************
CD \SBBS\XTRN\SBBSTATS
SBBSTATS -e1 -e88
COPY ..\BULLETIN\BULLET30.ASC ..\..\TEXT\MENU\LOGON3.ASC
CD %SBBSNODE%
--------------------------------[cut here]------------------------------------
Well, that's about it. Please refer to REGISTER.FRM for registration
information. If you have any questions, leave e-mail for PiToNe #1 on
WaveRider BBS (418) 871-8079 (2400+ bps), or e-mail for Michel Pelletier
on Vertrauen. You can also contact me on DOVE-Net or Fidonet.
I'd like to hear any comments you may have.
Thanks!