home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / bbs / valida15 / validate.doc < prev   
Encoding:
Text File  |  1989-12-02  |  4.3 KB  |  110 lines

  1. [] = SEE CHANGES AT END OF THE DOC FILE
  2.  
  3.                         Validate Express ST-VER. 1.5
  4.                         ----------------------------
  5.                          Written By Keith Tscherne
  6.                           Mega Vision Systems BBS
  7.                               (216) 441-3816
  8.                           300/1200/2400 - 120 MEGS
  9.                               Cleveland, Ohio
  10.  
  11.           This program is written in Hi-Soft Basic from Michtron.
  12.  
  13. Included in this ARC:
  14.  
  15.     VALIDATE.DOC -> THIS FILE
  16.     VALIDATE.BAS -> BASIC SOURCE CODE
  17. [1] VALIDATE.PRG -> COMPILED VERSION OF SAME BASIC SOURCE CODE
  18. [2] VALIDATE.INF -> NO LONGER USED
  19. [3] FIELD.DOC    -> BREAKDOWN OF THE FIELD VARIABLES
  20.  
  21. Intro.....
  22.  
  23.      Having recently switched back to Express ST after a year of using
  24. Forem ST, I found I missed one major feature of Forem. The use of val-
  25. idation masks for the user editor. In other words, the ability to alter
  26. a new users record completely with 1 or 2 keys. Therefore I sat down to
  27. write a program to access the USERLOG.DAT file. I wasn't sure at first
  28. what this program would do, the biggest battle was reading the file and
  29. seperating the fields.
  30.  
  31. My BBS.....
  32.  
  33.      On my BBS I have several different access levels. They are:
  34.  
  35.           NEW USER: First time caller
  36.      NORMAL CALLER: Any Non-Atari Caller
  37.                     45 minutes per day or call
  38.                     Access level 10(First 10 flags set)
  39.       ATARI CALLER: Atari Caller under 18
  40.                     60 minutes per day or call
  41.                     Access level 15(First 15 flags set)
  42. ADULT ATARI CALLER: Atari Caller 18+
  43.                     60 minutes per day or call
  44.                     Access level 15(First 15 flags set)
  45.                     Access to the 4 Adult File Sections.
  46.  
  47.      All users have access to all message bases and file section 1-9 and
  48. 17-26. But to access these areas it takes the following:
  49.  
  50.       Access Level 10 = Message Bases
  51.       Access Level 15 = File Functions
  52.  
  53.      This is so I don't have to edit the file and message flags for all
  54. users, just the access flags. The built in User Editor still takes a while
  55. to edit a user.
  56.  
  57.      After I got the section on reading the Userlog done, I ran the program
  58. on my userlog to see what the values were. These are my results:
  59.  
  60.            Access Level 10 = 1023  (First 10 flags)
  61.            Access Level 15 = 32767 (First 15 flags)
  62. Files Sigs 1-9,17-19,21-26 = 66519551 (Normal File Access)
  63.       File Sigs 1-12,17-26 = 67047423 (Adult File Access Also)
  64.  
  65.      Therefore, all I had to do was put these values in the new users record
  66. that I was validating.
  67.  
  68. To the program......
  69.  
  70.      When run the program will display a info and warning message. READ IT.
  71.      Next the userlog will be read and searched for any new users. If none
  72. are found you will be told. If a New User is found it will be displayed on
  73. your screen. You will then be presented with a menu of choices of what you
  74. want to do to that user. They are as follows:
  75.  
  76.      0 - Skip this User(Self Explanatory)
  77.      1 - Delete this User - It just does it, If you made a mistake you will
  78.          have to load up the old userlog editor to fix it.
  79.      2 - Make this a normal Non-Atari User
  80.      3 - Make this a normal under 18 Atari User
  81.      4 - Make this a normal 18 or over Atari User
  82. [4]  5 - END PROGRAM
  83.      Any other input works like a skip. After updating the record the program
  84. will continue searching for new users. The program will also Capitalize both
  85. the users name and handle.(I prefer them this way)
  86.  
  87.  
  88.  
  89. REMEMBER!!!!! THIS PROGRAM IS INTENDED AS A HELP FOR ANYONE WANTING TO
  90. ACCESS THE USERLOG. IT IS SET UP FOR MY BBS ONLY(UNLESS YOURS IS THE SAME)
  91. I RECOMMEND THAT YOU BACKUP YOUR USERLOG BEFORE RUNNING THIS PROGRAM.
  92. I HAVE TESTED THIS PROGRAM ON MY BBS WITH NO PROBLEMS, BUT I AM IN NO WAY
  93. RESPONSIBLE IF SOMETHING GOES WRONG. IF YOU HAVE ANY QUESTIONS OR SUG-
  94. GESTIONS, CONTACT ME AT MY BBS.
  95.  
  96.  
  97. (216) 441-3816
  98.  
  99. ****CHANGES 12/02/89****
  100.  
  101. [1]   ADDED  GEM  ROUTINES  CHANGED  FILE  FROM  VALIDATE.TOS   TO 
  102.       VALIDATE.PRG
  103. [2]   NO LONGER NEED VALIDATE.INF TO FIND THE USERLOG
  104. [3]   INCLUDED FILE FIELD.DOC TO EXPLAIN THE FIELD VARIABLES
  105. [4]   ADDED EXIT ROUTINE TO THE EDIT OPTIONS
  106.  
  107. ************************
  108.  
  109.  
  110.