home *** CD-ROM | disk | FTP | other *** search
- [] = SEE CHANGES AT END OF THE DOC FILE
-
- Validate Express ST-VER. 1.5
- ----------------------------
- Written By Keith Tscherne
- Mega Vision Systems BBS
- (216) 441-3816
- 300/1200/2400 - 120 MEGS
- Cleveland, Ohio
-
- This program is written in Hi-Soft Basic from Michtron.
-
- Included in this ARC:
-
- VALIDATE.DOC -> THIS FILE
- VALIDATE.BAS -> BASIC SOURCE CODE
- [1] VALIDATE.PRG -> COMPILED VERSION OF SAME BASIC SOURCE CODE
- [2] VALIDATE.INF -> NO LONGER USED
- [3] FIELD.DOC -> BREAKDOWN OF THE FIELD VARIABLES
-
- Intro.....
-
- Having recently switched back to Express ST after a year of using
- Forem ST, I found I missed one major feature of Forem. The use of val-
- idation masks for the user editor. In other words, the ability to alter
- a new users record completely with 1 or 2 keys. Therefore I sat down to
- write a program to access the USERLOG.DAT file. I wasn't sure at first
- what this program would do, the biggest battle was reading the file and
- seperating the fields.
-
- My BBS.....
-
- On my BBS I have several different access levels. They are:
-
- NEW USER: First time caller
- NORMAL CALLER: Any Non-Atari Caller
- 45 minutes per day or call
- Access level 10(First 10 flags set)
- ATARI CALLER: Atari Caller under 18
- 60 minutes per day or call
- Access level 15(First 15 flags set)
- ADULT ATARI CALLER: Atari Caller 18+
- 60 minutes per day or call
- Access level 15(First 15 flags set)
- Access to the 4 Adult File Sections.
-
- All users have access to all message bases and file section 1-9 and
- 17-26. But to access these areas it takes the following:
-
- Access Level 10 = Message Bases
- Access Level 15 = File Functions
-
- This is so I don't have to edit the file and message flags for all
- users, just the access flags. The built in User Editor still takes a while
- to edit a user.
-
- After I got the section on reading the Userlog done, I ran the program
- on my userlog to see what the values were. These are my results:
-
- Access Level 10 = 1023 (First 10 flags)
- Access Level 15 = 32767 (First 15 flags)
- Files Sigs 1-9,17-19,21-26 = 66519551 (Normal File Access)
- File Sigs 1-12,17-26 = 67047423 (Adult File Access Also)
-
- Therefore, all I had to do was put these values in the new users record
- that I was validating.
-
- To the program......
-
- When run the program will display a info and warning message. READ IT.
- Next the userlog will be read and searched for any new users. If none
- are found you will be told. If a New User is found it will be displayed on
- your screen. You will then be presented with a menu of choices of what you
- want to do to that user. They are as follows:
-
- 0 - Skip this User(Self Explanatory)
- 1 - Delete this User - It just does it, If you made a mistake you will
- have to load up the old userlog editor to fix it.
- 2 - Make this a normal Non-Atari User
- 3 - Make this a normal under 18 Atari User
- 4 - Make this a normal 18 or over Atari User
- [4] 5 - END PROGRAM
- Any other input works like a skip. After updating the record the program
- will continue searching for new users. The program will also Capitalize both
- the users name and handle.(I prefer them this way)
-
-
-
- REMEMBER!!!!! THIS PROGRAM IS INTENDED AS A HELP FOR ANYONE WANTING TO
- ACCESS THE USERLOG. IT IS SET UP FOR MY BBS ONLY(UNLESS YOURS IS THE SAME)
- I RECOMMEND THAT YOU BACKUP YOUR USERLOG BEFORE RUNNING THIS PROGRAM.
- I HAVE TESTED THIS PROGRAM ON MY BBS WITH NO PROBLEMS, BUT I AM IN NO WAY
- RESPONSIBLE IF SOMETHING GOES WRONG. IF YOU HAVE ANY QUESTIONS OR SUG-
- GESTIONS, CONTACT ME AT MY BBS.
-
-
- (216) 441-3816
-
- ****CHANGES 12/02/89****
-
- [1] ADDED GEM ROUTINES CHANGED FILE FROM VALIDATE.TOS TO
- VALIDATE.PRG
- [2] NO LONGER NEED VALIDATE.INF TO FIND THE USERLOG
- [3] INCLUDED FILE FIELD.DOC TO EXPLAIN THE FIELD VARIABLES
- [4] ADDED EXIT ROUTINE TO THE EDIT OPTIONS
-
- ************************
-
-
-