home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
CEL202R.ZIP
/
CEL202-4.ZIP
/
CMT_380.ZIP
/
USEREDIT.DOC
< prev
Wrap
Text File
|
1994-07-10
|
19KB
|
573 lines
---------------------------------------
Celerity v2.xx User Editor v2.80
Written by: Sicko 07/10/94
---------------------------------------
This heres' a quick user editor I put together.
This Utility can be used with v2.xx of Celerity.
┌───────────────────────────────────────┐
│ License, Warranty and Disclaimer │
└───────────────────────────────────────┘
I'll keep this part short and sweet, and dispense with the legal-ese:
License: You are allowed to use CUE for 30 days, after which you
must either register CUE or stop using it completely. CUE
registration is a license for your use of CUE; I retain
ownership of the software. A single registration applies to a single
SYSOP, regardless of the number of computers used in the
system. If you run two or more distinct BBS systems on the same
computer(s) (with different SYSOP names), you ARE required to have
two or more CUE registrations.
Warranty: There isn't one. The only thing I'll guarantee is that
CUE will take up disk space, and will disappear when deleted.
Disclaimer: I'm not responsible for anything bad that happens. CUE
works here, but I cannot be held responsible for it not working on
your computer or doing any damage to hardware or software.
Use at own risk! I've tested it on my system and have had no problems,
but this doesn't mean you WONT. Use common sense when using utilities
that update a possibly "shared" database. Since this utility does update
your user database, make sure the BBS is "down". I cannot predict what
will happen if you start editing the user base while someone is on your
board. Make a back-up of your user base before using this utltity (duh.)
If these aren't agreeable with you, then the best thing to do is delete CUE
right now. I'll do my best to help any user (registered or not) that wants to
use CUE, and I'll act on bug reports quickly, but I simply cannot and will
not be responsible for anything bad, like lost data, disk crashes, or whatever
else you can think of.
Please review the register.frm file.
Features:
o Windowed display of users
o Full Screen Editor
o Can search for users in many ways. (look at the current menu for the
possible choices)
o Delete Users.
o Validate users.
o What else do ya want?
o Sorting and packing the user base by:
Ascending: Handle, Realname, Area Code and User Id.
Descending: Ditto.
-----
NOTES
-----
You can pass the path to your setup.dat file and a UserId to start editing
with in the command line:
f:> f:\celerity\user.exe f:\node1\setup.dat 2
From EXTERN.DAT
Edit User Online,f:\celerity\utils\user.exe,%S %U
Edit Users,f:\celerity\utils\user.exe,%S
-----------
How to use:
----------
Hit ALT-F1 for HELP!
When at a list box you may search for an item/user/whatever by typing
what you are looking for. THe cursor will be moved to the item that
matches the characters entered.
From The First User Editing Screen:
Alt-F1 : Help
Alt-D : Delete User
Alt-V : Validate User
F2 : Goto Second User Editing Screen.
F3 : Goto Third User Editing Screen.
F4 : Goto forth User Editing Screen.
----------
More Info:
----------
The options to search for a user will allow you to edit all users that
contain the entered search string within their handle. ie if I searched for
"si" or "SI" I would be able to edit Sicko, SIMPLE, Silver DOOD, etc.
(case is irrelavant).
-=-
P.S. I don't professes to be a great "Pascal" programmer nor ever care to
be one, and I have no aestetic abilities whatsoever so this thing
will be ugly till the end of humaity.
-=-
Full Screen User Base Editor Fuctions:
Left-arrow, Ctrl-S : Move left 1 character in a field, previous field.
Right-arrow, Ctrl-D : Move right 1 character in a field, next field.
Ctrl-Left-arrow, Ctrl-A : Move left 1 word, jump to previous field.
Ctrl-Right-arrow, Ctrl-F : Move right 1 word, jump to next field.
HOME, Ctrl-Q/S : Cursor to beginning of field.
END, Ctrl-Q/D : Cursor to end of field.
DEL, Ctrl-G : Delete character at cursor.
Bksp,Ctrl-H,Ctrl-Bksp : Delete character to left of cursor.
Ctrl-Y : Delete entire field.
Ctrl-END,Ctrl-Q/Y : Delete from cursor to end of field.
Ctrl-HOME : Delete from beginning of field to cursor.
Ctrl-T : Delete word to right of cursor.
INS : Toggle insert mode.
Ctrl-R,Ctrl-Q/L : Restore original contents of field.
ENTER,Ctrl-M : Accept contents and move to next field.
Up-arrow, Ctrl-E : Move cursor up 1 field.
Down-arrow, Ctrl-X : Move cursor down 1 field.
TAB, Ctrl-I : Move to next field.
Shift-TAB : Move to previous field.
Ctrl-PgUp,Ctrl-Q/R : Move to first field on screen.
Ctrl-PgDown,Ctrl-Q/C : Move to last field on screen.
PgUp : Edit previous file in list.
PgDown : Edit next file in list.
ESC : Exit.
Ctrl-ENTER,Ctrl-K/D,Ctrl-K/Q : Save & Exit.
-=-
You should consult your Celerity Docs/ and record structures for more
in-depth explanations of some of the fields that can be changed using
this program. Some values are not accepted by Celerity, but I've tried
to prevent as much of this from happening as possible. Experiment.
Remember ratios are what they say 0-100. Don't enter numbers that
are exeptionally large, for Celerity may report these numbers as negative.
If you have any problems/suggestions you can reach me via private e-mail
on Celerity-Net or on any of the "Sysop" Celerity-Net bases or on
-The BoG (312)
-Sicko
-= History =-
4/18/92 = 1.0 & 1.1 (why not?) Added a scroll bar to the main menu.
4/27/92 Added some more options and added alot of the editable user fields
to the main edit screen. Got part of the reverse search logic in
but not fully implemented. (Next release)
4/29/92 Fixed problem the Main & transfer level, both enterable fields
on screen where editing the same field. (whoops)
-5/10/92 Added backwards searching on the Expiration Date Edit option.
-6/2/92 Added backwards searching to all edit functions.
-7/7/92 Added editing of range of user levels.
The backwards searching is a little goofy at the very end of the
user base. The problem is known, just to busy to fix it. <- FIXED.
8/17/92 Version 1.6
I ferget what I added to this one, this is basically a release to
get the status screens to reflect the current version of Celerity.
9/12/92 Version 1.7
Revamped the whole thing. See how ya like it and get back to me.
Byter tells me that v1.42 will change the user message base access,
so until that version comes out I will not touch it.
10/25/92 Version 1.8
Added a bunch of new search options. Modded the look a little.
Added the user note to the list box.
01/10/93 Version 1.9
Added alot of stuff.
Play around with it. There are list boxes for access, sysops flags
and such, then there are also screens that display most of the
information contained in the list boxes. I put it on screens so
people could page through a bunch of users and see the info on the
screen w/o having to change user then highlight the access list
box, etc....
- More to come....
01/11/93 2.0
Converted to the v2.0 user record structure, and added a buttload
of stuff.
To run this from the F5 menu add this to your external.dat file
User Editor,C:\Celerity\user.exe,%S
or if you want to edit the user thats online
Edit Online User,C:\Celerity\User.exe,%S %U
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NOTICE THERE IS NO , inbetween %S & %U
Since Celerity doesn't pass the %U as it is right now I will
fix it whenever it is passed correctly.
Made the search criteria entry fields a little nicer. If you
enter blanks or press ESC on most items it will exit out.
Alt-F1 is the help key.
2/14/93
* You can now delete users by pressing Alt-D when editing the user.
Use that user base packer (when its updated for 2.0 that is)
Move the fax and data numbers to the first editing screen.
The scroll-box is now updated when you change information, ie:
handle, levels, usernote.
Added searching by sysop/xfer/user flags.
Fixed the UserId on screens 2 & 3 to display the correct number.
Added a status bar at the bottom indicating the number of users
that match search criteria.
2/15/93
Fixed a bug where it was not saving both digits of the users
colors.
* Added quick-validate option. Hit Alt-V from the first edit user
screen. If the setup.dat file was not found you are not allowed
to validate anyone. The path to setup.dat is passed via the
command line, so you may want to write a batch job with one line
in it, similar to:
c:\celerity\util\user.exe c:\node1\
This will run the editor and pass the path to the setup.dat file.
Still waiting for the info-forms to be completed so I can add
info-form viewing to the user editor.
When SETUP.EXE is updated with all the new 2.0 info, I will
rewrite the quick validate to grab all necessary fields.
2/21/93
Since this utility will be run from inside Celerity I am reducing
any unnecessary code and functionality. When this utility is
run from inside Celerity the following steps are taken:
1. Celerity must write-out the current users recrod.
2. Celerity must shell to dos.
3. Celerity must run this util
4. This util will read the setup.dat file
5. You do your thing.
6. The program exits
7. Celerity is reloaded into memory.
This is not a fast process. If you have the memory for it I suggest
putting user.exe into a ram drive.
Reduced redudant code.
3/29/93
Added searching to list boxes.
Cleaned-up some stuff.
4/24/93
Updated the User records.
5/3/93
Incorporated sorting of the user base. I don't know if Byter
has finished the changes to the way he handles users accounts yet.
Check with Byter before sorting your user base.
Don't use this, cause Celerity still uses the position in the
userfile of the user for certain functions, ie notes to users
when they login and other places.
*************************************************************************
Backup your userbase and use that file to learn how to use this utility
*************************************************************************
7/1/93
Whelps, there seems to have been a bug that caused the editor to crash
if you called it from Celerity 2.0's external utilities menu. No one
told me so I never fixed it until now.
7/3/93
It still looks like Byter is passing a 0 for the %U parameter from the
external celerity menu. hmmmmm
Byter pointed out that you could not jump from the 3rd editing screen to
the second and back and forth. You can now jump to any editing screen from
any other editing screen.
7/5/93
I surprised no one caught this one. When editing user flags, it would
flip the wrong ones after the 13th or so. Fixed this.
7/8/93
There were two transfer area sysop flags, actually one was flipping the
now unused special access flag. Fixed that.
Someone discovered that if you deleted a user it put all HIGH values and
made it look like the user and user file was screwed. The record is garbage
true, but the file is fine. I fixed it so that it now moves LOW values
to the user record when you delete it.
Sorting now does not change records #0 or #1, both are required to be
kept in the same location for Celerity to operate.
A person reported that he sorted his user base and got all these blanks
at the top of the user file, OF COURSE YOU WILL! Those are dead users,
and blanks will be moved to the top.
Got rid of the blinking cursor when viewing help screens.
Byter suggested that I add numbers to the F3 screen for easier editing,
done.
Added the F4 screen to display all the sysop/user flags in one screen.
7/23/93
Added a packing routine to the sorting. If it finds a record with userid
of ZERO and a blank handle it will move that record to the bottom of
the userbase and when its done sorting will delete all blank records.
Added a position variable to the user editing screen. I now allow you
to edit the userid.
8/1/93
Added renumber the user file by record number.
Added a a writeln to display the number of users found matching search
criteria.
Changed filename from user.exe to edituser.exe
8/10/93
Changed the way I process the command line to handle all the possible
combinations that people have presented me with in the last 2 weeks.
You guys don't read docs do ya?
Phase 1 of the screen modifications. Screen #4, F4, has been updated
to include Sysop Flags ?? - 32.
I just noticed that the user record has changed. Not sure how long its
been that way. I don't think it will cause any problems, unless you
were using some of the now "dummy" variables for something.
Spent a few hours or so redrawing screens, you won't notice any difference.
9/12/93
Worked (a long time) on making this thing more portable.
9/13/93
Spent more time tonight making my life a little easier and who ever
inherit's this code life miserable. Integrating the usereditor totally
into the filebase editor. And thus making changes to either side
virutally interchangable.
9/19/93
From the F4 edit user screen, it would not save the sysop flags. Fixed
10/3/93
Worked on making the userunit more compact and readable. Its now ready
to be used in the overlay of filebase
10/6/93
I was flipping the bits for the sysop flags on the F4 Screen.
10/17/93
Ooooo, many updates and fixes. I can't remember them all.
11/11/93
Damn, were the access, transfer, and sysop flag handling messed-up.
No one even told me about this.
11/18/93
Byter said I was setting the sysop flags wrong, they only place I saw
that this was happening was in the F10 listbox of sysop flags.
Everything else looks good. I've been give 3 different descriptions for
the sysop flags in the last 2 days. I'm just going to leave it the
way it is.
11/20/93
Continuing to gear-up towards the first REAL release in about a year.
(Was waiting for Celerity 2.0 to comeout, hahahhahah )
12/5/93
Hopefully fixed the handling of sysop flags (as long as Byter doesn't
change them again.)
12/26/93
OOoopPPPpsss. I noticed that I was using a wrong user record structure
when I noticed my users getting random(kinda) sysop flags. I was mis-
reading a field that was then getting set and mis-interpretted by
Celerity as a sysop flag. (This only popped-up cause I was using
Celerity's User Custodian and I noticed users had some sysop flags that
useredit and CMT didn't tell me about)
Surprised no-one said anything. Too scared? hahaaha. oK Whelps heres
the fix.
Started to code a routine(s) that will allow you to have a user-overlay
that will be assigned to each user matching a search critiera. Kinda like
what RESET.EXE should really do. You enter the search criteria, (just like
celerity's access string) and all users that match will have whatever
user-file parameters changed.
1/8/93
The ever polite Silver Surfer pointed out that if you were editing the
last user in the userbase that you couldn't do too much. Whelps, fixed.
Readded the Transfer Level field.
2.20+
1/23/94
Increased the field lengths for Bytes up/down, totl files up/down, post
and the lower right hand side of the first edit screen.
It was not looking for the KEY in the correct directory. Fixed.
1/29/94??
Huh? What happened? Does anyone read this? If so, post a message on
Terripan that you read this and actually have a pulse.
1/6/94
Releaseed 2.40 (oops) also fucked up a bunch of the protection. Looks like
a 2.5 is due out soon.
2/20/94
Looks like TP 7.0 doesn't like dates before 1979. It adds 128 to the year
and saves it, if the year is 1979 or earlier. I did a quick fix, just
subtract 128 if the year is greater than 2000. Now then, this will fuck
things up at the year 2000.
3/5/94
Added Viewing of user infoforms quickly. The error messages are crude,
but it gets the job done. Press Alt-F1 For help on how to do it.
3/14/94
Added the scan conference toggle to screen #4
3/22/94
Added the ansi/celerity color code view unit to viewing infoforms. Its
alot faster now
4/2/94
The area access flags were useless in screen #3. They should have been
replaced by User Access flags about a year ago. I didn't even notice
they were still area acess flags till I went to set-up special security
on some bases. good testing guys.
Viewing a user's note file was putting double lines out.
2.6
4/4/94
Been working on the ansi/cel stuff
4/17/94
Been doing a bunch of minor shit to this to reduce it in size and increase
the speed, both stand alone and in CMT.
2.7
4/26/94
Wow. Since v0.0 the month uploads/download info has been totaly wrong.
My user file grew to 34 megs, 38512 users, and when I tried to run
totlpack, it puked, so I added a packer to this.
It did again after I installed the 2.02a4, it jumped to 234235 users.
5/11/94
Added sending email and notes to user from the edit user screen. This is
untested. Hopefully I can get some time to test it before I release it.
The Ansi/celerity stuff has been totaly redone.
2.8
Can't recall.