home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
EVENTS
/
CGSS311.ZIP
/
CGSS311.DOC
< prev
next >
Wrap
Text File
|
1995-02-12
|
18KB
|
406 lines
Caller Greeting & System Statistics v3.10
Copyright (C) David Stidham 1992-1994
All Rights Reserved
OVERVIEW:
Caller Greeting & System Statistics for WWIV bulletin board
systems (hereafter referred to as CGSS) is a means of providing a
colorful greeting to the caller and allowing him/her the option of
viewing some of the more interesting statistics for the system.
CGSS is a configurable logon event that offers the following
areas for the user to view:
o Random Greetings o System Bulletins
o Today's System Statistics
o Past Thirty Days Statistics
o Top Ten Users in Eight Categories
o Their Account Statistics
o Users Birthday Watch o Show Network Statistics
(if applicable)
You may elect to offer one, some, or none of the above for user
display. If you opt for none, the program will merely greet the user
with the time and day of their call and their particular caller status.
Each feature is covered in detail later.
REQUIREMENTS:
CGSS v3.xx requires WWIV v4.22 (or later) and NET32 (or later)
to operate. CGSS requires approximately 92Kb for storage and 130Kb
RAM. CGSS creates two support files; CGSSBULL.DAT (6400 bytes)
and CGSSLAST.DAT (6 bytes).
INSTALLATION:
As a Logon event:
1) Quit your BBS to DOS.
2) Have a copy of CGSS310.EXE, CGSS.CFG, and CGSSGRT.TXT
in your BBS directory.
3) Execute the WWIV INIT.EXE program.
a) Enter area 6.
b) Supply "CGSS310.EXE %1" for the Logon Event.
c) Exit the INIT.EXE program.
4) Bring the BBS back up again.
As a Door/Chain:
1) Have a copy of CGSS310.EXE, CGSS.CFG, and CGSSGRT.TXT
in your BBS directory.
2) Bring the BBS up.
3) Enter the CHAINEDIT menu.
a) Create a new entry.
b) Enter the following data:
A. Description : Caller Greeting & System Statistics v3.10
B. Filename : CGSS310.EXE %1
C. SL : *
D. AR : *
E. ANSI : Optional
F. DOS Interrupt: Used
G. 300 Baud : Allowed
H. Shrink : No
I. Disable pause: *
J. Local Only : No
(* = your choice)
4) Exit the CHAINEDIT menu.
CONFIGURATION:
Following is a sample configuration. The file CGSS.CFG is
identical to this example. You will need to edit the file to reflect
your system configuration and operational preferences.
--- Sample Configuration file ---
John Q. Sysop
123456789
1
1
1
1
1
1
1
1
1
1
1
C:\BBS\NEWS.TXT
---------------------------------------
Line 1 : Your name as it appears on registration form.
Line 2 : Your registration code as it appeared on registration card.
Case Sensitive!
Line 3 : Use random greeting strings (True = 1 / False = 0)
Line 4 : Show users system bulletins (True = 1 / False = 0)
Line 5 : Show users the statistics for today (True = 1 / False = 0)
Line 6 : Show users past 30 days stats (True = 1 / False = 0)
Line 7 : Show users top 10 user categories (True = 1 / False = 0)
Line 8 : Show users their account statistics (True = 1 / False = 0)
Line 9 : Show users the user birthday watch (True = 1 / False = 0)
Line 10 : Show users network statistics, if applicable (True = 1 / False = 0)
Line 11 : Allow #1 user (sysop) into top 10 lists (True = 1 / False = 0)
Line 12 : Allow all 255 SL holders into top 10 lists (True = 1 / False = 0)
Line 13 : Use filedate for "New Bulletin" determination
Line 14 : Full path/file name for system news.
--- End Sample Configuration file ---
You are allowed 40 characters for your Sysop Name, I doubt that
many people will exceed this length (not to mention that WWIV doesn't
support a length greater than 40 characters). The path/file name
information for the System News is limited to a length of 80
characters. Again, I don't think many people will exceed this limit.
The configuration file contains the supplemental lines
following the path/file name for the system news (line 13) merely as an
aid for you. These additional lines are not required and may safely be
deleted should you decide you do not want to retain them in the file.
DATA TABULATION:
There are three areas that require data to be read and
tabulated. System Statistics for Today, Top Ten Users listing,
and Users Birthday Watch. If a user enters either area, there will be
a small delay while data is read from the files and tabulated. Once
this has been done, it isn't required again. So, if the user were to
enter both areas, that user would only be delayed once, for the first
area selected. This one time collection and tabulation of data
provides the program with the fastest overall operational time, and
still provide the user with the most current data in these three areas.
RANDOM GREETINGS:
The file CGSSGRT.TXT is an ASCII text file that contains the
greeting strings for the random greetings portion of the program. If
you elect to disable this feature, you will not need this file.
However, if you enable this feature, the program will search for this
file in the main BBS directory. If this file is not found, then CGSS
will print the same default greeting each time it is executed.
The format for CGSSGRT.TXT is simple. The first line is a
numeric value that corresponds to the number of strings within the
file. The file enclosed with the package has 15 strings, so line 1 is
"15". The file is straight ASCII text and can be maintained with your
favorite full screen editor. The "stock" file contains WWIV color
codes. You may alter as you see fit to make the greetings more
appropriate for your particular system theme/tone.
SYSTEM BULLETINS:
The system bulletins area supports up to forty bulletin
entries. Each entry can be configured in the following ways:
o Minimum SL
o Maximum SL
o AR
If a user matches the defined parameters, then they will be
able to view the bulletin. A bulletin may be toggled as a required
read, and ALL users that match the parameters for viewing will be
required to read the bulletin. Each bulletin is an ASCII text file
that you create with your favorite full screen editor. It is
recommended that each line be no longer than 79 characters. Other than
this recommendation, there are no special format requirements for the
bulletin files themselves. They may include WWIV color codes to add
some flair.
If you enabled the "Use filedate" option in the configuration,
then the program will check the time/datestamp for the bulletin, and if
this is greater than the last time the current user was online, the
bulletin will be toggled as "new", regardless of the bulletin time you
may have entered in the bulletin maintenance area.
SYSTEM NEWS FILE:
The System News file is an ASCII text file that has one small
format requirement; each entry is preceded by the "date" for the entry
and starts on a new line. The date MUST be eight characters long and
be preceded by a tilde (~ - ASCII code 126). The following is a
sample of two entries:
--- Begin Sample ---
~01/01/93
Greetings! This is a sample entry in the NEWS.TXT file. This
would be for January 1, 1993.
~12/31/92
This, too, is a sample entry in the NEWS.TXT file. While the
date is chronologically earlier than the first entry, it doesn't have
to follow. It could be the first entry and the more recent news entry
could be following.
--- End Sample ---
You can use any full screen editor to create and maintain the
file. WWIV color and centering codes are supported. The order for the
entries is up to you. I tend to place newer entries at the beginning
of the file, as the sample illustrates, however, you can place the
newer entries at the end of the file. The sequence is up to you,
although, with the newer entries toward the beginning of the file, the
search for new news is performed a little faster. Also, whichever
pattern you decide upon should be maintained throughout the file to
avoid confusing the program and having news entries omitted from the
scan.
Please be aware that the filedate of the news file is checked
and compared with the current users last online time. If the filedate
is greater than the users last online time, the user will be notified
of new system news for reading.
STATISTICS FOR TODAY:
This feature will display the statistics for the system for
that particular day. The user is presented with the following
statistical information:
o Version of WWIV in operation
o Registration number of WWIV (if registered)
o Activity for the day (hours/minutes and percent)
o Number of Messages
o Number of EMail Sent
o Number of Feedbacks
o Number of Uploads
o Number of Calls
o Last date BBS ran
o Last date GFiles updated
o Total calls to date
o Total Male users
o Total Female users
o Average age of user
o Total Users
o Configured maximum user slots
o External event trigger time (if configured for one)
o Network traffic window (if configured for one)
o Sysop Availability window (if configured for one)
PAST THIRTY DAYS STATISTICS:
This is merely a colorized version of the internal WWIV ZLog
information, with the exception that it will only display thirty days
worth of information.
TOP TEN USERS:
This covers eight different categories:
o Top Ten Posters o Top Ten E-Mailers
o Top Ten Callers o Top Ten Time Online
o Top Ten Uploaders (Files) o Top Ten Uploaders (KB)
o Top Ten Downloaders (Files) o Top Ten Downloaders (KB)
USER ACCOUNT STATISTICS:
This will display nearly ALL the user account variable values.
If you don't require your users to supply you with their address or
their data phone line, then these lines will remain blank, however, the
field identifier will still be displayed. Moreover, there are a few
fields that were introduced in WWIV v4.22 that aren't utilized until
v4.23, so these areas won't change and they are numerical in nature.
NETWORK STATISTICS:
This is a more detailed version of the internal WWIV Pending
command. If your system isn't involved in a WWIVnet type network, then
this area isn't available regardless of your enabling the feature in
the configuration.
FULL SCREEN EDITOR:
Each text file described above can be maintained with WWIVEdit,
and if you wish to use WWIV color and centering codes, WWIVEdit is a
logical choice. However, any full screen editor can be used, and you
can manually embed the WWIV color and centering codes yourself. The
centering code is ASCII code 2 (the solid smiling face), and each of
the WWIV color codes is preceded by ASCII code 3 (the solid heart) and
then the numeric value of the color code itself (0-7 for WWIV v4.22 or
0-9 for WWIV v4.23+).
One note on use of WWIVEdit, however, and that is for lengthy
files (such as the system news file), WWIVEdit appears to place an
arbitrary number of blank lines in the file after each load, and reload
of the file. These blank lines appear following a line that is
"maximum" characters in length (79) and has WWIV color codes in use.
This is in v2.5 of WWIVEdit, and may be corrected with later versions
of this editor. You can clean these blank lines out manually with
another full screen editor, but, you can not do so with WWIVEdit.
Strange, I agree, but it does happen.
DISCLAIMER:
David Stidham makes no warranty of any kind, either expressed
or implied, including, but not limited to, implied warranties of
marchantability and fitness for a particular purpose, with respect to
this software and accompanying documentation.
IN NO EVENT SHALL DAVID STIDHAM BE LIABLE FOR ANY DAMAGES
(INCLUDING DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION,
LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING OUT OF
THE USE OF OR INABILITY TO USE THIS PROGRAM, EVEN IF DAVID STIDHAM HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
LICENSE:
Caller Greeting & System Statistics is Copyright (C) 1992-1994
by David Stidham.
Caller Greeting & System Statistics is being released as
SHAREWARE. What this means is that you may "Try before you buy". You
are granted a period of thirty (30) days to evaluate the program.
After this evaluation period expires, you must either register the
program, or cease to use it completely. Please see the enclosed
REGISTER.FRM for registration cost information.
Distribution of Caller Greeting & System Statistics is allowed
provided there is absolutely no modification performed on the program
and/or documentation and that no fee is charged for the program.
REGISTRATION BENEFITS:
By registering this program you will gain the satisfaction of
doing your part in making the Shareware principle work. You will also
gain product support, should you encounter any problems with the
program operation. Lastly, you will be encouraging me to continue
development of this, and other, programs.
ACKNOWLEDGMENTS:
WWIV Copyright (C) by Wayne Bell.
WWIVEdit Copyright (C) by Adam Caldwell.
Turbo Pascal and Borland C++ Copyright (C) by Borland,
International.
SUPPORT:
David Stidham may be contacted for support of CGSS by one of
four means:
(1) US Postal service
David Stidham c/o TC Software & Simulations
958 Rockaway Ct. Suite 203 Tampa, FL
33610-1468
(2) calling the BBS Ko Ro Ba
(813)237-0152
PCPursuit [FLTAM]
300-19200 v.32/v.32bis/v.42/v.42bis/HST
(3) sending network email over either WWIVNet or IceNET
WWIVNet: 1@2720
IceNET : 1@8360
(4) sending email over Internet
tarl_cabot@delphi.com
tarl@io.com
HISTORY:
v3.11 Corrected logic in required read check of bulletins.
Altered initial greeting -- no more 50 caller limit
on display of caller number information.
v3.10 Corrected small error in time displays that would
take the noon hour (12:00-12:59) and subtract 12
from the hour (resulting display; 0:00-0:59).
Corrected oversight in word-wrapping algorhythm that
left the last character typed on the previous line.
Corrected Top Ten listing to eliminate reiteration
that the sysop wasn't being listed if both "allow
sysop" and "allow 255" configurations were toggled
to false.
Corrected network status display to truncate portions
of the displayed information to keep all data on a
single line and not force an intervening blank line
to be displayed.
Included highest and lowest user age display
in System Statistics area.
Incorporated User Birthday Watch display area.
Updated documentation to correct typos and include
additional means of contacting me.
Removed pauses from the "thank you screen"
advertisement.
Moved "thank you" screen to a separate command option,
[A]bout CGSS.
Added filedate option and checking for "New Bulletin"
determination.
Corrected plurality of "days" in time displays so that
it would display singular when only 1 day was needed.
Neatened network statistics display area where node and
network software version is concerned (alignment).
Added color to the CGSSGRT.TXT file.
v3.00 Written to use a configuration file.
Incorporated system news and bulletins.
Name shortened from WWIVCGSS to CGSS.
Released as Shareware as opposed to Freeware.
v2.01 Corrected problem where new WWIV systems to
networking were unable to view network
statistics. Released 19 FEB 93.
v2.00 Written in Borland C++ and released 17 FEB 93.
v1.00d Never publicly released.
v1.00a-c Written in Turbo Pascal and released during the
last quarter of 1992. Worked with WWIV v4.21.