home *** CD-ROM | disk | FTP | other *** search
/ New Horizons Shareware Collection / HORIZONS1.BIN / TOP.DOC < prev    next >
Text File  |  1995-02-19  |  6KB  |  124 lines

  1.  
  2.         ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  3.          ──────────═════════φ  PWA Week/Month Top PPE  φ══════════─────────
  4.         ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5.  
  6.                                  (C) BlackCat
  7.                          Version 1.0
  8.  
  9.         ────────────────────────────────────────────────────────────────────
  10.  
  11.     This PPE generates bulletins of your top weekly/monthly downloaders 
  12.     (file and bytes) and uploaders (files and bytes). The bulletins are 
  13.     extremely configurable through replacement codes 
  14.         
  15.     The default setup only creates the top (ul/dl) bytes bulletins,
  16.     you can also create the top (ul/dl) files bulletins if desired, see
  17.     TOP.CFG for further information.
  18.  
  19.         ────────────────────────────────────────────────────────────────────
  20.              ──────────═════════φ  Installation φ══════════────────────
  21.         ────────────────────────────────────────────────────────────────────
  22.  
  23.         ■ Put '!<PPEPATH>LOGON.PPE' in your logon script or somewhere else
  24.       in the user logon process. 
  25.         ■ Replace PCBTEXT prompt 192 with '!<PPEPATH>TOP.PPE', 
  26.       To replace the prompt do the following:
  27.  
  28.            1 - Run 'MKPCBTXT <TEXTFILE>', where <TEXTFILE> is your pcboard
  29.                textfile.
  30.            2 - Press F3 and enter 192.
  31.            3 - Replace the prompt by '!<PPEPATH>\TOP.PPE' where <PPEPATH>
  32.                is the directory where the TOP ppe resides.
  33.            
  34.            NOTE: If you already have something else running at prompt 192
  35.            (eg. my lastcallers ppe) put a display file in here and put
  36.            the calls to the PPEs in there. Eg. if you're using display
  37.            file e:\pcb\gen\192text replace the prompt with 
  38.            '%e:\pcb\gen\192text' and put the call to the ppe in 192text.
  39.            The display file 192text might look something like this:
  40.  
  41.                 --------------------------------------
  42.                 !f:\ppl\logon\lco.ppe
  43.                 !f:\ppl\top\192off.ppe
  44.                 !f:\ppl\top\top.ppe
  45.                 --------------------------------------
  46.  
  47.                 The 192off.ppe is included in the distribution. It simply
  48.         disconnects the user so that he won't see TOP.PPE doing it's
  49.         thing. Don't put it in front of LCO.PPE (or any other 
  50.         lastcallers for that matter) in case they detect carrier lost.
  51.  
  52.         ────────────────────────────────────────────────────────────────────
  53.              ──────────═════════φ  Configuration φ══════════────────────
  54.         ────────────────────────────────────────────────────────────────────
  55.         
  56.     The PPE uses the header/footer files in the GRAPH subdirectory
  57.     together with the lines defined in TOP.CFG to create the bulletins.
  58.  
  59.     The bulletins are created in the same directory as TOP.PPE. They 
  60.     are:
  61.            W*BLT  - The weekly bulletins.
  62.            M*BLT  - The monthly bulletins
  63.  
  64.     You can put these bulletins in just about any display  file you want. 
  65.     Just display them by using the '%' prefix (eg. %c:\ppl\top\fupblt).
  66.     You can also add them as normal pcboard bulletins of course.
  67.  
  68.     TOP.CFG is used to configure the bulletins. Each bulletin has a line
  69.     in TOP.CFG associated with it which can contain replacement codes. 
  70.     These codes are replaced with the correct information by TOP.PPE and
  71.     written out to the bulletin.
  72.  
  73.     The replacement codes allowed are:
  74.            
  75.         %NR%    - The users top number (1-number of users defined in line
  76.                   one of TOP.CFG)
  77.         %NAME%  - The users name.
  78.         %LOC%   - The users location.
  79.         %FIRST% - The sorted on field (bytes or files).
  80.                   With a bytes bulletin this will be replaced by the nr.
  81.                   of (dl/ul) bytes in this session.
  82.               With a files bulletin thie will be replaced by the nr.
  83.               of (dl/ul) files in this session.       
  84.         %SECOND%- With a bytes bulletin this will be replaced by the nr.
  85.                   of (dl/ul) files in this session.
  86.               With a files bulletin thie will be replaced by the nr.
  87.               of (dl/ul) bytes in this session.       
  88.  
  89.  
  90.            The following totals macros can be used in the *ftr files (subdir
  91.            GRAPH):
  92.  
  93.                %TFIRST% - Totals for the sorted on field (bytes or files).
  94.                       With a bytes bulletin this will be replaced by the 
  95.               total nr. of (dl/ul) bytes in this week/month.
  96.                   With a files bulletin thie will be replaced by the 
  97.               total nr. of (dl/ul) files in this week/month.       
  98.            %TSECOND%- Totals for the second field (bytes or files).
  99.                       With a bytes bulletin this will be replaced by the 
  100.               total nr. of (dl/ul) files in this week/month.
  101.                   With a files bulletin thie will be replaced by the 
  102.               total nr. of (dl/ul) bytes in this week/month.       
  103.  
  104.         The exclusion file TOP.EXC can be used to exclude certain users from
  105.     being added to the top bulletins. For speed reasons this file is not
  106.     read line by line and you should therefore enclose each name added 
  107.     with quotes (ie. when adding user BLACKCAT add a line as "BLACKCAT") 
  108.     to prevent names from being detected as substrings of other names (this
  109.     is assuming users don't use quotes in their names).
  110.  
  111.         Currently the maximum size for the exclusion file is about 
  112.     2048 (BigStr) bytes. This should be enough for about 100 users. 
  113.     If you really need to be able to add more users to the exclusion list
  114.     get in contact with me and I will adjust the code.
  115.  
  116.         ────────────────────────────────────────────────────────────────────
  117.                 ──────────═════════φ  Author φ══════════────────────
  118.         ────────────────────────────────────────────────────────────────────
  119.  
  120.     If you find bugs, have any suggestions or additions you want email 
  121.     me on internet at: an42144@anon.penet.fi.
  122.  
  123.         You can also call me at: +31-365367077.
  124.