home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / BBSDOOR2.ARJ / TRAF105.ZIP / TRAFFIC.DOC < prev    next >
Encoding:
Text File  |  1994-12-19  |  16.4 KB  |  409 lines

  1.  
  2.     Version 1.05, December 19, 1994
  3.  
  4.  
  5.           TTTTT  RRRR     A    FFFFF  FFFFF  II   CCC
  6.             T    R   R   A A   F      F      II  C   C
  7.             T    RRRR   A   A  FFF    FFF    II  C
  8.             T    R   R  AAAAA  F      F      II  C   C
  9.             T    R   R  A   A  F      F      II   CCC
  10.  
  11.  
  12.       RICH VERAA'S LITTLE UNIVERSAL MESSAGEBASE TRAFFIC REPORT
  13.  
  14.                          A BIRDSOFT PROGRAM
  15.  
  16.    (C) Copyright 1991, 1994 by Richard P. Veraa. All rights reserved.
  17.        Veraa-Birdsoft Computer Products. North Miami, Florida, USA
  18.  
  19.         TRAFFIC.EXE is a simple messagebase traffic volume report
  20.    generator for use with bulletin board systems using either the
  21.    Fido/Opus, Hudson, JAM, or Squish styles of messagebase.  TRAFFIC
  22.    generates an individual report for each conference area listed in
  23.    an AREAS.BBS-type file (or a restricted list) that you prepare.
  24.    It tabulates each poster to that echo during the report period in
  25.    order of activity, with the number of messages posted, the average
  26.    size of messages by that author, and his/her net address of origin,
  27.    as well as a total number of messages and posters for each area.
  28.    Version 1.05 will now handle up to 1024 posters in up to 1024 conference
  29.    areas.
  30.  
  31.    TRAFFIC.EXE also generates a summary report listing number of
  32.    messages in all chosen areas.
  33.  
  34.    FILES IN THIS ARCHIVE:
  35.  
  36.    README.RPT   - Last minute details.
  37.    TRAFFIC.DOC  - This document.
  38.    AREANAME.RPT - Sample area report produced by TRAFFIC.
  39.    SUMMARY.RPT  - Sample summary report produced by TRAFFIC.
  40.    TRAFFIC.EXE  - TRAFFIC executable file.
  41.    TRSETUP.EXE  - TRAFFIC Configuration program.
  42.    TRPLACE.EXE  - Utility to reset the TRAFFIC lastread pointers.
  43.    REGISTER.RPT - Registration information.
  44.  
  45.  
  46.    GUARANTEE
  47.  
  48.    There is no guarantee, express or implied.  This program works well on
  49.    my system and the systems on which it's been tested... Your mileage,
  50.    as the saying goes, may vary.
  51.  
  52.    USER DEVELOPED SOFTWARE
  53.  
  54.    This program is Shareware.  It is NOT free, and it is NOT public
  55.    domain.  You may try it out for the period of one month.  If you decide
  56.    to continue to use it after that month, you should register your
  57.    copy.  I'm not a professional programmer; I just program for fun.  All
  58.    of what you see is done in my spare time, and the bills are paid out
  59.    of my own pocket.  TRAFFIC will not stop working after one month, or
  60.    do anything nasty, nor does the registered version have more features
  61.    than the non-registered version (except for nicely identifying you
  62.    on the reports it generates).  However, if you don't register
  63.    TRAFFIC, I will not be able to continue to work on it and implement
  64.    new user requested features.  So support shareware!
  65.  
  66.    REGISTRATION
  67.  
  68.    For information on how to register, see the file REGISTER.RPT in
  69.    the TRAFFIC distribution archive.  When I've received your registration
  70.    form and registration fee, I will send you a registration key via
  71.    netmail or snailmail (post).  TRAFFIC will list your name and BBS
  72.    name on the reports it generates to indicate that you're using a
  73.    registered version of TRAFFIC.
  74.  
  75.    For your convenience, you may register TRAFFIC by mail using cash, (not
  76.    recommended, but if you are outside of North America, the difficulties
  77.    involved in other ways of payment may make the risk acceptable), check
  78.    or money order.
  79.  
  80.    You may also pay for TRAFFIC with your VISA or MASTERCARD credit card,
  81.    either by snailmail, by netmail, or online.  Just fill out and send the
  82.    form in REGISTER.TRF.
  83.  
  84.    To order online by Credit Card, call Sox! BBS at 1-305-821-3317 or
  85.    1-305-821-4311 then type _C_ from the Main Menu!
  86.  
  87.  
  88.  
  89.                              INTRODUCTION
  90.  
  91.    TRAFFIC.EXE works by reading the area tag names from an
  92.    AREAS.BBS-type file called AREAS.TRF that you create, see below.  It
  93.    may include any or all of the areas on your message base.  It then
  94.    searches the messagebase for messages in that area, and looks up each
  95.    poster's net address in the header or origin lines of his/her
  96.    messages.  Finally, it generates detailed reports for each area, and
  97.    a summary report of all listed areas.
  98.  
  99.  
  100.  
  101.  
  102.                              INSTRUCTIONS
  103.  
  104.    Installation
  105.  
  106.    1. Message Base
  107.  
  108.    You must be using a BBS program that utilizes either an Opus (*.MSG),
  109.    Hudson, Squish, or JAM messagebase, or any combination thereof
  110.    and you must have or create an AREAS.BBS (or AREAS.TRF -- see below)
  111.    control file.
  112.  
  113.    2. AREAS.TRF
  114.  
  115.    You will need a file called AREAS.TRF listing the message areas on
  116.    your BBS.  It is similar to AREAS.BBS, and the easiest way to prepare
  117.    AREAS.TRF is to copy AREAS.BBS and deleted unneeded information.  If
  118.    your setup does not use AREAS.BBS, you will need a text file listing
  119.    the areas you wish TRAFFIC to scan.  See Appendix A of this document
  120.    for instructions on constructing one.
  121.  
  122.         Some tossing software (like GEcho) will create an AREAS file for
  123.         you (see 'Export Files' in GSetup if you use GEcho).  If you do
  124.         not want TRAFFIC to count all the areas you carry, -- just make a
  125.         copy of AREAS.BBS named AREAS.TRF.  Delete the lines from AREAS.TRF
  126.         that you do not with reported on.  Delete also the addresses of
  127.         any links that may have been listed in AREAS.BBS (see Appendix A).
  128.  
  129.  
  130.         CAUTION:  AREAS.BBS, as created by many programs lists the
  131.         addresses of links for the areas it lists.  TRAFFIC, on the other
  132.         hand, uses this field for AKA addresses of your system if you use
  133.         different addresses in different areas. (see example in Appendix A)
  134.  
  135.         TRAFFIC will prepare reports for all areas listed in AREAS.TRF.  If
  136.         you do not want TRAFFIC to count all the areas you carry, -- just
  137.         make a copy of AREAS.BBS named AREAS.TRF.  Delete the lines from
  138.         AREAS.TRF that you do not wish reported.  Delete also the addresses
  139.         of any links that may have been listed in AREAS.BBS (see Appendix A).
  140.  
  141.    Most users do not want TRAFFIC to report on ALL the message areas on
  142.    their systems, so when you prepare AREAS.TRF, use an editor to delete
  143.    the lines for the areas you do NOT want reports on.  Note that
  144.    TRAFFIC will start reading at the THIRD line of this file.
  145.  
  146.    3. TRAFFIC.EXE, TRPLACE.EXE and TRSETUP.EXE
  147.  
  148.    Place the above executable files in a convenient directory.  This may
  149.    be the same directory as your mailer or your BBS, depending on how
  150.    your system is set up.  If (as I sincerely hope) you are registered,
  151.    place your key, TRAFFIC.KEY in this directory as well.
  152.  
  153.    4. Configure TRAFFIC by running TRSETUP.
  154.  
  155.    Run TRSETUP from the command line and simply fill in the blanks on
  156.    the screen.  You may use the up and down arrows to change fields until
  157.    all blanks are correct.  Then press <F-10> to accept the displayed
  158.    information.
  159.  
  160.         Enter your name as it appears on your registration form.  If you
  161.         are registered, make this exactly as shown on your key certificate
  162.         -- it is case-sensitive.
  163.  
  164.         Enter your BBS or point name -- or your own name.  This is the name
  165.         that will appear on the reports TRAFFIC generates (if you are a
  166.         registered user).  If you use AKAs other than your principle
  167.         address, list the AKA address after the tagname in AREAS.RPT (see
  168.         Appendix A).  If this field is left blank in AREAS.TRF, TRAFFIC
  169.         will use the default address from TRAFFIC.CFG (Created by
  170.         TRSETUP.EXE) if you are a registered user.
  171.  
  172.         Enter your node or point address (enclosed in parentheses).
  173.  
  174.         Enter the full path designations for the files TRAFFIC needs to
  175.         find:
  176.                      The Hudson messagebase (if used).
  177.                      Data files created by TRAFFIC
  178.                      AREAS.TRF
  179.  
  180.         Enter the path designations for the directories where you wish
  181.         TRAFFIC to place the reports and data files it creates.  These may
  182.         be any valid directory on your system.
  183.  
  184.         Include a trailing backslash "\" after all path names.
  185.  
  186.    5. Operation
  187.  
  188.    Running TRAFFIC.EXE.
  189.  
  190.    Every time TRAFFIC is run, it retrieves its own data and scans the
  191.    message base for new messages in all areas in AREAS.TRF.
  192.  
  193.    TRAFFIC will also generate a summary file called SUMMARY.RPT, listing
  194.    all the areas listed in AREAS.TRF, with the total number of messages
  195.    posted in each, and perform report and reset functions designated by
  196.    command line switches.
  197.  
  198.    6. Command line switches
  199.  
  200.    TRAFFIC may be followed by any or all of the command
  201.    switches (plus none or "/h" for a help screen):
  202.  
  203.      /s   SCAN only
  204.  
  205.    TRAFFIC will scan the messagebase, update its data files and lastread
  206.    pointers, but will not produce a report  (unless /r is also switched).
  207.  
  208.      /r   REPORT on individual areas
  209.  
  210.    TRAFFIC will scan the messagebase and generate a separate text file for
  211.    each area, named <tagname>.RPT (tagname truncated at eight characters),
  212.    listing the posters to that area in order of the number of messages
  213.    posted, along with the number of messages posted, and the writer's net
  214.    address, if TRAFFIC can find it on an origin line in the poster's
  215.    message.
  216.  
  217.      /n   NEW data.
  218.  
  219.    Ordinarily TRAFFIC continues to accumulate data so that (assuming
  220.    it's run daily) each days' reports show the current day's mail added
  221.    to the previous day's report.  When the /n switch is used, TRAFFIC
  222.    will write its reports and then discard its old data to start a
  223.    fresh reporting period.  It will also reset its beginning date for
  224.    future report periods.  I run the /n option every two weeks.
  225.    Note: /n AND /z (below) will force TRAFFIC to scan (and report if
  226.    requested) _all_ areas listed in AREAS.TRF, and then reset the pointers
  227.    to begin cumulative reporting from the close of this run.
  228.  
  229.      /z   ZERO place pointers.
  230.  
  231.    This will reset message number pointers prior to scanning.  If you only
  232.    use TRAFFIC periodically, use this switch to scan all messages on your
  233.    system, resetting any old pointers that may remain from previous scans.
  234.  
  235.    6. TRPLACE.EXE
  236.  
  237.    Every time TRAFFIC runs, it creates a four-byte file called
  238.    areaname.NUM for each message area, which keeps track of the
  239.    last message number accounted for by TRAFFIC.  However, if your
  240.    messagebase cleanup utilities renumber the messagebase, this number will
  241.    change.  Accordingly, the little utility TRPLACE.EXE is used to reset
  242.    areaname.NUM to the same number the last message is changed to.  To
  243.    make sure no messages go unreported, it's a good idea to run TRAFFIC
  244.    immediately before cleanup and TRPLACE immediately after, as
  245.    described in the next section.
  246.  
  247.    7. Running TRAFFIC from a batch file.
  248.  
  249.    The best way to run TRAFFIC is to call it every night from the batch
  250.    file that runs during your cleanup event.  Call TRAFFIC just before
  251.    cleanup and TRPLACE just after, so that your batch file should look
  252.    something like the following:
  253.  
  254.    CLEAN.BAT
  255.  
  256.               d:\DIRECTORY\TRAFFIC.EXE /r
  257.               d:\DIRECTORY\mbutil purge  (or SQPACK, or whatever)
  258.               d:\DIRECTORY\mbutil pack
  259.               d:\DIRECTORY\mbutil link
  260.               d:\DIRECTORY\TRPLACE.EXE
  261.  
  262.    You'll note that I use the /r (report) option every night.. that way
  263.    I've always got a current report of each echo area in a directory I
  264.    call \FD\STAT\.  Every two weeks, I run TRAFFIC /n /r from the
  265.    command line to make final "official" reports for that period, that
  266.    I can archive for my records.
  267.  
  268.    8.  Occasional use of TRAFFIC
  269.  
  270.    TRAFFIC is designed for daily use to monitor areas over time.  It can
  271.    also be used, however, to make occasional reports of all the messages
  272.    on your messagebase at any time.  In this case, you will want to
  273.    delete old data files created on previous occasions.  Simply delete
  274.    all *.DAT and *.NUM files in TRAFFIC's data file directory.
  275.  
  276.    9. That's all there is to it!
  277.  
  278.    You may register this program for US$ 15.00 and I will send you a key
  279.    that will work on subsequent regular versions.  Registered users of
  280.    our previous traffic programs, MTRAFFIC or HTRAFFIC may register
  281.    TRAFFIC for US$ 5.00.
  282.  
  283.  
  284.                             ACKNOWLEDGEMENTS
  285.  
  286.    Contact me for further information, help, bug reports, comments, or
  287.    Christmas greetings at:
  288.  
  289.            FidoNet 1:135/907
  290.            (You may route crashmail to me at 1:135/71 or 1:135/711 or route
  291.            via 1:135/0).
  292.            Internet rveraa@907.sunshine.com
  293.                     z002798b@bcfreenet.seflin.lib.fl.us
  294.                     rveraa@newssun.med.miami.edu
  295.  
  296.            or by SnailMail at:
  297.  
  298.            Richard Veraa
  299.            Room 211
  300.            Villa Maria Nursing Center
  301.            1050 N.E. 125 Street
  302.            North Miami, FL 33161
  303.  
  304.     Thanks to Ronnie Toth for alpha testing this program, and for
  305.     not giving up on it through the search for some puzzling insects.
  306.  
  307.  
  308.      JAM(mbp) - Copyright 1993 Joaquim Homrighausen, Andrew Milner,
  309.                                Mats Birch, Mats Wallin.
  310.                                ALL RIGHTS RESERVED.
  311.  
  312.      Squish -  Copyright 1990-1994 by SCI Communications.
  313.                    All rights reserved.
  314.                Maximus and Squish are trademarks of SCI Communications.
  315.  
  316.       TRAFFIC was programmed using MkMsgSrc v 1.02
  317.       MKMsgJam - Copyright 1993 by Mark May - MK Software
  318.  
  319.                 Mythical Kingom Tech BBS (513)237-7737 HST/v32
  320.                 FidoNet: 1:110/290
  321.                 Rime: ->MYTHKING
  322.                 maym@dmapub.dma.org
  323.  
  324.                                        Thanks a lot,
  325.  
  326.                                           Cheers,
  327.                                              Rich Veraa
  328.  
  329.    RELATED PROGRAMS:
  330.  
  331.       HTRAFFIC.EXE -- a program similar to TRAFFIC designed for use
  332.       with the popular Hudson messagebase used with RemoteAccess, QuickBBS and
  333.       other boards.  Archived as HTRAFnnn.ARJ.
  334.  
  335.       MTRAFFIC.EXE -- a program similar to TRAFFIC designed for use
  336.       with the Opus-style (*.MSG) messagebase.  Archived as
  337.       MTRAFnnn.ARJ.
  338.  
  339.          The above programs are rendered superfluous by TRAFFIC.EXE.
  340.          Registered users of either may register TRAFFIC.EXE for US$5.00
  341.  
  342.  
  343.                              APPENDIX A.
  344.  
  345.    AREAS.TRF
  346.  
  347.    AREAS.TRF is a plain ASCII text file listing the message areas of
  348.    your BBS that you wish TRAFFIC to process, in the following format:
  349.  
  350.    Line 1: Your BBS Name
  351.  
  352.    Line 2: A semicolon (;)
  353.  
  354.    Remaining lines: The path to message area preceded by:
  355.        '!' for JAM areas;
  356.        '$" for SQUISH areas.
  357.        The area number for HUDSON areas.
  358.        The area pathname for OPUS/*.MSG areas.
  359.  
  360.    If you do not wish to generate traffic reports for all the echoes
  361.    carried by your system, list only the message areas you wish
  362.    TRAFFIC to scan, as described in the installation instructions.
  363.  
  364.    If you use a net address other than your main address for some areas,
  365.    list the AKA after the tagname, and that address will be placed on
  366.    reports for that area (registered users only).
  367.  
  368.    SAMPLE AREAS.TRF FILE
  369.  
  370. Birdsoft Online, North Miami, Florida, USA ! Rich Veraa
  371. ;
  372. ;  Hudson messagebase areas are designated by the AreaNumber on the left
  373. 035  BARDROOM
  374. 077  MUSE
  375. 031  PARROTS
  376. 045  SYSOP_JUNGLE
  377. 043  WRITING
  378. ;
  379. ;  If you use an aKA address in some areas, list the AKA after the
  380. ;  tagname (Registered users only)
  381. 029  UNUSUAL_PETS       50:305/907
  382. ;
  383. ; Opus/Fido *.MSG areas have the pathname with no prefix on the left
  384. D:\FD\PKDROP\                  PKEY_DROP
  385. D:\FD\Z1E\                     Z1_ELECTION
  386. ;
  387. ;  Note optional AKA in following Opus/Fido listing
  388. D:\FD\FLOO                     FL_OOZ              129:131/907
  389. ;
  390. ; JAM message areas are indicated by an exclamation point "!" on the
  391. ; left
  392. !E:\JAM\A1\EXOTIC_B            EXOTIC_BIRDS
  393. !E:\JAM\A1\ALTMED              ALTMED
  394. !E:\JAM\A1\AVICULTU            AVICULTURE
  395. ;
  396. ;  Note optional AKA in following JAM listing:
  397. !E:\JAM\A1\FL_LIVIN            FL_LIVING          129:131/907
  398. ;
  399. ;  Indicate Squish areas with an "$"
  400. $D:\SQUISH\MSG\NETSYSOP      NETSYSOP
  401. $D:\SQUISH\MSG\PASCAL_L      PASCAL_LESSONS
  402. ;  Note optional AKA in following Squish listing:
  403. $D:\SQUISH\MSG\NET_CHAT      OTHERNET_CHAT         50:305/907
  404. ;
  405.  
  406.  
  407.                                -END-
  408.  
  409.